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-08-09 20:53:22 +01:00
|
|
|
profiles.kernels.latest
|
2022-11-02 10:24:47 +00:00
|
|
|
|
2022-12-04 13:45:43 +00:00
|
|
|
hosts.vault.profiles.wireguard
|
|
|
|
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
|
|
|
}
|