2021-12-28 16:19:29 +01:00
|
|
|
{ lib, config, pkgs, ... }: {
|
|
|
|
imports = [
|
|
|
|
|
|
|
|
../../system/all/defaults.nix
|
|
|
|
../../system/all/tinc.nix
|
|
|
|
|
|
|
|
./hetzner.nix
|
|
|
|
|
|
|
|
#./nextcloud.nix
|
|
|
|
|
|
|
|
./packages.nix
|
|
|
|
./tinc.nix
|
2021-12-28 19:48:14 +01:00
|
|
|
./syncthing.nix
|
2021-12-28 16:19:29 +01:00
|
|
|
|
|
|
|
#../../system/server
|
2021-12-28 19:48:14 +01:00
|
|
|
|
2021-12-28 16:19:29 +01:00
|
|
|
#./hardware-configuration.nix
|
|
|
|
#./mail-fetcher.nix
|
|
|
|
#./transmission.nix
|
|
|
|
#./borg.nix
|
|
|
|
#./finance.nix
|
|
|
|
#./gogs.nix
|
|
|
|
#./grafana.nix
|
|
|
|
#./graylog.nix
|
|
|
|
#./jenkins.nix
|
|
|
|
#./kibana.nix
|
|
|
|
#./mysql.nix
|
|
|
|
#./prometheus.nix
|
|
|
|
#./taskserver.nix
|
|
|
|
#./weechat.nix
|
|
|
|
#./property.nix # flask sucks, find something else
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
security.acme = {
|
|
|
|
acceptTerms = true;
|
|
|
|
email = "contact@ingolf-wagner.de";
|
|
|
|
};
|
|
|
|
|
|
|
|
sops.defaultSopsFile = ../../secrets/robi.yaml;
|
|
|
|
virtualisation.docker.enable = false;
|
|
|
|
services.printing.enable = false;
|
|
|
|
services.smartd.enable = true;
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/var/lib/nextcloud" =
|
|
|
|
{
|
|
|
|
device = "/dev/vg/nextcloud";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
2021-12-28 19:48:14 +01:00
|
|
|
fileSystems."/media" =
|
|
|
|
{
|
|
|
|
device = "/dev/vg/media";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
2021-12-28 16:19:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|