move archives user

This commit is contained in:
2026-08-23 09:01:09 -05:00
parent 583c997a62
commit 288724e86c
2 changed files with 18 additions and 15 deletions
+7 -7
View File
@@ -16,11 +16,11 @@
./perms
];
# define the groups used for backups and archives
users.users.archives = {
isSystemUser = true;
group = "archives";
};
users.groups.archives = {gid = 727;};
# # define the groups used for backups and archives
# users.users.archives = {
# isSystemUser = true;
# group = "archives";
# };
#
# users.groups.archives = {gid = 727;};
}
+11 -8
View File
@@ -2,6 +2,7 @@
pkgs,
config,
lib,
inputs,
...
}: let
cfg = config.homelab;
@@ -30,14 +31,6 @@ in {
};
};
# define the groups used for backups and archives
users.users.archives = {
isSystemUser = true;
group = "archives";
};
users.groups.archives = {gid = 727;};
# the order determines the order in glance :3
imports = [
#./ai
@@ -47,4 +40,14 @@ in {
#./nomad
./network
];
config = lib.mkIf cfg.enable {
# define the groups used for backups and archives
users.users.archives = {
isSystemUser = true;
group = "archives";
};
users.groups.archives = {gid = 727;};
};
}