Switch from boot.cleanTmpDir to a tmpfs on /tmp
This commit is contained in:
		
							parent
							
								
									65a0aec276
								
							
						
					
					
						commit
						1bed3ae799
					
				| 
						 | 
					@ -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;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue