From 1524e280ded27c2004e8c2c6545a0de1005b5d89 Mon Sep 17 00:00:00 2001 From: jay Date: Sun, 29 Jun 2025 03:19:50 +0000 Subject: [PATCH] Fix installation for laptop. --- nodes/lappy/configuration.nix | 4 ++-- nodes/lappy/filesystems.nix | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nodes/lappy/configuration.nix b/nodes/lappy/configuration.nix index 355007f..e5dcd65 100644 --- a/nodes/lappy/configuration.nix +++ b/nodes/lappy/configuration.nix @@ -64,9 +64,9 @@ services.libinput.enable = true; # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.alice = { + users.users.jay = { isNormalUser = true; - extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + extraGroups = [ "networkmanager" "wheel" ]; # Enable ‘sudo’ for the user. packages = with pkgs; [ tree ]; diff --git a/nodes/lappy/filesystems.nix b/nodes/lappy/filesystems.nix index e47cf1c..93b43e2 100644 --- a/nodes/lappy/filesystems.nix +++ b/nodes/lappy/filesystems.nix @@ -1,19 +1,19 @@ { ... }: { fileSystems."/" = - { device = "/dev/disk/by-uuid/830e6948-9661-47b2-968d-e939b4bb83b1"; + { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=root" "compress=zstd" "noatime" ]; }; fileSystems."/nix" = - { device = "/dev/disk/by-uuid/830e6948-9661-47b2-968d-e939b4bb83b1"; + { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=nix" "compress=zstd" "noatime" ]; }; fileSystems."/var/log" = - { device = "/dev/disk/by-uuid/830e6948-9661-47b2-968d-e939b4bb83b1"; + { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=log" "compress=zstd" "noatime" ]; neededForBoot = true; @@ -27,7 +27,7 @@ }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/60CE-EFBA"; + { device = "/dev/disk/by-partlabel/boot"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; };