Pantheon: Difference between revisions

Elian (talk | contribs)
m Clarify restoring default settings
DHCP (talk | contribs)
m Does AppCenter work, or is it available?: use highlight "console" for shell command
 
(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:


* 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.
Line 83: Line 87:
If you are using Pantheon, AppCenter should be installed by default if you have Flatpak support enabled. If you also wish to add the appcenter Flatpak remote:
If you are using Pantheon, AppCenter should be installed by default if you have Flatpak support enabled. If you also wish to add the appcenter Flatpak remote:


<syntaxhighlight lang="shell">
<syntaxhighlight lang="console">
flatpak remote-add --if-not-exists appcenter https://flatpak.elementary.io/repo.flatpakrepo
$ flatpak remote-add --if-not-exists appcenter https://flatpak.elementary.io/repo.flatpakrepo
</syntaxhighlight>
</syntaxhighlight>