modules: system: nix: preprend to 'NIX_PATH'
Instead of appending to the default value. This makes overriding some values that are defined as the default value easier.
This commit is contained in:
parent
8dcc59d481
commit
26bf4e3631
|
@ -35,11 +35,11 @@ in
|
|||
})
|
||||
|
||||
(lib.mkIf cfg.addToNixPath {
|
||||
nix.nixPath = options.nix.nixPath.default ++ [
|
||||
nix.nixPath = [
|
||||
"self=${inputs.self}"
|
||||
"pkgs=${inputs.nixpkgs}"
|
||||
"nur=${inputs.nur}"
|
||||
];
|
||||
++ options.nix.nixPath.default;
|
||||
})
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue