summaryrefslogtreecommitdiff
path: root/host/hardware/athena.nix
diff options
context:
space:
mode:
authorAdrian Kummerlaender2025-07-30 22:21:30 +0200
committerAdrian Kummerlaender2025-07-30 22:21:30 +0200
commit3f9313fa7d4c3803e849f4c108b820f924db1ed2 (patch)
treed3a8965c65f00bf9e70aeb525d6dabca1a74a6ac /host/hardware/athena.nix
parent3f5bd1a6da691d1ca82f9730a8269434304eef7a (diff)
downloadnixos_system-3f9313fa7d4c3803e849f4c108b820f924db1ed2.tar
nixos_system-3f9313fa7d4c3803e849f4c108b820f924db1ed2.tar.gz
nixos_system-3f9313fa7d4c3803e849f4c108b820f924db1ed2.tar.bz2
nixos_system-3f9313fa7d4c3803e849f4c108b820f924db1ed2.tar.lz
nixos_system-3f9313fa7d4c3803e849f4c108b820f924db1ed2.tar.xz
nixos_system-3f9313fa7d4c3803e849f4c108b820f924db1ed2.tar.zst
nixos_system-3f9313fa7d4c3803e849f4c108b820f924db1ed2.zip
athena: Adapt to wayland config changes
Diffstat (limited to 'host/hardware/athena.nix')
-rw-r--r--host/hardware/athena.nix24
1 files changed, 20 insertions, 4 deletions
diff --git a/host/hardware/athena.nix b/host/hardware/athena.nix
index 508507a..53b36cf 100644
--- a/host/hardware/athena.nix
+++ b/host/hardware/athena.nix
@@ -8,10 +8,26 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
- boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
- boot.initrd.kernelModules = [ "dm-snapshot" ];
- boot.kernelModules = [ "kvm-intel" "fuse" ];
- boot.extraModulePackages = [ ];
+ boot = {
+ initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
+ initrd.kernelModules = [ "dm-snapshot" ];
+ kernelModules = [ "kvm-intel" "fuse" ];
+ extraModulePackages = [ ];
+ kernelParams = [ "nvidia-drm.modeset=1" ];
+
+ loader = {
+ systemd-boot.enable = true;
+ efi.canTouchEfiVariables = true;
+ };
+
+ initrd.luks.devices = {
+ encrypted = {
+ device = "/dev/nvme0n1p2";
+ preLVM = true;
+ allowDiscards = true;
+ };
+ };
+ };
fileSystems."/" =
{ device = "/dev/disk/by-uuid/3af135f5-9bfe-4ab4-abb3-2e93caad08ea";