nixos/machines/serverle/configuration.nix
2023-03-15 22:34:36 +01:00

34 lines
658 B
Nix

{ config, ... }:
{
imports = [
./hardware-configuration.nix
./disks.nix
./dyndns.nix
./network.nix
./services.nix
./syncthing.nix
./system.nix
./wifi.nix
../../legacy/modules/webapps/bazarr.nix
../../legacy/modules/webapps/prowlarr.nix
../../legacy/modules/webapps/radarr.nix
];
networking.hostName = "serverle";
sops = {
defaultSopsFile = ./secrets.yaml;
# disable gpg and thereby enable age
gnupg.sshKeyPaths = [ ];
};
# Nix
nix.gc = {
automatic = true;
options = "--delete-older-than 30d";
};
system = {
stateVersion = "22.11";
autoUpgrade.enable = true;
};
}