From ca50606b98774565ba5f31caa6ec33601471480e Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Thu, 23 Oct 2025 11:11:51 -0500 Subject: Debugging --- modules/flake-module.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules') 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; }; }; }; -- cgit v1.2.3