summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-05-07 14:39:16 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2026-05-07 14:39:16 +0200
commit3ff5cea79bce974a3bafaccf1d528973f209b581 (patch)
treee0635ac41d2d87363316b238c54bd336a6971d5e
parentb627fcc10bb7dce26ab5ca78a75cd330762aa96b (diff)
nixbook-pro: fix disk uuidsHEADmaster
-rw-r--r--hosts/nixbook-pro/default.nix1
-rw-r--r--hosts/nixbook-pro/hardware.nix12
2 files changed, 6 insertions, 7 deletions
diff --git a/hosts/nixbook-pro/default.nix b/hosts/nixbook-pro/default.nix
index ed59bf9..076912b 100644
--- a/hosts/nixbook-pro/default.nix
+++ b/hosts/nixbook-pro/default.nix
@@ -14,6 +14,7 @@
boot.loader = {
efi.canTouchEfiVariables = true;
grub = {
+ memtest86.enable = true;
enable = true;
device = "nodev";
efiSupport = true;
diff --git a/hosts/nixbook-pro/hardware.nix b/hosts/nixbook-pro/hardware.nix
index 3349e63..451be1d 100644
--- a/hosts/nixbook-pro/hardware.nix
+++ b/hosts/nixbook-pro/hardware.nix
@@ -1,8 +1,4 @@
-# Do not modify this file! It was generated by ‘nixos-generate-config’
-# and may be overwritten by future invocations. Please make changes
-# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
-
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
@@ -14,14 +10,16 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
- { device = "/dev/disk/by-uuid/d8cbb09e-342c-41d0-b43c-174d942f2772";
+ { device = "/dev/mapper/root";
fsType = "btrfs";
};
+ boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/0ab76236-9688-47e3-8eb8-e13bd2229b41";
+
fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/59F9-5576";
+ { device = "/dev/disk/by-uuid/B7FC-42F8";
fsType = "vfat";
- options = [ "fmask=0077" "dmask=0077" ];
+ options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];