2022-12-04 16:10:00 +00:00
|
|
|
{tree, ...}: {
|
2022-11-02 10:24:47 +00:00
|
|
|
imports = with tree; [
|
|
|
|
users.root
|
|
|
|
|
|
|
|
profiles.base
|
|
|
|
profiles.sshd
|
|
|
|
profiles.nix-gc
|
|
|
|
profiles.nginx
|
2023-09-14 19:44:27 +01:00
|
|
|
profiles.nginx-firewall
|
2023-09-16 16:06:16 +01:00
|
|
|
profiles.chaos-internal-wireguard
|
2022-11-02 10:24:47 +00:00
|
|
|
|
2022-12-04 13:45:43 +00:00
|
|
|
hosts.vault.profiles.vault
|
|
|
|
hosts.vault.profiles.restic
|
2022-11-11 20:53:17 +00:00
|
|
|
|
2022-11-02 10:24:47 +00:00
|
|
|
./hardware.nix
|
|
|
|
./networking.nix
|
|
|
|
./secrets.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
home-manager.users.root = {
|
2022-12-04 13:45:43 +00:00
|
|
|
imports = with tree; [home.base home.dev.small];
|
2023-09-11 23:22:18 +01:00
|
|
|
home.stateVersion = "23.05";
|
2022-11-02 10:24:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
networking.hostName = "vault";
|
|
|
|
time.timeZone = "Europe/London";
|
|
|
|
|
2023-09-11 23:22:18 +01:00
|
|
|
system.stateVersion = "23.05";
|
2022-11-02 10:24:47 +00:00
|
|
|
}
|