sj-srv1: init with restic backup

This commit is contained in:
steveej 2024-01-18 21:06:45 +00:00
parent 26f0bde4b3
commit 2c84e79f4a
12 changed files with 380 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
];
}