From e8555eedc6ced6d67aeaddc0935b8fe7314f7822 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Thu, 31 Oct 2024 17:56:02 +0100 Subject: [PATCH] fix miku config --- miku/hardware-configuration.nix | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/miku/hardware-configuration.nix b/miku/hardware-configuration.nix index 5badc76..bbe0db2 100644 --- a/miku/hardware-configuration.nix +++ b/miku/hardware-configuration.nix @@ -16,13 +16,18 @@ # amd graphics hardware.graphics.extraPackages = with pkgs; [ amdvlk rocmPackages.clr.icd ]; - FIXME - # /boot efi partition to boot in UEFI mode - fileSystems."/boot" = - { device = "/dev/disk/by-id/nvme-KINGSTON_SFYRD4000G_50026B7686EC5F33-part1"; - fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; - neededForBoot = true; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/5B5C-07AD"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + neededForBoot = true; + }; + + # encrypted system + boot.initrd.luks.devices."crypt-system" = { + device = "/dev/disk/by-uuid/38f19fd3-61b4-4a34-a5b8-0059eeff3c8e"; + allowDiscards = true; + bypassWorkqueues = true; + }; }