From b52a2adc74bec6f64c9ae8e2db66491838845923 Mon Sep 17 00:00:00 2001 From: Henri Saudubray Date: Mon, 13 Apr 2026 13:56:01 +0200 Subject: [PATCH] fix (hosts/selune): reinstall --- hosts/selune/default.nix | 4 ++-- hosts/selune/hardware-configuration.nix | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/hosts/selune/default.nix b/hosts/selune/default.nix index ce20269..1182505 100644 --- a/hosts/selune/default.nix +++ b/hosts/selune/default.nix @@ -7,8 +7,8 @@ graphical.enable = true; - boot.initrd.luks.devices."luks-374c6259-18c4-462b-9f30-9c9648de00ae".device = - "/dev/disk/by-uuid/374c6259-18c4-462b-9f30-9c9648de00ae"; + boot.initrd.luks.devices."luks-eea287fc-7579-44e2-96dc-a229cc6f57ff".device = + "/dev/disk/by-uuid/eea287fc-7579-44e2-96dc-a229cc6f57ff"; networking.hostName = "selune"; system.stateVersion = "25.11"; diff --git a/hosts/selune/hardware-configuration.nix b/hosts/selune/hardware-configuration.nix index 712136b..6d58980 100644 --- a/hosts/selune/hardware-configuration.nix +++ b/hosts/selune/hardware-configuration.nix @@ -10,6 +10,7 @@ { imports = [ + (modulesPath + "/hardware/cpu/intel-npu.nix") (modulesPath + "/installer/scan/not-detected.nix") ]; @@ -28,15 +29,15 @@ boot.extraModulePackages = [ ]; fileSystems."/" = { - device = "/dev/mapper/luks-de976821-5bfe-4c34-92ff-5d4d607e42c4"; + device = "/dev/mapper/luks-2f657f2f-3935-4c54-bd32-ea658f86dd79"; fsType = "ext4"; }; - boot.initrd.luks.devices."luks-de976821-5bfe-4c34-92ff-5d4d607e42c4".device = - "/dev/disk/by-uuid/de976821-5bfe-4c34-92ff-5d4d607e42c4"; + boot.initrd.luks.devices."luks-2f657f2f-3935-4c54-bd32-ea658f86dd79".device = + "/dev/disk/by-uuid/2f657f2f-3935-4c54-bd32-ea658f86dd79"; fileSystems."/boot" = { - device = "/dev/disk/by-uuid/6137-E7B4"; + device = "/dev/disk/by-uuid/9601-DCA3"; fsType = "vfat"; options = [ "fmask=0077" @@ -45,9 +46,10 @@ }; swapDevices = [ - { device = "/dev/mapper/luks-374c6259-18c4-462b-9f30-9c9648de00ae"; } + { device = "/dev/mapper/luks-eea287fc-7579-44e2-96dc-a229cc6f57ff"; } ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.npu.enable = true; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }