formatting and dont creat enable option

This commit is contained in:
Osman Faruk Bayram 2025-02-07 15:56:09 +03:00
parent ac433255a4
commit b17a9f9754
2 changed files with 5 additions and 11 deletions

View file

@ -4,14 +4,11 @@
lib,
...
}: {
options = {
myModules.enableJellyfin = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Enable Jellyfin media server";
};
myModules.enableJellyfin = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Enable Jellyfin media server";
};
};
@ -20,11 +17,9 @@
services.jellyfin = {
enable = true;
openFirewall = true;
};
networking.firewall.allowedTCPPorts = [8096];
})
];
}
}