From 8f21c1dc33d4f3a4f812d5b86e086387b2cc21e7 Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Sun, 26 Nov 2017 21:59:31 +0100 Subject: [PATCH] =?UTF-8?q?all:=20m=C3=A9nage=20de=20/tmp=20au=20lancement?= =?UTF-8?q?=20de=20nixos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configuration/environment.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configuration/environment.nix b/configuration/environment.nix index 7f434fb..2502d33 100644 --- a/configuration/environment.nix +++ b/configuration/environment.nix @@ -14,7 +14,7 @@ in # The NixOS release to be compatible with for stateful data such as databases. system.stateVersion = "18.03"; - # copies the NixOS configuration file (usually /etc/nixos/configuration.nix) and links it from the resulting system (getting to /run/current-system/configuration.nix) + # copies the NixOS configuration file (usually /etc/nixos/configuration.nix) and links it from the resulting system (getting to /run/current-system/configuration.nix) system.copySystemConfiguration = true; # On autorise les paquets non-libres @@ -23,6 +23,9 @@ in # NixOS Hardening #security.grsecurity.enable = true; + # Ménage de /tmp au boot + boot.cleanTmpDir = true; + # Paquets environment = { shellAliases = {