From 43b45692de6fdd24c64b5e530d59290d38ff6e93 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 9 Sep 2017 22:17:44 +0200 Subject: grub2: Setup console earlier in boot --- modules/grub2.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/grub2.nix b/modules/grub2.nix index 6eaa8cc5..be78a60c 100644 --- a/modules/grub2.nix +++ b/modules/grub2.nix @@ -9,4 +9,5 @@ }; efi.canTouchEfiVariables = true; }; + boot.earlyVconsoleSetup = true; } -- cgit 1.4.1 From a8247a03c426c9d62be3231742084ae2d4e257c7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 10 Sep 2017 12:02:32 +0200 Subject: t470s: Allow querying the NVMe device --- modules/t470s.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/t470s.nix b/modules/t470s.nix index ba2c17cc..ddaba1df 100644 --- a/modules/t470s.nix +++ b/modules/t470s.nix @@ -4,4 +4,8 @@ hardware.firmware = with pkgs; [ firmwareLinuxNonfree ]; + + environment.systemPackages = with pkgs; [ + nvme-cli + ]; } -- cgit 1.4.1 From 40aa6a71001395b69a7145096524d4e7e580ad13 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 10 Sep 2017 12:02:50 +0200 Subject: satoshipad: Pass discards through LUKS Don't enable automatic discards though, it can leak some FS information. This way allows me to run `fstrim` if I feel I need to. --- satoshipad.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/satoshipad.nix b/satoshipad.nix index 53784715..fc4b6763 100644 --- a/satoshipad.nix +++ b/satoshipad.nix @@ -38,6 +38,7 @@ boot.initrd.luks.devices = [ { name = "root"; + allowDiscards = true; device = "/dev/disk/by-uuid/bb7f9a24-8963-4d00-9258-118050b35748"; preLVM = true; } -- cgit 1.4.1