diff options
author | Alan Pearce | 2019-10-08 19:40:06 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-08 19:45:27 +0200 |
commit | 4381adba4f542479b8863879e66cb9772bf833e2 (patch) | |
tree | 1b07b4834d7cb313fb92470a0d41f216a6662031 | |
parent | 6766d3f7c84ee26bfc7eeab4b1446a2fcadf4f5a (diff) | |
download | nixfiles-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.nix | 1 |
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; |