about summary refs log tree commit diff
path: root/modules/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profiles')
-rw-r--r--modules/profiles/common.nix6
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
       ];
-    });
+    };
   };
 }