Pantheon: Difference between revisions

Elian (talk | contribs)
m Clarify restoring default settings
m services.xserver.desktopManager.pantheon -> services.desktopManager.pantheon
 
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>


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:


* opt-services.xserver.desktopManager.pantheon.extraWingpanelIndicators
* <code>services.xserver.desktopManager.pantheon.extraWingpanelIndicators</code> (for NixOS 25.11 or later, <code>services.desktopManager.pantheon.extraWingpanelIndicators</code>)
* opt-services.xserver.desktopManager.pantheon.extraSwitchboardPlugs
* <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.