From 5a545d71456da6ff1f04e77860a0ee934604f464 Mon Sep 17 00:00:00 2001 From: Yegor Timoshenko Date: Mon, 18 Jun 2018 00:05:44 +0300 Subject: [PATCH] Add Purism Librem 13v3 profile --- README.org | 1 + purism/librem/13v3/README.md | 12 ++++++++++++ purism/librem/13v3/default.nix | 13 +++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 purism/librem/13v3/README.md create mode 100644 purism/librem/13v3/default.nix 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]] | ~~ | | [[file:raspberry-pi/2][Raspberry Pi 2]] | ~~ | | [[file:samsung/np900x3c][Samsung Series 9 NP900X3C]] | ~~ | +| [[file:purism/librem/13v3][Purism Librem 13v3]] | ~~ | | Supermicro A1SRi-2758F | ~~ | | 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 + ''; +}