Create media group

This commit is contained in:
Jan Kremer 2026-03-10 11:26:52 +01:00
parent af6d9e66d2
commit e0dd664883
No known key found for this signature in database
6 changed files with 15 additions and 9 deletions

View file

@ -41,12 +41,16 @@
}; };
}; };
## Create media group
users.groups.media = { };
users.users.jan = { users.users.jan = {
isNormalUser = true; isNormalUser = true;
description = "Jan Kremer"; description = "Jan Kremer";
extraGroups = [ extraGroups = [
"networkmanager" "networkmanager"
"wheel" "wheel"
"media"
]; ];
}; };

View file

@ -51,4 +51,6 @@
}; };
}; };
}; };
users.users.copyparty.extraGroups = [ "media" ];
} }

View file

@ -1,10 +1,10 @@
{ {
services = { services.immich = {
immich = { enable = true;
enable = true; # port = 2283;
# port = 2283; accelerationDevices = [ "/dev/dri/renderD128" ];
accelerationDevices = [ "/dev/dri/renderD128" ]; mediaLocation = "/mnt/photos";
mediaLocation = "/mnt/photos";
};
}; };
users.users.immich.extraGroups = [ "media" ];
} }

View file

@ -6,6 +6,7 @@
pkgs.jellyfin-web pkgs.jellyfin-web
pkgs.jellyfin-ffmpeg pkgs.jellyfin-ffmpeg
]; ];
users.users.jellyfin.extraGroups = [ "media" ];
## Grab EPG data daily ## Grab EPG data daily
virtualisation.oci-containers = { virtualisation.oci-containers = {

View file

@ -14,4 +14,5 @@
PAPERLESS_OCR_LANGUAGE = "deu+eng"; PAPERLESS_OCR_LANGUAGE = "deu+eng";
}; };
}; };
users.users.paperless.extraGroups = [ "media" ];
} }

View file

@ -39,6 +39,4 @@
publish.enable = true; publish.enable = true;
publish.userServices = true; publish.userServices = true;
}; };
users.users.jan.extraGroups = [ "samba" ];
} }