Create jellyfin.nix
This commit is contained in:
parent
25891d4b9b
commit
fe6f4c01cd
1 changed files with 13 additions and 0 deletions
13
services/jellyfin.nix
Normal file
13
services/jellyfin.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#jellyfin.nix
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
|
||||
# Jellyfin
|
||||
services.jellyfin = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
users.users.jellyfin.extraGroups = [ "media" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue