From e58370464efbe2672246610c88e91dd28afa6cfb Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 30 Apr 2018 11:56:59 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- odin.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'odin.nix') diff --git a/odin.nix b/odin.nix index 59d8a8dd..7d183d87 100644 --- a/odin.nix +++ b/odin.nix @@ -214,6 +214,9 @@ browseable = true; writable = false; path = "/srv/media"; + "guest ok" = true; + "guest account" = "nobody"; + "guest only" = true; }; }; extraConfig = '' @@ -334,6 +337,16 @@ agentTimeout = "1h"; }; + nix = { + daemonIONiceLevel = 3; + daemonNiceLevel = 10; + gc = { + automatic = true; + options = "--delete-older-than 21d"; + }; + autoOptimiseStore = true; + }; + systemd.status-mail = { recipient = "root@odin.asgard.yggdrasil"; onFailure = [ "nixos-upgrade" -- cgit v1.2.3