nixos/pantheon: Move out of X11
The next few commits will make pantheon-wayland the default. Note that the Pantheon LightDM greeter option is left untouched right now since it still runs under X11.
This commit is contained in:
2
.github/labeler.yml
vendored
2
.github/labeler.yml
vendored
@@ -393,7 +393,7 @@
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- nixos/modules/services/desktops/pantheon/**/*
|
||||
- nixos/modules/services/x11/desktop-managers/pantheon.nix
|
||||
- nixos/modules/services/desktop-managers/pantheon.nix
|
||||
- nixos/modules/services/x11/display-managers/lightdm-greeters/pantheon.nix
|
||||
- nixos/tests/pantheon.nix
|
||||
- pkgs/desktops/pantheon/**/*
|
||||
|
||||
@@ -38,7 +38,7 @@ In addition to numerous new and upgraded packages, this release has the followin
|
||||
|
||||
- GNOME 3 has been upgraded to 3.34. Please take a look at their [Release Notes](https://help.gnome.org/misc/release-notes/3.34) for details.
|
||||
|
||||
- If you enable the Pantheon Desktop Manager via [services.xserver.desktopManager.pantheon.enable](options.html#opt-services.xserver.desktopManager.pantheon.enable), we now default to also use [ Pantheon's newly designed greeter ](https://blog.elementary.io/say-hello-to-the-new-greeter/). Contrary to NixOS's usual update policy, Pantheon will receive updates during the cycle of NixOS 20.03 when backwards compatible.
|
||||
- If you enable the Pantheon Desktop Manager via `services.xserver.desktopManager.pantheon.enable`, we now default to also use [ Pantheon's newly designed greeter ](https://blog.elementary.io/say-hello-to-the-new-greeter/). Contrary to NixOS's usual update policy, Pantheon will receive updates during the cycle of NixOS 20.03 when backwards compatible.
|
||||
|
||||
- By default zfs pools will now be trimmed on a weekly basis. Trimming is only done on supported devices (i.e. NVME or SSDs) and should improve throughput and lifetime of these devices. It is controlled by the `services.zfs.trim.enable` varname. The zfs scrub service (`services.zfs.autoScrub.enable`) and the zfs autosnapshot service (`services.zfs.autoSnapshot.enable`) are now only enabled if zfs is set in `config.boot.initrd.supportedFilesystems` or `config.boot.supportedFilesystems`. These lists will automatically contain zfs as soon as any zfs mountpoint is configured in `fileSystems`.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Pantheon is the desktop environment created for the elementary OS distribution.
|
||||
|
||||
All of Pantheon is working in NixOS and the applications should be available, aside from a few [exceptions](https://github.com/NixOS/nixpkgs/issues/58161). To enable Pantheon, set
|
||||
```nix
|
||||
{ services.xserver.desktopManager.pantheon.enable = true; }
|
||||
{ services.desktopManager.pantheon.enable = true; }
|
||||
```
|
||||
This automatically enables LightDM and Pantheon's LightDM greeter. If you'd like to disable this, set
|
||||
```nix
|
||||
@@ -25,8 +25,8 @@ You can also use [](#opt-environment.pantheon.excludePackages) to remove any oth
|
||||
|
||||
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}`environment.systemPackages`) to start using it. You should instead be using the following options:
|
||||
|
||||
- [](#opt-services.xserver.desktopManager.pantheon.extraWingpanelIndicators)
|
||||
- [](#opt-services.xserver.desktopManager.pantheon.extraSwitchboardPlugs)
|
||||
- [](#opt-services.desktopManager.pantheon.extraWingpanelIndicators)
|
||||
- [](#opt-services.desktopManager.pantheon.extraSwitchboardPlugs)
|
||||
|
||||
to configure the programs with plugs or indicators.
|
||||
|
||||
@@ -10,7 +10,7 @@ with lib;
|
||||
|
||||
let
|
||||
|
||||
cfg = config.services.xserver.desktopManager.pantheon;
|
||||
cfg = config.services.desktopManager.pantheon;
|
||||
serviceCfg = config.services.pantheon;
|
||||
|
||||
nixos-gsettings-desktop-schemas = pkgs.pantheon.elementary-gsettings-schemas.override {
|
||||
@@ -28,6 +28,13 @@ in
|
||||
maintainers = teams.pantheon.members;
|
||||
};
|
||||
|
||||
imports = [
|
||||
(lib.mkRenamedOptionModule
|
||||
[ "services" "xserver" "desktopManager" "pantheon" ]
|
||||
[ "services" "desktopManager" "pantheon" ]
|
||||
)
|
||||
];
|
||||
|
||||
options = {
|
||||
|
||||
services.pantheon = {
|
||||
@@ -40,7 +47,7 @@ in
|
||||
|
||||
};
|
||||
|
||||
services.xserver.desktopManager.pantheon = {
|
||||
services.desktopManager.pantheon = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
@@ -98,7 +105,7 @@ in
|
||||
|
||||
config = mkMerge [
|
||||
(mkIf cfg.enable {
|
||||
services.xserver.desktopManager.pantheon.sessionPath = utils.removePackagesByName [
|
||||
services.desktopManager.pantheon.sessionPath = utils.removePackagesByName [
|
||||
pkgs.pantheon.pantheon-agent-geoclue2
|
||||
] config.environment.pantheon.excludePackages;
|
||||
|
||||
@@ -33,7 +33,7 @@ in
|
||||
./retroarch.nix
|
||||
./kodi.nix
|
||||
./mate.nix
|
||||
./pantheon.nix
|
||||
../../desktop-managers/pantheon.nix
|
||||
./surf-display.nix
|
||||
./cde.nix
|
||||
./cinnamon.nix
|
||||
|
||||
@@ -619,7 +619,7 @@ rec {
|
||||
{ ... }:
|
||||
{
|
||||
services.xserver.enable = true;
|
||||
services.xserver.desktopManager.pantheon.enable = true;
|
||||
services.desktopManager.pantheon.enable = true;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
virtualisation.memorySize = 2047;
|
||||
|
||||
services.xserver.enable = true;
|
||||
services.xserver.desktopManager.pantheon.enable = true;
|
||||
services.desktopManager.pantheon.enable = true;
|
||||
services.displayManager = {
|
||||
autoLogin.enable = true;
|
||||
autoLogin.user = nodes.machine.users.users.alice.name;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
virtualisation.memorySize = 2047;
|
||||
|
||||
services.xserver.enable = true;
|
||||
services.xserver.desktopManager.pantheon.enable = true;
|
||||
services.desktopManager.pantheon.enable = true;
|
||||
|
||||
# We ship pantheon.appcenter by default when this is enabled.
|
||||
services.flatpak.enable = true;
|
||||
|
||||
@@ -140,7 +140,7 @@ cfgpantheon = """ # Enable the X11 windowing system.
|
||||
|
||||
# Enable the Pantheon Desktop Environment.
|
||||
services.xserver.displayManager.lightdm.enable = true;
|
||||
services.xserver.desktopManager.pantheon.enable = true;
|
||||
services.desktopManager.pantheon.enable = true;
|
||||
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user