nixos/machines/workman/configuration.nix

30 lines
543 B
Nix
Raw Permalink Normal View History

2025-05-04 20:20:28 +02:00
{ ... }:
{
imports = [
./boot.nix
./disko-config.nix
./hardware-configuration.nix
./network.nix
./profiles.nix
./remote-build.nix
./services.nix
./system.nix
];
networking.hostName = "workman";
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 = "24.11";
autoUpgrade.enable = true;
};
}