diff --git a/modules/gnome-config.nix b/modules/gnome-config.nix index 1e4aa5d..15a1cd8 100644 --- a/modules/gnome-config.nix +++ b/modules/gnome-config.nix @@ -52,6 +52,11 @@ "org/gnome/desktop/media-handling" = { # Settings > Removable Media > Never promt or start apps on media insertion autorun-never = true; + + # Don't automount external drives. + # https://unix.stackexchange.com/a/460299/315162 + automount = false; + automount-open = false; }; "org/gnome/settings-daemon/plugins/power" = {