From 4381adba4f542479b8863879e66cb9772bf833e2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 8 Oct 2019 19:40:06 +0200 Subject: Trillian: run gc as user New nix install is single-user --- system/trillian.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'system') 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; -- cgit 1.4.1