diff --git a/hosts/ymir/configuration.nix b/hosts/ymir/configuration.nix index 2738aae..ebf6350 100644 --- a/hosts/ymir/configuration.nix +++ b/hosts/ymir/configuration.nix @@ -24,7 +24,6 @@ enableJellyfin = true; }; - # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; diff --git a/modules/jellyfin.nix b/modules/jellyfin.nix index d208be9..3e9ff1e 100644 --- a/modules/jellyfin.nix +++ b/modules/jellyfin.nix @@ -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]; }) ]; - -} \ No newline at end of file +}