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 = {