diff --git a/nixos/machines/nodens/hardware-configuration.nix b/nixos/machines/nodens/hardware-configuration.nix index ebb45bc..756354c 100644 --- a/nixos/machines/nodens/hardware-configuration.nix +++ b/nixos/machines/nodens/hardware-configuration.nix @@ -30,16 +30,28 @@ fileSystems."/mnt/persist" = { device = "/dev/disk/by-label/nixos"; fsType = "btrfs"; - options = ["subvol=persist"]; + options = [ + "subvol=persist" + "users" # Allows any user to mount and unmount + "nofail" # Prevent system from failing if this drive doesn't mount + ]; }; fileSystems."/mnt/boot" = { device = "/dev/disk/by-label/boot"; fsType = "ext4"; + options = [ + "users" # Allows any user to mount and unmount + "nofail" # Prevent system from failing if this drive doesn't mount + ]; }; fileSystems."/mnt/nix" = { device = "/dev/disk/by-label/nixos"; fsType = "btrfs"; - options = ["subvol=nix"]; + options = [ + "subvol=nix" + "users" # Allows any user to mount and unmount + "nofail" # Prevent system from failing if this drive doesn't mount + ]; }; swapDevices = [{device = "/dev/disk/by-uuid/89e13a83-506a-43b4-b06a-09424500ceda";}];