nixos/machines/serverle/configuration.nix
2023-09-07 00:00:34 +02:00

28 lines
524 B
Nix

{ config, ... }:
{
imports = [
./hardware-configuration.nix
./network.nix
./services.nix
./syncthing.nix
./system.nix
./wifi.nix
];
disko.devices = import ./disko-config.nix {
disks = [ "/dev/disk/by-id/usb-Seagate_Expansion_2HC015KJ-0:0" ];
};
networking.hostName = "serverle";
sops = {
defaultSopsFile = ./secrets.yaml;
# disable gpg and thereby enable age
gnupg.sshKeyPaths = [ ];
};
system = {
stateVersion = "23.05";
autoUpgrade.enable = true;
};
}