From f0c621bbbf02446a5ad02cfb4f4e56e314375373 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Wed, 30 Oct 2024 22:41:17 +0100 Subject: [PATCH] fix neko config --- neko/hardware-configuration.nix | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/neko/hardware-configuration.nix b/neko/hardware-configuration.nix index 385e178..988bd89 100644 --- a/neko/hardware-configuration.nix +++ b/neko/hardware-configuration.nix @@ -16,13 +16,18 @@ # intel graphics hardware.graphics.extraPackages = with pkgs; [ intel-media-driver intel-compute-runtime ]; - FIXME - # /boot efi partition to boot in UEFI mode - fileSystems."/boot" = - { device = "/dev/disk/by-id/nvme-Seagate_FireCuda_530_ZP4000GM30013_7VS01VBM-part1"; - fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; - neededForBoot = true; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/554C-161A"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + neededForBoot = true; + }; + + # encrypted system + boot.initrd.luks.devices."crypt-system" = { + device = "/dev/disk/by-uuid/91f98284-b0fa-40b9-8a32-37f71968b2dd"; + allowDiscards = true; + bypassWorkqueues = true; + }; }