all: ménage de /tmp au lancement de nixos

This commit is contained in:
2017-11-26 21:59:31 +01:00
parent c0493bb038
commit 8f21c1dc33

View File

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