fix (hosts/selune): reinstall

This commit is contained in:
Henri Saudubray 2026-04-13 13:56:01 +02:00
parent 5d4f09f4ab
commit b52a2adc74
Signed by: hms
GPG key ID: 7065F57ED8856128
2 changed files with 9 additions and 7 deletions

View file

@ -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;
}