infra/nix/os/devices/sj-srv1/configuration.nix

32 lines
557 B
Nix
Raw Normal View History

2024-02-08 20:53:22 +01:00
{
nodeName,
config,
pkgs,
...
2024-11-15 10:17:56 +01:00
}:
{
disabledModules = [ ];
2024-01-18 21:06:45 +00:00
imports = [
../../profiles/common/configuration.nix
{
users.commonUsers = {
enable = true;
enableNonRoot = true;
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
];
}