summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYegor Timoshenko <yegortimoshenko@riseup.net>2018-06-18 00:05:44 +0300
committerYegor Timoshenko <yegortimoshenko@riseup.net>2018-06-18 00:21:30 +0300
commit5a545d71456da6ff1f04e77860a0ee934604f464 (patch)
tree1ca0c65b1feb3471f073c71580cbede009305a82
parent4d548d09cc6152d0a9da4c472e115dbf28f8d335 (diff)
Add Purism Librem 13v3 profile
-rw-r--r--README.org1
-rw-r--r--purism/librem/13v3/README.md12
-rw-r--r--purism/librem/13v3/default.nix13
3 files changed, 26 insertions, 0 deletions
diff --git a/README.org b/README.org
index 358daaa..a6b1faa 100644
--- a/README.org
+++ b/README.org
@@ -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>~ |
|---------------------------+--------------------------------------------|
diff --git a/purism/librem/13v3/README.md b/purism/librem/13v3/README.md
new file mode 100644
index 0000000..8009eb3
--- /dev/null
+++ b/purism/librem/13v3/README.md
@@ -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;
+ };
+}
+```
diff --git a/purism/librem/13v3/default.nix b/purism/librem/13v3/default.nix
new file mode 100644
index 0000000..89ae07e
--- /dev/null
+++ b/purism/librem/13v3/default.nix
@@ -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
+ '';
+}