diff --git a/configurations/hardware/fs.txt b/configurations/hardware/fs.txt new file mode 100644 index 0000000..9c67b26 --- /dev/null +++ b/configurations/hardware/fs.txt @@ -0,0 +1,3 @@ +root - "50213d1b-ec8c-4d8d-a4e5-1fd0ee204687" + 4 - "b3aeb2c4-ace5-4764-8479-12b223c701ba" + diff --git a/configurations/hardware/mini-pc.nix b/configurations/hardware/mini-pc.nix index 70484be..440c83d 100644 --- a/configurations/hardware/mini-pc.nix +++ b/configurations/hardware/mini-pc.nix @@ -44,11 +44,13 @@ fileSystems = { "/" = { - device = "/dev/disk/by-partlabel/disk-${xlib.device.hostname}-root"; + #device = "/dev/disk/by-partlabel/disk-${xlib.device.hostname}-root"; + device = "/dev/disk/by-partuuid/50213d1b-ec8c-4d8d-a4e5-1fd0ee204687"; fsType = "ext4"; }; "/boot" = { - device = "/dev/disk/by-partlabel/disk-${xlib.device.hostname}-ESP"; + #device = "/dev/disk/by-partlabel/disk-${xlib.device.hostname}-ESP"; + device = "/dev/disk/by-partuuid/b3aeb2c4-ace5-4764-8479-12b223c701ba"; fsType = "vfat"; options = [ "fmask=0077" diff --git a/home/home.nix b/home/home.nix index 830090b..dbd51ff 100644 --- a/home/home.nix +++ b/home/home.nix @@ -16,7 +16,8 @@ let home = { username = username; stateVersion = lib.mkDefault "25.05"; - homeDirectory = if username == "root" then lib.mkDefault "/${username}" else lib.mkDefault "/home/${username}"; + homeDirectory = + if username == "root" then lib.mkDefault "/${username}" else lib.mkDefault "/home/${username}"; enableNixpkgsReleaseCheck = false; }; }; @@ -24,7 +25,8 @@ let home = { username = username; stateVersion = lib.mkDefault "25.05"; - homeDirectory = if username == "root" then lib.mkDefault "/${username}" else lib.mkDefault "/home/${username}"; + homeDirectory = + if username == "root" then lib.mkDefault "/${username}" else lib.mkDefault "/home/${username}"; enableNixpkgsReleaseCheck = false; }; }; @@ -35,7 +37,8 @@ let home = { username = username; stateVersion = lib.mkDefault "25.05"; - homeDirectory = if username == "root" then lib.mkDefault "/${username}" else lib.mkDefault "/home/${username}"; + homeDirectory = + if username == "root" then lib.mkDefault "/${username}" else lib.mkDefault "/home/${username}"; enableNixpkgsReleaseCheck = false; }; };