From 3222afc0c9660895c175a51acbf080eab4eb9738 Mon Sep 17 00:00:00 2001 From: nevaforget <> Date: Wed, 9 Sep 2026 19:57:09 +0200 Subject: [PATCH] feat(disk): show the storage disk in file managers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A plain fstab entry is invisible to Thunar and friends — they list removable media and gvfs entries, so the disk could only be reached by typing its path. x-gvfs-show puts it in the sidebar, and because the entry is noauto it appears as a drive that is not mounted yet, which is what it usually is. Note when changing this: the gvfs volume monitor reads fstab at startup, so an already-running one has to be restarted before the entry shows up. --- modules/disk.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/disk.nix b/modules/disk.nix index 64e907a..ccf1f45 100644 --- a/modules/disk.nix +++ b/modules/disk.nix @@ -42,6 +42,12 @@ let "x-systemd.device-timeout=5" "x-systemd.mount-timeout=10" "x-systemd.idle-timeout=600" + # Without this the disk is reachable only by typing its path: file managers + # list removable media and gvfs entries, not plain fstab lines. Since the + # entry is noauto, it shows up as a drive that is not mounted yet, which is + # what it usually is. + "x-gvfs-show" + "x-gvfs-name=Storage" ]; storageSubvolumes = {