nixfiles/hosts/vault/vault.nix

38 lines
619 B
Nix

{
modulesPath,
tree,
config,
pkgs,
lib,
...
}: let
secrets = config.services.secrets.secrets;
in {
imports = with tree; [
users.root
profiles.base
profiles.sshd
profiles.nix-gc
profiles.nginx
hosts.vault.profiles.wireguard
hosts.vault.profiles.vault
hosts.vault.profiles.restic
./hardware.nix
./networking.nix
./secrets.nix
];
home-manager.users.root = {
imports = with tree; [home.base home.dev.small];
home.stateVersion = "22.05";
};
networking.hostName = "vault";
time.timeZone = "Europe/London";
system.stateVersion = "22.05";
}