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": {
"flake": false,
"locked": {
"lastModified": 1720716326,
"narHash": "sha256-wflXa3lhKVZKf1BIZICaAohJEF0qbNgehEVgTLnbmO8=",
"lastModified": 1720807769,
"narHash": "sha256-bpP9fZ+OkeUI02YPtQG4G9SMG791oXZbKM6xFjHD8MQ=",
"ref": "refs/heads/main",
"rev": "e63567dbb3da53348fe83993d9f8a48d9dff2629",
"revCount": 52,
"rev": "673b60b1a7e8a86114c9550cb38724cc675cf8f2",
"revCount": 53,
"type": "git",
"url": "file:./nix-secrets"
},

View file

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