blob: a633997fb82b2816a4a0d53ebb3da8a8aca006ca (
plain) (
tree)
|
|
{
adminUser,
lib,
config,
...
}:
{
imports = [
../profiles/cgroups.nix
../profiles/core-metrics.nix
../profiles/defaults.nix
../profiles/disk/basic-vm.nix
../profiles/hardware/synology-vm.nix
../profiles/home-manager.nix
../profiles/server.nix
../profiles/users/admin-user.nix
../profiles/users/home-manager.nix
../profiles/wireguard.nix
];
networking.hostName = "bree";
networking.useDHCP = lib.mkDefault true;
systemd.network.wait-online.anyInterface = lib.mkDefault config.networking.useDHCP;
age.secrets.disk-unlock-key.file = ../secrets/bree/disk-unlock-key.age;
age.secrets.disk-passphrase.file = ../secrets/bree/disk-passphrase.age;
services.remoteDiskUnlock = {
enable = true;
hosts = [
"192.168.1.114"
];
sshKeyPath = config.age.secrets.disk-unlock-key.path;
passphrasePath = config.age.secrets.disk-passphrase.path;
};
system.stateVersion = "23.11"; # Did you read the comment?
home-manager.users.${adminUser.name} = {
imports = [
../home/profiles/minimal.nix
];
};
}
|