misc: fix nix.conf generation (#2824)
nix/nix.conf should generate if cfg.extraOptions is not empty.
This commit is contained in:
parent
c82b8ac5ad
commit
bb860e3e11
|
@ -230,7 +230,9 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
"nix/nix.conf" = mkIf (cfg.settings != { }) { source = nixConf; };
|
"nix/nix.conf" = mkIf (cfg.settings != { } || cfg.extraOptions != "") {
|
||||||
|
source = nixConf;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue