27 lines
397 B
Nix
27 lines
397 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}: {
|
|
# services show up in glance in reverse import order lmao
|
|
imports = [
|
|
./nfs
|
|
./smb
|
|
./zfs
|
|
./syncthing
|
|
./offsite
|
|
# ./copyparty
|
|
./perms
|
|
];
|
|
|
|
# define the groups used for backups and archives
|
|
users.users.archives = {
|
|
isSystemUser = true;
|
|
group = "archives";
|
|
};
|
|
|
|
users.groups.archives = {gid = 727;};
|
|
}
|