nixos/machines/serverle/configuration.nix

39 lines
748 B
Nix
Raw Normal View History

{ config, ... }:
{
imports = [
./hardware-configuration.nix
./disks.nix
./dyndns.nix
2022-12-03 11:59:28 +01:00
./services.nix
./syncthing.nix
2022-12-05 22:51:46 +01:00
./system.nix
2022-12-03 11:59:28 +01:00
./wifi.nix
2022-12-05 20:32:39 +01:00
../../legacy/modules/webapps/bazarr.nix
../../legacy/modules/webapps/prowlarr.nix
../../legacy/modules/webapps/radarr.nix
../../legacy/modules/webapps/sonarr.nix
];
networking.hostName = "serverle";
2022-06-27 22:43:06 +02:00
sops = {
defaultSopsFile = ./secrets.yaml;
2022-12-03 11:59:28 +01:00
# disable gpg and thereby enable age
gnupg.sshKeyPaths = [ ];
2022-06-27 22:43:06 +02:00
};
networking.firewall.allowedTCPPorts = [
8080 # aria
];
# Nix
nix.gc = {
automatic = true;
options = "--delete-older-than 30d";
};
system = {
2022-06-03 23:39:14 +02:00
stateVersion = "22.05";
autoUpgrade.enable = true;
};
}