feat(boot): set tmp.cleanOnBoot

In some cases /tmp has to be mounted on persistent storage to avoid
running out of memory. Enabling this option restores tmpfs behaviour.
This commit is contained in:
514fpv 2024-01-02 16:36:49 +08:00
parent 9c11e58813
commit 8d9a4df795
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

View file

@ -19,6 +19,7 @@ in {
lanzaboote.pkiBundle = sbPath;
loader.systemd-boot.enable = cfg.systemd-boot;
loader.efi.canTouchEfiVariables = true;
tmp.cleanOnBoot = true;
};
# symlink for sbctl