Fix installation for laptop.

This commit is contained in:
jay
2025-06-29 03:19:50 +00:00
parent 8d0dfec9ea
commit 1524e280de
2 changed files with 6 additions and 6 deletions

View File

@@ -64,9 +64,9 @@
services.libinput.enable = true; services.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.alice = { users.users.jay = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [ "networkmanager" "wheel" ]; # Enable sudo for the user.
packages = with pkgs; [ packages = with pkgs; [
tree tree
]; ];

View File

@@ -1,19 +1,19 @@
{ ... }: { { ... }: {
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/830e6948-9661-47b2-968d-e939b4bb83b1"; { device = "/dev/mapper/cryptroot";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=root" "compress=zstd" "noatime" ]; options = [ "subvol=root" "compress=zstd" "noatime" ];
}; };
fileSystems."/nix" = fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/830e6948-9661-47b2-968d-e939b4bb83b1"; { device = "/dev/mapper/cryptroot";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=nix" "compress=zstd" "noatime" ]; options = [ "subvol=nix" "compress=zstd" "noatime" ];
}; };
fileSystems."/var/log" = fileSystems."/var/log" =
{ device = "/dev/disk/by-uuid/830e6948-9661-47b2-968d-e939b4bb83b1"; { device = "/dev/mapper/cryptroot";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=log" "compress=zstd" "noatime" ]; options = [ "subvol=log" "compress=zstd" "noatime" ];
neededForBoot = true; neededForBoot = true;
@@ -27,7 +27,7 @@
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/60CE-EFBA"; { device = "/dev/disk/by-partlabel/boot";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ]; options = [ "fmask=0077" "dmask=0077" ];
}; };