nixos/machines/serverle/configuration.nix
2023-06-04 17:17:35 +02:00

30 lines
507 B
Nix

{ config, ... }:
{
imports = [
./hardware-configuration.nix
./disks.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 = "23.05";
autoUpgrade.enable = true;
};
}