monolith: add a generic data mount
This commit is contained in:
		
							parent
							
								
									778604cd50
								
							
						
					
					
						commit
						ab00a850fd
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -77,6 +77,11 @@ in
 | 
			
		|||
    fsType = "btrfs";
 | 
			
		||||
    options = [ "subvol=@music" "nofail" ] ++ btrfs_options;
 | 
			
		||||
  };
 | 
			
		||||
  fileSystems."/home/lelgenio/.local/mount/data" = {
 | 
			
		||||
    device = "/dev/disk/by-label/BTRFS_DATA";
 | 
			
		||||
    fsType = "btrfs";
 | 
			
		||||
    options = [ "subvol=@data" "nofail" ] ++ btrfs_options;
 | 
			
		||||
  };
 | 
			
		||||
  services.udev.extraRules = ''
 | 
			
		||||
    ACTION=="add", SUBSYSTEM=="pci", DRIVER=="pcieport", ATTR{power/wakeup}="disabled"
 | 
			
		||||
  '';
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue