From 4acff6e9e977352a1e6ec7a86f0b060a9234f248 Mon Sep 17 00:00:00 2001
From: lassulus <git@lassul.us>
Date: Wed, 23 Aug 2023 22:07:31 +0200
Subject: [PATCH] l prism.r: make bootable again

---
 lass/1systems/prism/physical.nix | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lass/1systems/prism/physical.nix b/lass/1systems/prism/physical.nix
index ebc80411b..d4dd88382 100644
--- a/lass/1systems/prism/physical.nix
+++ b/lass/1systems/prism/physical.nix
@@ -9,6 +9,7 @@
 
   boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "sd_mod" ];
   boot.kernelModules = [ "kvm-intel" ];
+  boot.swraid.enable = true;
 
   fileSystems."/" = {
     device = "rpool/root/nixos";
@@ -80,7 +81,7 @@
 
   # we don't pay for power there and this might solve a problem we observed at least once
   # https://www.thomas-krenn.com/de/wiki/PCIe_Bus_Error_Status_00001100_beheben
-  boot.kernelParams = [ "pcie_aspm=off" "net.ifnames=0" ];
+  boot.kernelParams = [ "pcie_aspm=off" "net.ifnames=0" "nomodeset" ];
   networking.dhcpcd.enable = false;