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

30 lines
555 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
...
}: {
2023-03-21 13:38:22 +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
];
}