1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00

Add Purism Librem 13v3 profile

This commit is contained in:
Yegor Timoshenko 2018-06-18 00:05:44 +03:00
parent 4d548d09cc
commit 5a545d7145
3 changed files with 26 additions and 0 deletions

View file

@ -37,6 +37,7 @@ should look like:
| [[file:microsoft/surface-pro/3][Microsoft Surface Pro 3]] | ~<nixos-hardware/microsoft/surface-pro/3>~ |
| [[file:raspberry-pi/2][Raspberry Pi 2]] | ~<nixos-hardware/raspberry-pi/2>~ |
| [[file:samsung/np900x3c][Samsung Series 9 NP900X3C]] | ~<nixos-hardware/samsung/np900x3c>~ |
| [[file:purism/librem/13v3][Purism Librem 13v3]] | ~<nixos-hardware/purism/librem/13v3>~ |
| Supermicro A1SRi-2758F | ~<nixos-hardware/supermicro/a1sri-2758f>~ |
| Supermicro X10SLL-F | ~<nixos-hardware/supermicro/x10sll-f>~ |
|---------------------------+--------------------------------------------|

View 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;
};
}
```

View 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
'';
}