Pantheon: Difference between revisions
m Clarify restoring default settings |
mNo edit summary |
||
| (One intermediate revision by one other user 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. | ||