diff --git a/roles/common/configuration.nix b/roles/common/configuration.nix index 96b3b9e..c2b45d4 100755 --- a/roles/common/configuration.nix +++ b/roles/common/configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: { environment = { @@ -11,6 +11,13 @@ }; }; + # Set up /tmp + boot.tmp = { + useTmpfs = lib.mkDefault true; + # Cleaning out /tmp at boot if it's a tmpfs is quite stupid + cleanOnBoot = !config.boot.tmp.useTmpfs; + }; + # Set up secrets age = { identityPaths = [