system: Clean /tmp on boot

Necessary since /tmp is no longer a tmpfs.
This commit is contained in:
Donovan Glover 2024-04-03 21:28:50 -04:00
parent d452e982e3
commit a18a120634
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -10,7 +10,10 @@ let
stateVersion = "22.11";
in
{
boot.loader = {
boot = {
tmp.cleanOnBoot = true;
loader = {
systemd-boot = {
enable = true;
editor = false;
@ -20,6 +23,7 @@ in
timeout = 0;
efi.canTouchEfiVariables = true;
};
};
systemd = {
extraConfig = "DefaultTimeoutStopSec=10s";