btrfs autoscrubbing
This commit is contained in:
		
							parent
							
								
									0e5829bc41
								
							
						
					
					
						commit
						56c00d9da7
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -30,6 +30,11 @@ in {
 | 
			
		|||
  fileSystems."/tmp".fsType = "tmpfs";
 | 
			
		||||
 | 
			
		||||
  services.fstrim.enable = true;
 | 
			
		||||
  services.btrfs.autoScrub =
 | 
			
		||||
	{ enable = true;
 | 
			
		||||
	  fileSystems = [ "/" "/home" ];
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
  # exfat support
 | 
			
		||||
  boot.extraModulePackages = [ config.boot.kernelPackages.exfat-nofuse ];
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue