home: nix: use 'nix.nixPath'
All checks were successful
ci/woodpecker/push/check Pipeline was successful

Freshly merged upstream, I've only been waiting ~1 year for it.
This commit is contained in:
Bruno BELANYI 2024-06-18 09:21:42 +00:00
parent 9ab49e06f9
commit eb94fca939

View file

@ -96,7 +96,7 @@ in
})
(lib.mkIf cfg.inputs.addToNixPath {
home.sessionVariables.NIX_PATH = "${config.xdg.configHome}/nix/inputs\${NIX_PATH:+:$NIX_PATH}";
nix.nixPath = [ "${config.xdg.configHome}/nix/inputs" ];
})
]);
}