nixos/machines/serverle/configuration.nix

29 lines
524 B
Nix
Raw Normal View History

{ config, ... }:
{
imports = [
./hardware-configuration.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
];
disko.devices = import ./disko-config.nix {
disks = [ "/dev/disk/by-id/usb-Seagate_Expansion_2HC015KJ-0:0" ];
};
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
};
system = {
2023-06-01 00:09:26 +02:00
stateVersion = "23.05";
autoUpgrade.enable = true;
};
}