30 lines
549 B
Nix
30 lines
549 B
Nix
{tree, ...}: {
|
|
imports = with tree; [
|
|
users.root
|
|
|
|
profiles.base
|
|
profiles.sshd
|
|
profiles.nix-gc
|
|
profiles.nginx
|
|
profiles.kernels.latest
|
|
|
|
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 = "23.05";
|
|
};
|
|
|
|
networking.hostName = "vault";
|
|
time.timeZone = "Europe/London";
|
|
|
|
system.stateVersion = "23.05";
|
|
}
|