diff --git a/hosts/desktop/hardware-configuration.nix b/hosts/desktop/hardware-configuration.nix index b49d1f0..1c3adff 100644 --- a/hosts/desktop/hardware-configuration.nix +++ b/hosts/desktop/hardware-configuration.nix @@ -23,6 +23,14 @@ device = "/dev/disk/by-label/boot"; fsType = "vfat"; }; + # Prevent SCARLETT from auto-mounting + # https://askubuntu.com/a/959004 + # If noauto isn't set it will try to mount, + # and crash the system if /mnt/scarlett doesn't exist + "/mnt/scarlett" = { + device = "/dev/disk/by-label/SCARLETT"; + options = [ "defaults" "noauto" ]; + }; }; swapDevices = [ ];