summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/x11/display-managers
AgeCommit message (Collapse)Author
2020-04-29nixos/lightdm: change background type to pathJan Tojnar
2020-04-29nixos-artwork: add file path attributesworldofpeace
This makes things so much easier, and we install to the path that both gnome-backgrounds and elementary-wallpapers install to.
2020-04-21treewide: add bool type to enable options, or make use of mkEnableOptionDominik Xaver Hörl
Add missing type information to manually specified enable options or replace them by mkEnableOption where appropriate.
2020-04-14Merge pull request #84255 from prikhi/lightdm-mini-greeter-040worldofpeace
lightdm-mini-greeter: 0.3.4 -> 0.4.0
2020-04-05nixos/gdm: fix startupJan Tojnar
In https://github.com/NixOS/nixpkgs/commit/7f838b4ddeadffbbe5863a6ca27ad776064a2f4a, we dropped systemd-udev-settle.service from display-manager.service's wants. Unfortunately, we are doing something wrong since without it both Xorg and Wayland fail to start: Failed to open gpu '/dev/dri/card0': GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Operation not permitted Until we sort this out, let's add systemd-udev-settle.service to GDM to unblock the channels.
2020-04-04lightdm-mini-greeter: 0.3.4 -> 0.4.0Pavan Rikhi
2020-04-01nixos: add freedesktop/gnome/myself maintainersworldofpeace
2020-03-29nixos/display-managers: don't start pulseaudioworldofpeace
Hey, we have sockets.
2020-03-28nixos.display-managers: use new attribute for desktop namesJosé Romildo Malaquias
2020-03-11nixos/lightdm-tiny-greeter: init moduleEdward Tjörnhammar
2020-02-23nixos/gdm: Fix pulseaudio tmpfiles structure (#80274)tobim
* nixos/gdm: Fix pulseaudio tmpfiles structure Fix the following startup failure of the sound service in the gdm session that was introduced by #75893: ``` Feb 16 11:44:15 qp pulseaudio[1432]: W: [pulseaudio] core-util.c: Failed to open configuration file '/run/gdm/.config/pulse//daemon.conf': Not a directory Feb 16 11:44:15 qp pulseaudio[1432]: W: [pulseaudio] daemon-conf.c: Failed to open configuration file: Not a directory Feb 16 11:44:15 qp systemd[1380]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE Feb 16 11:44:15 qp systemd[1380]: pulseaudio.service: Failed with result 'exit-code'. Feb 16 11:44:15 qp systemd[1380]: Failed to start Sound Service. ``` Co-authored-by: worldofpeace <worldofpeace@protonmail.ch>
2020-02-12nixos/display-managers: Add DesktopNames parameter to generated desktop ↵Ilya Fedin
session files Some display managers (e.g. SDDM) set the XDG_CURRENT_DESKTOP variable accroding to this parameter. If this variable is not defined, there will be some problems (e.g. MATE doesn't have icons on the desktop). Fixes https://github.com/NixOS/nixpkgs/issues/71427
2020-02-06nixos/services.xserver: Fix legacy options for default wm without dmJan Tojnar
We switched to unified default session option services.xserver.displayManager.defaultSession and included fallback path for the legacy options. Unfortunately when only services.xserver.windowManager.default is set and not services.xserver.desktopManager.default, it got incorrectly converted to the new option. This should fix that. Closes: https://github.com/NixOS/nixpkgs/issues/76684
2020-01-29nixos/display-managers/auto: removeworldofpeace
This module allows root autoLogin, so we would break that for users, but they shouldn't be using it anyways. This gives the impression like auto is some special display manager, when it's just lightdm and special pam rules to allow root autoLogin. It was created for NixOS's testing so I believe this is where it belongs.
2020-01-18gdm: refactor to properly handle wayland sessionsElyhaka
2020-01-08nixos/gdm: Fix tmpfiles configuration syntaxAnders Kaseorg
Fixes this error from `nixos-rebuild switch` introduced by #75893: setting up tmpfiles [/etc/tmpfiles.d/nixos.conf:7] Invalid age 'yes'. warning: error(s) occurred while switching to the new configuration Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-06Merge pull request #75893 from worldofpeace/gdm-tmpfilesworldofpeace
nixos/gdm: use systemd tmpfiles instead of preStart
2019-12-29nixos/displayManager: fix typo in legacy sessions (#76626)Tor Hedin Brønner
xsession gets passed `dm` `wm`, so the desktop manager would be launched before the window manager resulting in a regular desktop manager session. Fixes https://github.com/NixOS/nixpkgs/issues/76625
2019-12-18nixos/gdm: use systemd tmpfiles instead of preStartworldofpeace
Thet was a mess before. This should be more reliable.
2019-12-15nixos/displayManager: deprecate separate options for default wm/dmJan Tojnar
The upstream session files display managers use have no concept of sessions being composed from desktop manager and window manager. To be able to set upstream session files as default session, we need a single option. Having two different ways to set default session would be confusing, though, so we decided to deprecate the old method. We also created separate script for each session, just like we already had a separate desktop file for each one, and started using displayManager.sessionPackages mechanism to make the session handling more uniform.
2019-12-15nixos/lightdm: enable wayland sessionsTor Hedin Brønner
Note: can't launch gnome on wayland due to duplicate entry names: https://github.com/CanonicalLtd/lightdm/issues/16
2019-12-15nixos/displayManager: introduce defaultSessionTor Hedin Brønner
There's two ways of providing graphical sessions now: - `displayManager.session` via. `desktopManager.session` and `windowManager.session` - `displayManager.sessionPackages` `sessionPackages` doesn't make a distinction between desktop and window managers. This makes selecting a session provided by a package using `desktopManager.default` nonsensical. We therefor introduce `displayManager.defaultSession` which can select a session from either `displayManager.session` or `displayManager.sessionPackages`. It will default to `desktopManager.default + windowManager.default` as before. If the dm default is "none" it will select the first provided session from `sessionPackages`.
2019-12-15nixos/displayManager: check for provided sessions in mkDesktopsTor Hedin Brønner
2019-12-15nixos/sessionPackages: provide session names in passthruTor Hedin Brønner
We want access to the valid session names at evaluation time.
2019-12-15nixos/display-manager: extraSessionFilePackages -> sessionPackagesTor Hedin Brønner
2019-12-12nixos/lightdm-greeters/pantheon: show manual login cardworldofpeace
I find this important to be default on for users in https://github.com/elementary/greeter/issues/394
2019-12-11nixos/gdm: do not force the sessionTor Hedin Brønner
Having a default session resulted in GDM not remembering the last used session. So do not force the session until setSessionScript is made aware of the last session used.
2019-12-10nixos/treewide: Move rename.nix imports to their respective modulesSilvan Mosberger
A centralized list for these renames is not good because: - It breaks disabledModules for modules that have a rename defined - Adding/removing renames for a module means having to find them in the central file - Merge conflicts due to multiple people editing the central file
2019-12-01dconf: move to top-levelJan Tojnar
2019-11-27Merge pull request #70295 from worldofpeace/mutter-eglstreamsworldofpeace
Mutter eglstreams
2019-11-22nixos/gdm: don't raise an Exception in set-session scriptworldofpeace
https://github.com/NixOS/nixpkgs/pull/73378#discussion_r349825541
2019-11-22Merge pull request #73378 from worldofpeace/gdm-default-sessionworldofpeace
nixos/gdm: make desktopManager.default work
2019-11-22nixos/gdm: make desktopManager.default workworldofpeace
Unfortunately, you can't configure the default user-session with GDM like lightdm. I've opened a feature request [0] but I'd like to be able to do this now. We use a GObject Python script using bindings to AccountsService to achieve this. I'm hoping the reliable heuristic for session names is the file's basename. We also have some special logic for which method to use to set the default session. It seems set_x_session is deprecated, and thusly the XSession key, but if that method isn't used when it's an xsession it won't be the default in GDM. [0]: https://gitlab.gnome.org/GNOME/gdm/issues/535
2019-11-19nixos/gdm: disable wayland when modesetting is disabledworldofpeace
Probably a good idea to have.
2019-11-19nixos/gdm: add nvidiaWayland optionworldofpeace
2019-11-11nixos/slim: removeworldofpeace
The SLIM project is abandoned and their last release was in 2013. Because of this it poses a security risk to systems, no one is working on it or picked up maintenance. It also lacks compatibility with systemd and logind sessions. For users, there liikely isn't anything like slim that's as lightweight in terms of dependencies.
2019-10-19ssdm: fix identifier for xserver-wrapperft
2019-10-13Merge pull request #71065 from worldofpeace/gdm-no-plymouth-conflictworldofpeace
nixos/gdm: don't conflict with plymouth-quit
2019-10-13nixos/gdm: don't conflict with plymouth-quitworldofpeace
Co-Authored-By: Tor Hedin Brønner <torhedinbronner@gmail.com>
2019-10-13nixos/lightdm: do not conflict with plymouth (#71061)Tor Hedin Brønner
Having `display-manager` conflict with `plymouth-quit` causes this lock up: - `plymouth-quit-wait` starts up, waiting for plymouth-quit to run - `lightdm` starts up - `plymouth-quit` can't start, it conflicts with lightdm - `plymouth-quit-wait` keeps waiting on plymouth-quit to kill plymouthd The idea is having LightDM control when plymouth quits, but communication with plymouth was broken: https://github.com/NixOS/nixpkgs/pull/71064 Unfortunately having the conflict breaks switching to configurations with plymouth enabled. So we still need to remove the conflict. fixes #71034
2019-10-11nixos/gdm: do not restart on reload switch (#70357)Tor Hedin Brønner
Not entirely sure how this works, but this does seem to fix reload switch killing the current graphical session.
2019-10-06nixos/lightdm: improve systemd serviceworldofpeace
These improvements come from shopping around at what other downstreams have done with their systemd units and recent changes like [0] to gdm. Note there's no requries or after on dbus.socket because settings BusName will set this up automaticallly and give it a type of dbus. [0]: https://gitlab.gnome.org/GNOME/gdm/commit/2d57f45962dca4975424c20312d7e04f6ff5d55e
2019-10-05nixos/gdm: follow upstream's service configTor Hedin Brønner
2019-10-05nixos/gdm: make config dir for gnome-initial-setupTor Hedin Brønner
Observed failure to lauch gdm in a VM due to missing /run/gdm.config.
2019-10-03nixos/gdm: prevent g-i-s from runningworldofpeace
2019-09-30nixos/gdm: start after getty@tty1Tor Hedin Brønner
GDM is now killed if tty1 is started after gdm is launched. This follows upstream's gdm service config. This might cause problems with nixos-rebuild switch though. See the reasoning and work that led to not following upstream on this: https://github.com/NixOS/nixpkgs/issues/21439 4a180da c46d4da
2019-09-27nixos/gdm: update descriptionworldofpeace
GDM isn't dangerous anymore in NixOS.
2019-09-18Merge pull request #68729 from worldofpeace/elementary-greeter/masterworldofpeace
nixos/pantheon: use Pantheon's greeter
2019-09-18lightdm-mini-greeter: put xgreeters in passthruworldofpeace
2019-09-18nixos/lightdm-gtk-greeter: don't wrap in moduleworldofpeace