This commit is contained in:
steveej 2024-01-18 21:06:45 +00:00
parent 26f0bde4b3
commit a825e8eea9
12 changed files with 346 additions and 34 deletions

View file

@ -0,0 +1,29 @@
{
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
];
}