nixos/machines/serverle/configuration.nix

32 lines
524 B
Nix
Raw Normal View History

{ config, ... }:
{
imports = [
./hardware-configuration.nix
./disks.nix
./dyndns.nix
./network.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
];
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
};
# Nix
nix.gc = {
automatic = true;
options = "--delete-older-than 30d";
};
system = {
2022-12-25 12:17:43 +01:00
stateVersion = "22.11";
autoUpgrade.enable = true;
};
}