diff --git a/modules/fileshares/holocron/default.nix b/modules/fileshares/holocron/default.nix index 4055d22..b2ded02 100644 --- a/modules/fileshares/holocron/default.nix +++ b/modules/fileshares/holocron/default.nix @@ -15,4 +15,12 @@ # ./copyparty ./perms ]; + + # define the groups used for backups and archives + users.users.archives = { + isSystemUser = true; + group = "archives"; + }; + + users.groups.archives = {gid = 727;}; } diff --git a/modules/homelab/default.nix b/modules/homelab/default.nix index 3185432..ecf9483 100644 --- a/modules/homelab/default.nix +++ b/modules/homelab/default.nix @@ -30,6 +30,14 @@ 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 @@ -39,11 +47,4 @@ in { #./nomad ./network ]; - # define the groups used for backups and archives - users.users.archives = { - isSystemUser = true; - group = "archives"; - }; - - users.groups.archives = {gid = 727;}; }