/etc/nix/registry.json: don't generate for -light builds (it links back to src)

This commit is contained in:
Colin 2024-03-02 23:42:58 +00:00
parent c747855810
commit 3ac6b92c18

View File

@ -67,6 +67,9 @@
environment.etc."nixos" = lib.mkIf config.sane.enableSlowPrograms {
source = ../../..;
};
environment.etc."nix/registry.json" = lib.mkIf (!config.sane.enableSlowPrograms) {
enable = false;
};
systemd.services.nix-daemon.serviceConfig = {
# the nix-daemon manages nix builders