switched to flakes and built out modularity
This commit is contained in:
12
modules/services/jellyfin.nix
Normal file
12
modules/services/jellyfin.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.control.jellyfin;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.jellyfin.enable = true;
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 8096 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user