diff options
-rw-r--r-- | modules/profiles/common.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/profiles/common.nix b/modules/profiles/common.nix index c9f67e7d..ede7cdf9 100644 --- a/modules/profiles/common.nix +++ b/modules/profiles/common.nix @@ -36,13 +36,13 @@ with lib; environment.sessionVariables = let rootChannelsPath = "/nix/var/nix/profiles/per-user/root/channels"; channelPath = "${rootChannelsPath}/${config.vuizvui.channelName}"; - in mkIf config.vuizvui.modifyNixPath (mkOverride 90 { - NIX_PATH = [ + in mkIf config.vuizvui.modifyNixPath { + NIX_PATH = mkOverride 90 [ "vuizvui=${channelPath}" "nixpkgs=${channelPath}/nixpkgs" "nixos-config=/etc/nixos/configuration.nix" rootChannelsPath ]; - }); + }; }; } |