move archives user
This commit is contained in:
@@ -16,11 +16,11 @@
|
|||||||
./perms
|
./perms
|
||||||
];
|
];
|
||||||
|
|
||||||
# define the groups used for backups and archives
|
# # define the groups used for backups and archives
|
||||||
users.users.archives = {
|
# users.users.archives = {
|
||||||
isSystemUser = true;
|
# isSystemUser = true;
|
||||||
group = "archives";
|
# group = "archives";
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
users.groups.archives = {gid = 727;};
|
# users.groups.archives = {gid = 727;};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
cfg = config.homelab;
|
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
|
# the order determines the order in glance :3
|
||||||
imports = [
|
imports = [
|
||||||
#./ai
|
#./ai
|
||||||
@@ -47,4 +40,14 @@ in {
|
|||||||
#./nomad
|
#./nomad
|
||||||
./network
|
./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;};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user