adjust perms for copyparty

This commit is contained in:
2025-10-14 20:45:55 -05:00
parent 9c4f5716a2
commit 1782467549
3 changed files with 3 additions and 3 deletions

View File

@@ -44,6 +44,7 @@ in {
};
config = lib.mkIf cfg.enable {
nixpkgs.overlays = [inputs.copyparty.overlays.default];
# declare ${service} group
users.groups.${service} = {
gid = lib.mkForce cfg.ids;
@@ -57,7 +58,7 @@ in {
home = cfg.data_dir;
createHome = true;
group = service;
extraGroups = [];
extraGroups = [ "media" "blake" ];
};
# enable the ${service} service

View File

@@ -13,5 +13,4 @@
./copyparty
];
nixpkgs.overlays = [inputs.copyparty.overlays.default];
}

View File

@@ -148,7 +148,7 @@ in
};
# install borg binary
environment.systemPackages = with pkgs; [ borgbackup ];
environment.systemPackages = with pkgs; [ borgbackup tree ];
# declare secret for repo password
sops.secrets = {