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
|
2023-09-21 05:06:27 +01:00
|
|
|
vaultUI
|
2023-09-18 03:56:58 +01:00
|
|
|
restic
|
2023-10-07 10:57:15 +01:00
|
|
|
internalCA
|
2023-09-18 03:56:58 +01:00
|
|
|
]);
|
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";
|
2023-09-11 23:22:18 +01:00
|
|
|
system.stateVersion = "23.05";
|
2022-11-02 10:24:47 +00:00
|
|
|
}
|