From ebe54069259fbffc14c97d6badb361f6fc07d55e Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Mon, 4 Apr 2022 00:12:04 +0200 Subject: [PATCH] [FileSystems] Make /tmp use tmpfs by default --- filesystems.nix | 1 + non-persistence.nix | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/filesystems.nix b/filesystems.nix index 91a0878..3908c42 100644 --- a/filesystems.nix +++ b/filesystems.nix @@ -83,6 +83,7 @@ in initrdRules = concatStringsSep "\n" cfg.udevRules; }; + boot.tmpOnTmpfs = true; services.smartd = { enable = mkDefault true; diff --git a/non-persistence.nix b/non-persistence.nix index 65ece7d..356bdd0 100644 --- a/non-persistence.nix +++ b/non-persistence.nix @@ -44,7 +44,6 @@ in (mkPersist "/etc/NetworkManager/system-connections") ])); - boot.tmpOnTmpfs = true; fileSystems = { "/var/log" = {