nixos/machines/thinkman/configuration.nix

29 lines
540 B
Nix
Raw Normal View History

2022-12-05 20:32:39 +01:00
{ config, pkgs, lib, ... }:
{
imports = [
2023-03-19 13:42:14 +01:00
./boot.nix
2022-12-05 20:32:39 +01:00
./hardware-configuration.nix
2023-03-19 15:17:16 +01:00
./network.nix
./profiles.nix
2023-03-19 15:17:16 +01:00
./services.nix
2022-12-05 22:53:04 +01:00
./system.nix
./disko-config.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 = {
2022-12-25 12:17:43 +01:00
stateVersion = "22.11";
2022-12-05 20:32:39 +01:00
autoUpgrade.enable = true;
};
}