Skip to content

Commit f05abea

Browse files
committed
feat(desktop): skip GNOME welcome tour + startup overview
On first login GNOME shows the gnome-tour "Welcome to NixOS / Take the Tour" dialog and drops you into the Activities overview (app/window grid). Skip both on the appliance: - environment.gnome.excludePackages = [ pkgs.gnome-tour ] removes the welcome tour (GNOME Shell auto-launches its .desktop file on first login; dropping the package is the only way to suppress it). - Ship the no-overview Shell extension and enable it via programs.dconf (org/gnome/shell enabled-extensions), since GNOME has no gsetting to disable the startup overview. Lands the session on the bare desktop instead.
1 parent b429014 commit f05abea

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

‎configuration.nix‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,26 @@ in
216216
variant = "";
217217
};
218218

219+
# ── Skip GNOME's first-run welcome experience ─────────────────────────────
220+
# Out of the box GNOME greets every new login with two things this appliance
221+
# doesn't want:
222+
# 1. gnome-tour — the "Welcome to NixOS / Take the Tour" dialog. GNOME
223+
# Shell auto-launches it from its .desktop file on first login (it ships
224+
# in the default GNOME package set), so the only way to suppress it is to
225+
# drop the package via environment.gnome.excludePackages.
226+
# 2. The Activities overview (the app/window grid) shown at session
227+
# startup. GNOME has no gsetting to disable this, so we ship the
228+
# "no-overview" Shell extension and enable it for the session, which
229+
# lands you on the bare desktop instead of the overview.
230+
# (the no-overview extension package is added to environment.systemPackages
231+
# in the shared package list below.)
232+
environment.gnome.excludePackages = [ pkgs.gnome-tour ];
233+
programs.dconf.profiles.user.databases = [
234+
{
235+
settings."org/gnome/shell".enabled-extensions = [ "no-overview@fthx" ];
236+
}
237+
];
238+
219239
# ── Audio ─────────────────────────────────────────────────────────────────
220240
services.pulseaudio.enable = false;
221241
security.rtkit.enable = true;
@@ -307,6 +327,9 @@ in
307327
terraform
308328
gh
309329
vlc
330+
# GNOME Shell extension that suppresses the Activities overview shown at
331+
# session startup (enabled via programs.dconf above). See the Desktop block.
332+
gnomeExtensions.no-overview
310333
];
311334

312335
nix.settings.experimental-features = [

0 commit comments

Comments
 (0)