1 # This module defines a NixOS installation CD that contains GNOME.
6 imports = [ ./installation-cd-graphical-calamares.nix ];
8 isoImage.edition = "gnome";
10 services.xserver.desktopManager.gnome = {
11 # Add Firefox and other tools useful for installation to the launcher
12 favoriteAppsOverride = ''
14 favorite-apps=[ 'firefox.desktop', 'nixos-manual.desktop', 'org.gnome.Console.desktop', 'org.gnome.Nautilus.desktop', 'gparted.desktop', 'io.calamares.calamares.desktop' ]
17 # Override GNOME defaults to disable GNOME tour and disable suspend
18 extraGSettingsOverrides = ''
20 welcome-dialog-last-shown-version='9999999999'
21 [org.gnome.desktop.session]
23 [org.gnome.settings-daemon.plugins.power]
24 sleep-inactive-ac-type='nothing'
25 sleep-inactive-battery-type='nothing'
28 extraGSettingsOverridePackages = [ pkgs.gnome-settings-daemon ];
33 # Fix scaling for calamares on wayland
34 environment.variables = {
35 QT_QPA_PLATFORM = "$([[ $XDG_SESSION_TYPE = \"wayland\" ]] && echo \"wayland\")";
38 services.xserver.displayManager.gdm = {
40 # autoSuspend makes the machine automatically suspend after inactivity.
41 # It's possible someone could/try to ssh'd into the machine and obviously
42 # have issues because it's inactive.
44 # * https://github.com/NixOS/nixpkgs/pull/63790
45 # * https://gitlab.gnome.org/GNOME/gnome-control-center/issues/22
49 services.displayManager.autoLogin = {