formatting and dont creat enable option
This commit is contained in:
parent
ac433255a4
commit
b17a9f9754
2 changed files with 5 additions and 11 deletions
|
|
@ -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];
|
||||
})
|
||||
];
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue