nixos/machines/thinkman/configuration.nix

30 lines
544 B
Nix
Raw Normal View History

2023-11-07 22:00:00 +01:00
{ ... }:
2022-12-05 20:32:39 +01:00
{
imports = [
2023-03-19 13:42:14 +01:00
./boot.nix
2023-11-04 13:05:05 +01:00
./disko-config.nix
2022-12-05 20:32:39 +01:00
./hardware-configuration.nix
2023-03-19 15:17:16 +01:00
./network.nix
./profiles.nix
./remote-build.nix
2023-03-19 15:17:16 +01:00
./services.nix
2022-12-05 22:53:04 +01:00
./system.nix
2022-12-05 20:32:39 +01:00
];
networking.hostName = "thinkman";
sops = {
defaultSopsFile = ./secrets.yaml;
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
gnupg.sshKeyPaths = [ ];
};
2023-03-19 13:43:00 +01:00
# needed for cross-compilation
2022-12-05 20:32:39 +01:00
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
system = {
2024-06-01 18:42:58 +02:00
stateVersion = "24.05";
2022-12-05 20:32:39 +01:00
autoUpgrade.enable = true;
};
}