all repos — nixfiles @ 4381adba4f542479b8863879e66cb9772bf833e2

System and user configuration, managed by nix and home-manager

Trillian: run gc as user

New nix install is single-user
Alan Pearce alan@alanpearce.eu
Tue, 08 Oct 2019 19:40:06 +0200
commit

4381adba4f542479b8863879e66cb9772bf833e2

parent

6766d3f7c84ee26bfc7eeab4b1446a2fcadf4f5a

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M system/trillian.nixsystem/trillian.nix
@@ -48,6 +48,7 @@ }; 
   nix.gc = {
     automatic = true;
+    user = "alan";
     options = "--max-freed $((25 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | awk '{ print $4 }')))";
   };
   nix.daemonNiceLevel = 10;