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

@ -7,8 +7,8 @@
graphical.enable = true; graphical.enable = true;
boot.initrd.luks.devices."luks-374c6259-18c4-462b-9f30-9c9648de00ae".device = boot.initrd.luks.devices."luks-eea287fc-7579-44e2-96dc-a229cc6f57ff".device =
"/dev/disk/by-uuid/374c6259-18c4-462b-9f30-9c9648de00ae"; "/dev/disk/by-uuid/eea287fc-7579-44e2-96dc-a229cc6f57ff";
networking.hostName = "selune"; networking.hostName = "selune";
system.stateVersion = "25.11"; system.stateVersion = "25.11";

View file

@ -10,6 +10,7 @@
{ {
imports = [ imports = [
(modulesPath + "/hardware/cpu/intel-npu.nix")
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
@ -28,15 +29,15 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = { fileSystems."/" = {
device = "/dev/mapper/luks-de976821-5bfe-4c34-92ff-5d4d607e42c4"; device = "/dev/mapper/luks-2f657f2f-3935-4c54-bd32-ea658f86dd79";
fsType = "ext4"; fsType = "ext4";
}; };
boot.initrd.luks.devices."luks-de976821-5bfe-4c34-92ff-5d4d607e42c4".device = boot.initrd.luks.devices."luks-2f657f2f-3935-4c54-bd32-ea658f86dd79".device =
"/dev/disk/by-uuid/de976821-5bfe-4c34-92ff-5d4d607e42c4"; "/dev/disk/by-uuid/2f657f2f-3935-4c54-bd32-ea658f86dd79";
fileSystems."/boot" = { fileSystems."/boot" = {
device = "/dev/disk/by-uuid/6137-E7B4"; device = "/dev/disk/by-uuid/9601-DCA3";
fsType = "vfat"; fsType = "vfat";
options = [ options = [
"fmask=0077" "fmask=0077"
@ -45,9 +46,10 @@
}; };
swapDevices = [ 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"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.npu.enable = true;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
} }