Make nix keep output of derivations with gc root

restic-rest-server
Simon Bruder 2020-12-05 23:08:24 +01:00
parent e53f2882f4
commit 0bbfafcafb
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
1 changed files with 5 additions and 0 deletions

View File

@ -76,6 +76,11 @@
# On-the-fly optimisation of nix store
autoOptimiseStore = true;
# Keep output of derivations with gc root
extraOptions = ''
keep-outputs = true
keep-derivations = true
'';
# Make nix build in background less noticeable
daemonIONiceLevel = 5; # 0-7