updates...

This commit is contained in:
zack 2024-09-21 18:49:15 -04:00
parent 24716c999a
commit d94793e019
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35
10 changed files with 215 additions and 81 deletions

View file

@ -0,0 +1,22 @@
{
lib,
config,
pkgs,
...
}:
with lib;
with lib.custom; let
cfg = config.sites.jellyfin;
in {
options.sites.jellyfin = with types; {
enable = mkBoolOpt false "Enable jellyfin";
};
config = mkIf cfg.enable {
services.jellyfin = {
enable = true;
dataDir = "/mnt/lul";
openFirewall = true;
};
};
}