diff options
Diffstat (limited to 'modules/flake-module.nix')
| -rw-r--r-- | modules/flake-module.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/flake-module.nix b/modules/flake-module.nix index c43be76..af1e799 100644 --- a/modules/flake-module.nix +++ b/modules/flake-module.nix @@ -1,9 +1,9 @@ { lib, flake-parts-lib, inputs, ... }: let inherit (lib) mkOption mkPackageOption types; - inherit (flake-parts-lib) mkPerSystemOptions; + inherit (flake-parts-lib) mkPerSystemOption; in { - perSystem = mkPerSystemOptions ({ pkgs, config, ... }: { + options.perSystem = mkPerSystemOption ({ pkgs, config, ... }: { options = { weznix = { wezterm = mkPackageOption pkgs "wezterm" {}; @@ -39,11 +39,11 @@ in { config = { packages = { - weznix = pkgs.callPackage ./pkgs/weznix.nix { - inherit (config.weznix) wezterm; + weznix = pkgs.callPackage ../pkgs/weznix.nix { + inherit (config.weznix) wezterm; nixToLua = import inputs.nixToLua; - } { - inherit (config.weznix) configDirectory luaPath wrapConfig extraPATH extraWrapperArgs pass; + } { + inherit (config.weznix) configDirectory luaPath wrapConfig extraPATH extraWrapperArgs pass; }; }; }; |
