From c8469703a2805e2a49616a298d9d67b304ef8a4d Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Sun, 15 Sep 2024 01:17:20 +0000 Subject: [PATCH] Update hardware configuration --- hosts/vmware/hardware-configuration.nix | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/hosts/vmware/hardware-configuration.nix b/hosts/vmware/hardware-configuration.nix index e7e6c1e..ac65933 100644 --- a/hosts/vmware/hardware-configuration.nix +++ b/hosts/vmware/hardware-configuration.nix @@ -21,12 +21,6 @@ fsType = "iso9660"; }; - fileSystems."/nix/.ro-store" = - { device = "/iso/nix-store.squashfs"; - fsType = "squashfs"; - options = [ "loop" ]; - }; - fileSystems."/nix/.rw-store" = { device = "tmpfs"; fsType = "tmpfs"; @@ -37,11 +31,29 @@ fsType = "overlay"; }; + fileSystems."/nix/store" = + { device = "/nix/store"; + fsType = "none"; + options = [ "bind" ]; + }; + fileSystems."/mnt" = { device = "/dev/disk/by-uuid/cc7fc1f5-77b0-4fd6-89c2-dde99d6247ca"; fsType = "ext4"; }; + fileSystems."/mnt/boot" = + { device = "/dev/disk/by-uuid/73DE-6834"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; + + fileSystems."/nix/.ro-store" = + { device = "/iso/nix-store.squashfs"; + fsType = "squashfs"; + options = [ "loop" ]; + }; + swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking