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 6eaa8cc5..be78a60c 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 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
+  ];
 }
diff --git a/satoshipad.nix b/satoshipad.nix
index 67fda3ec..c9e2921c 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;
     }