summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-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 = [ ];