mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	Add Purism Librem 13v3 profile
This commit is contained in:
		
							
								
								
									
										12
									
								
								purism/librem/13v3/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								purism/librem/13v3/README.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
Librem comes with Coreboot + SeaBIOS payload. That means EFI boot is not
 | 
			
		||||
possible. Use `fdisk` to partition hard drive, and GRUB as a bootloader:
 | 
			
		||||
 | 
			
		||||
```nix
 | 
			
		||||
{
 | 
			
		||||
  boot.loader.grub = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    device = "/dev/sda";
 | 
			
		||||
    version = 2;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
							
								
								
									
										13
									
								
								purism/librem/13v3/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								purism/librem/13v3/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../../common/cpu/intel
 | 
			
		||||
    ../../../common/pc/laptop
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # https://github.com/systemd/systemd/pull/9318
 | 
			
		||||
  services.udev.extraHwdb = ''
 | 
			
		||||
    # Purism Librem 13 V3
 | 
			
		||||
    evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism*:pn*Librem13v3*:pvr*
 | 
			
		||||
     KEYBOARD_KEY_56=backslash
 | 
			
		||||
  '';
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user