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:
parent
7ca9f3d5bb
commit
c8ce901a43
1 changed files with 8 additions and 6 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue