From e967841fe43f1689c78633da55b8cf8935c086bc Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Tue, 14 Jun 2022 21:12:53 +0200 Subject: [PATCH] Fix mounts --- hosts/harrison/hardware-configuration.nix | 32 +++++++++++------------ 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/hosts/harrison/hardware-configuration.nix b/hosts/harrison/hardware-configuration.nix index 56e9652e..9dd07ad4 100644 --- a/hosts/harrison/hardware-configuration.nix +++ b/hosts/harrison/hardware-configuration.nix @@ -24,7 +24,7 @@ boot.loader.grub.mirroredBoots = [ { devices = [ "/dev/disk/by-uuid/4B4A-B1B4" ]; - path = "/boot1"; + path = "/boot"; } { devices = [ "/dev/disk/by-uuid/4B2C-385A" ]; @@ -39,27 +39,27 @@ fsType = "ext4"; }; - # "/boot" = - # { - # device = "/dev/disk/by-uuid/4B4A-B1B4"; - # fsType = "vfat"; - # }; - # - # "/boot2" = - # { - # device = "/dev/disk/by-uuid/4B2C-385A"; - # fsType = "vfat"; - # }; - - "/home/hensoko/data" = + "/boot" = { - device = "/dev/disk/by-uuid/c307a14c-6e6e-478b-a0e5-4dbd8bdccf32"; + device = "/dev/disk/by-uuid/4B4A-B1B4"; + fsType = "vfat"; + }; + + "/boot2" = + { + device = "/dev/disk/by-uuid/4B2C-385A"; + fsType = "vfat"; + }; + + "/home" = + { + device = "/dev/mapper/vg0-home"; fsType = "ext4"; }; }; swapDevices = - [{ device = "/dev/disk/by-uuid/51348108-5c29-4251-a087-5a7de2eb97b5"; }]; + [{ device = "/dev/mapper/vg0-swap"; }]; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }