1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

lnl: keep derivations and outputs

This commit is contained in:
Daiderd Jordan 2017-05-15 19:21:40 +02:00
parent 7ca9f3d5bb
commit c8ce901a43
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -32,9 +32,6 @@
pkgs.silver-searcher
pkgs.nix-repl
pkgs.nox
pkgs.pythonPackages.flake8
];
environment.extraOutputsToInstall = [ "man" ];
@ -51,11 +48,16 @@
};
services.activate-system.enable = true;
services.nix-daemon.enable = true;
services.nix-daemon.tempDir = "/nix/tmp";
# services.nix-daemon.enable = true;
# services.nix-daemon.tempDir = "/build/tmp";
# nix.distributedBuilds = true;
nix.extraOptions = "pre-build-hook = ";
nix.extraOptions = ''
gc-keep-derivations = true
gc-keep-outputs = true
pre-build-hook =
'';
nix.binaryCachePublicKeys = [ "cache.daiderd.com-1:R8KOWZ8lDaLojqD+v9dzXAqGn29gEzPTTbr/GIpCTrI=" ];
nix.trustedBinaryCaches = [ https://d3i7ezr9vxxsfy.cloudfront.net ];