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
|
2023-01-22 17:23:20 +01:00
|
|
|
./profiles.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 = {
|
2023-11-14 20:59:12 +01:00
|
|
|
stateVersion = "23.11";
|
2022-12-05 20:32:39 +01:00
|
|
|
autoUpgrade.enable = true;
|
|
|
|
};
|
|
|
|
}
|