aboutsummaryrefslogtreecommitdiff
path: root/modules/flake-module.nix
diff options
context:
space:
mode:
authorChris Wells <chris@mathematicaster.org>2025-10-23 11:11:51 -0500
committerChris Wells <chris@mathematicaster.org>2025-10-23 11:11:51 -0500
commitca50606b98774565ba5f31caa6ec33601471480e (patch)
treefda19026396c9d797bc43b9cc1d02caacd08c64a /modules/flake-module.nix
parentc5f9420f4d111cccf4dc1bcc3ec35e75f68926e1 (diff)
downloadweznix-ca50606b98774565ba5f31caa6ec33601471480e.tar
weznix-ca50606b98774565ba5f31caa6ec33601471480e.tar.gz
weznix-ca50606b98774565ba5f31caa6ec33601471480e.tar.bz2
weznix-ca50606b98774565ba5f31caa6ec33601471480e.tar.lz
weznix-ca50606b98774565ba5f31caa6ec33601471480e.tar.xz
weznix-ca50606b98774565ba5f31caa6ec33601471480e.tar.zst
weznix-ca50606b98774565ba5f31caa6ec33601471480e.zip
Debugging
Diffstat (limited to 'modules/flake-module.nix')
-rw-r--r--modules/flake-module.nix12
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;
};
};
};