nixfiles/hosts/vault/vault.nix

26 lines
507 B
Nix
Raw Normal View History

2022-12-04 16:10:00 +00:00
{tree, ...}: {
2023-09-18 03:56:58 +01:00
imports = with tree;
[
presets.nixos.serverBase
presets.nixos.serverHetzner
presets.nixos.serverEncryptedDrive
2022-11-02 10:24:47 +00:00
2023-09-18 03:56:58 +01:00
profiles.nginx
profiles.firewallAllow.httpCommon
profiles.chaosInternalWireGuard
2022-11-02 10:24:47 +00:00
2023-09-18 03:56:58 +01:00
./secrets.nix
2023-09-20 15:46:20 +01:00
./hardware.nix
2023-09-18 03:56:58 +01:00
]
++ (with hosts.vault.profiles; [
vault
vaultUI
2023-09-18 03:56:58 +01:00
restic
]);
2022-11-02 10:24:47 +00:00
2023-09-20 17:00:20 +01:00
networking.hostName = "vault";
2022-11-02 10:24:47 +00:00
2023-09-18 03:56:58 +01:00
home-manager.users.root.home.stateVersion = "23.05";
system.stateVersion = "23.05";
2022-11-02 10:24:47 +00:00
}