2021-12-28 16:19:29 +01:00
|
|
|
{ lib, config, pkgs, ... }: {
|
|
|
|
imports = [
|
|
|
|
|
|
|
|
../../system/all/defaults.nix
|
|
|
|
../../system/all/tinc.nix
|
2021-12-30 01:35:19 +01:00
|
|
|
../../system/server/netdata.nix
|
2021-12-28 16:19:29 +01:00
|
|
|
|
|
|
|
./hetzner.nix
|
|
|
|
|
|
|
|
|
|
|
|
./packages.nix
|
|
|
|
./tinc.nix
|
2021-12-28 19:48:14 +01:00
|
|
|
./syncthing.nix
|
2021-12-29 19:46:20 +01:00
|
|
|
./taskserver.nix
|
|
|
|
./transmission.nix
|
2021-12-31 19:15:48 +01:00
|
|
|
./nextcloud.nix
|
|
|
|
|
|
|
|
# todo
|
|
|
|
./gitlab.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
|
|
|
|
#./borg.nix
|
|
|
|
#./finance.nix
|
|
|
|
#./grafana.nix
|
|
|
|
#./graylog.nix
|
|
|
|
#./jenkins.nix
|
|
|
|
#./kibana.nix
|
|
|
|
#./mysql.nix
|
|
|
|
#./prometheus.nix
|
|
|
|
#./weechat.nix
|
|
|
|
#./property.nix # flask sucks, find something else
|
|
|
|
|
|
|
|
];
|
|
|
|
|
2021-12-31 19:15:48 +01:00
|
|
|
services.sshguard.enable = true;
|
|
|
|
|
2021-12-29 19:46:20 +01:00
|
|
|
# Shell configuration
|
|
|
|
# -------------------
|
|
|
|
programs.custom = {
|
|
|
|
bash.enable = true;
|
|
|
|
zsh.enable = true;
|
|
|
|
};
|
|
|
|
|
2021-12-28 16:19:29 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|