summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/grub2.nix1
-rw-r--r--modules/t470s.nix4
-rw-r--r--satoshipad.nix1
3 files changed, 6 insertions, 0 deletions
diff --git a/modules/grub2.nix b/modules/grub2.nix
index 6eaa8cc..be78a60 100644
--- a/modules/grub2.nix
+++ b/modules/grub2.nix
@@ -9,4 +9,5 @@
     };
     efi.canTouchEfiVariables = true;
   };
+  boot.earlyVconsoleSetup = true;
 }
diff --git a/modules/t470s.nix b/modules/t470s.nix
index ba2c17c..ddaba1d 100644
--- a/modules/t470s.nix
+++ b/modules/t470s.nix
@@ -4,4 +4,8 @@
   hardware.firmware = with pkgs; [
     firmwareLinuxNonfree
   ];
+
+  environment.systemPackages = with pkgs; [
+    nvme-cli
+  ];
 }
diff --git a/satoshipad.nix b/satoshipad.nix
index 67fda3e..c9e2921 100644
--- a/satoshipad.nix
+++ b/satoshipad.nix
@@ -40,6 +40,7 @@
   boot.initrd.luks.devices = [
     {
       name = "root";
+      allowDiscards = true;
       device = "/dev/disk/by-uuid/bb7f9a24-8963-4d00-9258-118050b35748";
       preLVM = true;
     }