Switch from boot.cleanTmpDir to a tmpfs on /tmp

This commit is contained in:
Henrik Lissner 2020-01-13 23:27:27 -05:00
parent 65a0aec276
commit 1bed3ae799
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -3,7 +3,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
# Nothing in /tmp should survive a reboot # Nothing in /tmp should survive a reboot
boot.cleanTmpDir = true; boot.tmpOnTmpfs = true;
# Use simple bootloader; I prefer the on-demand BIOs boot menu # Use simple bootloader; I prefer the on-demand BIOs boot menu
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;