GNOME: Difference between revisions
Fixed lines I previously added since packages shown were technically optional but not what most consider optional (ie. settings). |
→Enable system tray icons: Remove configuration line for udev as gnome-settings-daemon is already added in the desktop module. |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 21: | Line 21: | ||
services.desktopManager.gnome.enable = true; | services.desktopManager.gnome.enable = true; | ||
# | # To disable installing GNOME's suite of applications | ||
# and only be left with GNOME shell. | |||
services.gnome.core-apps.enable = false; | services.gnome.core-apps.enable = false; | ||
services.gnome.core-developer-tools.enable = false; | services.gnome.core-developer-tools.enable = false; | ||
services.gnome.games.enable = false; | services.gnome.games.enable = false; | ||
environment.gnome.excludePackages = with pkgs; [ gnome-tour gnome-user-docs ]; | environment.gnome.excludePackages = with pkgs; [ gnome-tour gnome-user-docs ]; | ||
| Line 171: | Line 171: | ||
=== Discover dconf settings === | === Discover dconf settings === | ||
If you wish to discover the corresponding dconf entry for a given setting in a program, you can run | If you wish to discover the corresponding dconf entry for a given setting in a program, you can run <code>dconf watch /</code> inside of a terminal and change the setting graphically. For example, when changing toggling the Quick-Settings option "Dark Style" from "on" to "off" and back to "on," this will be the output:<syntaxhighlight lang="shell-session"> | ||
$ dconf watch / | $ dconf watch / | ||
/org/gnome/desktop/interface/color-scheme | /org/gnome/desktop/interface/color-scheme | ||
| Line 206: | Line 206: | ||
GNOME does not currently support system tray icons. However, Ubuntu has created an [https://extensions.gnome.org/extension/615/appindicator-support/ extension] that implements this in the top bar. You can install this extension with the following in NixOS: | GNOME does not currently support system tray icons. However, Ubuntu has created an [https://extensions.gnome.org/extension/615/appindicator-support/ extension] that implements this in the top bar. You can install this extension with the following in NixOS: | ||
{{File|3={ | {{File|3={ | ||
environment.systemPackages = [ pkgs.gnomeExtensions.appindicator | environment.systemPackages = [ pkgs.gnomeExtensions.appindicator ]; | ||
}|name=/etc/nixos/configuration.nix|lang=nix}}You can also install the extension outside of Nix and it will function the same. | |||
}|name=/etc/nixos/configuration.nix|lang=nix}} | |||
=== Profiling (with sysprof) === | === Profiling (with sysprof) === | ||
| Line 272: | Line 271: | ||
=== Automatic login === | === Automatic login === | ||
For automatic login, include this in your NixOS configuration adjusting the "<your username>" part with your username: | |||
{{File|3={ | {{File|3={ | ||
services | services.displayManager.autoLogin.enable = true; | ||
services | services.displayManager.autoLogin.user = "<your username>"; | ||
}|name=/etc/nixos/configuration.nix|lang=nix}} | }|name=/etc/nixos/configuration.nix|lang=nix}} | ||