infra/nix/os/devices/sj-vps-htz0/configuration.nix

31 lines
556 B
Nix
Raw Normal View History

2023-08-11 18:49:31 +02:00
{
nodeName,
config,
pkgs,
2023-08-11 18:49:31 +02:00
...
2024-11-15 10:17:56 +01:00
}:
{
disabledModules = [ ];
imports = [
../../profiles/common/configuration.nix
2023-08-11 18:49:31 +02:00
{
users.commonUsers = {
enable = true;
enableNonRoot = true;
2023-08-11 18:49:31 +02:00
rootPasswordFile = config.sops.secrets.passwords-root.path;
};
sops.secrets.passwords-root = {
sopsFile = ../../../../secrets/${nodeName}/secrets.yaml;
neededForUsers = true;
format = "yaml";
};
}
../../modules/opinionatedDisk.nix
./system.nix
./hw.nix
./boot.nix
];
}