diff --git a/modules/helpers.nix b/modules/helpers.nix index 0abf19f..b6a664b 100755 --- a/modules/helpers.nix +++ b/modules/helpers.nix @@ -17,7 +17,7 @@ builtins.listToAttrs ( map (dir: { name = baseNameOf (toString dir); - value = { ... }: import dir; # Wrap as module + value = import dir; }) (collectDirs path) ); } diff --git a/modules/nixos/services/jellyfin/default.nix b/modules/nixos/services/jellyfin/default.nix index 7153901..cf05dc1 100644 --- a/modules/nixos/services/jellyfin/default.nix +++ b/modules/nixos/services/jellyfin/default.nix @@ -1,5 +1,6 @@ -{ flake, ... }: +{ config, ... }: let + flake = config.flake; inherit (flake.config.people) user0; inherit (flake.config.machines.devices) ceres; inherit (flake.config.services.instances) jellyfin web;