1
0
Fork 0

Modules: set Jellyfin's group to media

This commit is contained in:
Aires 2024-07-12 15:14:29 -04:00
parent 2f89ddd51b
commit 5fe661b025
2 changed files with 5 additions and 5 deletions

View file

@ -233,11 +233,11 @@
"nix-secrets": { "nix-secrets": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1720716326, "lastModified": 1720807769,
"narHash": "sha256-wflXa3lhKVZKf1BIZICaAohJEF0qbNgehEVgTLnbmO8=", "narHash": "sha256-bpP9fZ+OkeUI02YPtQG4G9SMG791oXZbKM6xFjHD8MQ=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "e63567dbb3da53348fe83993d9f8a48d9dff2629", "rev": "673b60b1a7e8a86114c9550cb38724cc675cf8f2",
"revCount": 52, "revCount": 53,
"type": "git", "type": "git",
"url": "file:./nix-secrets" "url": "file:./nix-secrets"
}, },

View file

@ -34,7 +34,6 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
aux.system.users.media.enable = true; aux.system.users.media.enable = true;
users.users.jellyfin.extraGroups = [ "media" ];
services = { services = {
nginx.virtualHosts."${cfg.url}" = { nginx.virtualHosts."${cfg.url}" = {
@ -83,6 +82,7 @@ in
jellyfin = { jellyfin = {
enable = true; enable = true;
dataDir = lib.mkIf (cfg.home != "") cfg.home; dataDir = lib.mkIf (cfg.home != "") cfg.home;
group = "media";
}; };
}; };