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

26 lines
542 B
Nix
Raw Normal View History

2024-11-15 10:17:56 +01:00
{ nodeName, config, ... }:
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
];
}