summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-10-08 19:40:06 +0200
committerAlan Pearce2019-10-08 19:45:27 +0200
commit4381adba4f542479b8863879e66cb9772bf833e2 (patch)
tree1b07b4834d7cb313fb92470a0d41f216a6662031
parent6766d3f7c84ee26bfc7eeab4b1446a2fcadf4f5a (diff)
downloadnixfiles-4381adba4f542479b8863879e66cb9772bf833e2.tar.lz
nixfiles-4381adba4f542479b8863879e66cb9772bf833e2.tar.zst
nixfiles-4381adba4f542479b8863879e66cb9772bf833e2.zip
Trillian: run gc as user
New nix install is single-user
-rw-r--r--system/trillian.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/trillian.nix b/system/trillian.nix
index 73093c99..184fa906 100644
--- a/system/trillian.nix
+++ b/system/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;