monolith: add new storage device
This commit is contained in:
		
							parent
							
								
									fc60022bb7
								
							
						
					
					
						commit
						34ce503cec
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -48,6 +48,10 @@ in
 | 
			
		|||
      bypassWorkqueues = true;
 | 
			
		||||
      device = "/dev/disk/by-label/CRYPT_DATA";
 | 
			
		||||
    };
 | 
			
		||||
    "bigboy" = {
 | 
			
		||||
      bypassWorkqueues = true;
 | 
			
		||||
      device = "/dev/disk/by-label/CRYPT_BIGBOY";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
  boot.loader.efi.efiSysMountPoint = "/boot/efi";
 | 
			
		||||
  fileSystems."/boot/efi" = {
 | 
			
		||||
| 
						 | 
				
			
			@ -79,6 +83,11 @@ in
 | 
			
		|||
    fsType = "btrfs";
 | 
			
		||||
    options = [ "subvol=@data" "nofail" ] ++ btrfs_options;
 | 
			
		||||
  };
 | 
			
		||||
  fileSystems."/home/lelgenio/.local/mount/bigboy" = {
 | 
			
		||||
    device = "/dev/disk/by-label/BTRFS_BIGBOY";
 | 
			
		||||
    fsType = "btrfs";
 | 
			
		||||
    options = [ "nofail" ] ++ btrfs_options ++ btrfs_ssd;
 | 
			
		||||
  };
 | 
			
		||||
  services.udev.extraRules = ''
 | 
			
		||||
    ACTION=="add", SUBSYSTEM=="pci", DRIVER=="pcieport", ATTR{power/wakeup}="disabled"
 | 
			
		||||
  '';
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue