Pantheon: Difference between revisions
m Added link to NixOS manual |
mNo edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 9: | Line 9: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
services.xserver.enable = true; | services.xserver.enable = true; | ||
# For NixOS 25.05 or older | |||
services.xserver.desktopManager.pantheon.enable = true; | services.xserver.desktopManager.pantheon.enable = true; | ||
# For NixOS 25.11 or later | |||
services.desktopManager.pantheon.enable = true; | |||
</syntaxhighlight> | </syntaxhighlight> | ||
This automatically enables LightDM and Pantheon's LightDM greeter. If you'd like to disable this, set | This automatically enables [[LightDM]] and Pantheon's LightDM greeter. If you'd like to disable this, set | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
| Line 31: | Line 35: | ||
Wingpanel and Switchboard work differently than they do in other distributions, as far as using plugins. You cannot install a plugin globally (like with option <code>environment.systemPackages</code>) to start using it. You should instead be using the following options: | Wingpanel and Switchboard work differently than they do in other distributions, as far as using plugins. You cannot install a plugin globally (like with option <code>environment.systemPackages</code>) to start using it. You should instead be using the following options: | ||
* | * <code>services.xserver.desktopManager.pantheon.extraWingpanelIndicators</code> (for NixOS 25.11 or later, <code>services.desktopManager.pantheon.extraWingpanelIndicators</code>) | ||
* | * <code>services.xserver.desktopManager.pantheon.extraSwitchboardPlugs</code> (for NixOS 25.11 or later, <code>services.desktopManager.pantheon.extraSwitchboardPlugs</code>) | ||
to configure the programs with plugs or indicators. | to configure the programs with plugs or indicators. | ||
| Line 72: | Line 76: | ||
=== I have switched from a different desktop and Pantheon’s theming looks messed up. === | === I have switched from a different desktop and Pantheon’s theming looks messed up. === | ||
Open Switchboard and go to: Administration → | Open Switchboard (System Settings) and go to: Administration → System → Restore Default Settings → Restore Settings. This will reset any <code>dconf</code> settings to their Pantheon defaults. Note this could reset certain GNOME-specific preferences if that desktop was used prior. | ||
=== I cannot enable both GNOME and Pantheon. === | === I cannot enable both GNOME and Pantheon. === | ||