monolith: use tmpfs on /tmp
This commit is contained in:
		
							parent
							
								
									670c7d3629
								
							
						
					
					
						commit
						bb023ea24a
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -161,6 +161,11 @@ in
 | 
			
		|||
    ACTION=="add|change", KERNEL=="sd[a-z]*[0-9]*|mmcblk[0-9]*p[0-9]*|nvme[0-9]*n[0-9]*p[0-9]*", ATTR{../queue/scheduler}="mq-deadline"
 | 
			
		||||
  '';
 | 
			
		||||
 | 
			
		||||
  boot.tmp = {
 | 
			
		||||
    cleanOnBoot = true;
 | 
			
		||||
    useTmpfs = true;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # swap
 | 
			
		||||
  # fileSystems."/swap" = {
 | 
			
		||||
  #   device = "/dev/disk/by-label/BTRFS_ROOT";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue