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

31 lines
524 B
Nix

{ config, ... }:
{
imports = [
./hardware-configuration.nix
./disks.nix
./dyndns.nix
./network.nix
./services.nix
./syncthing.nix
./system.nix
./wifi.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;
};
}