nixos/machines/thinkman/configuration.nix
2023-11-07 22:49:32 +01:00

28 lines
521 B
Nix

{ ... }:
{
imports = [
./boot.nix
./disko-config.nix
./hardware-configuration.nix
./network.nix
./profiles.nix
./services.nix
./system.nix
];
networking.hostName = "thinkman";
sops = {
defaultSopsFile = ./secrets.yaml;
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
gnupg.sshKeyPaths = [ ];
};
# needed for cross-compilation
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
system = {
stateVersion = "22.11";
autoUpgrade.enable = true;
};
}