diff --git a/configs/wrapper-manager/dotfiles-wrapped/default.nix b/configs/wrapper-manager/dotfiles-wrapped/default.nix index 2afacb33..a92cf66f 100644 --- a/configs/wrapper-manager/dotfiles-wrapped/default.nix +++ b/configs/wrapper-manager/dotfiles-wrapped/default.nix @@ -16,7 +16,7 @@ let wrapNixGL = arg0: if isInNonNixOS then { nixgl.enable = true; - nixgl.wraparound.executable = arg0; + nixgl.wraparound.arg0 = arg0; } else { inherit arg0; }; diff --git a/modules/wrapper-manager/nixgl.nix b/modules/wrapper-manager/nixgl.nix index bb097b7b..afab8a0e 100644 --- a/modules/wrapper-manager/nixgl.nix +++ b/modules/wrapper-manager/nixgl.nix @@ -87,7 +87,7 @@ in }; wraparound = { - executable = lib.mkOption { + arg0 = lib.mkOption { type = lib.types.nonEmptyStr; description = '' The executable to be wrapped around. @@ -117,7 +117,7 @@ in if submoduleCfg.executable == null then lib.getExe (nixgl config.nixgl.variant config.nixgl.src) else submoduleCfg.executable; - prependArgs = lib.mkBefore ([ submoduleCfg.wraparound.executable ] ++ submoduleCfg.wraparound.extraArgs); + prependArgs = lib.mkBefore ([ submoduleCfg.wraparound.arg0 ] ++ submoduleCfg.wraparound.extraArgs); }; }; in