30 lines
555 B
Nix
30 lines
555 B
Nix
|
{
|
||
|
nodeName,
|
||
|
config,
|
||
|
pkgs,
|
||
|
...
|
||
|
}: {
|
||
|
disabledModules = [];
|
||
|
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
|
||
|
];
|
||
|
}
|