summary refs log tree commit diff
path: root/nixos/modules/services/x11/display-managers/lightdm.nix
Commit message (Collapse)AuthorAge
* nixos/lightdm: enable polkitMartin Weinelt2022-01-27
| | | | | | Required as visible in the lightdm tests: > Error updating user /org/freedesktop/Accounts/User1001: GDBus.Error:org.freedesktop.Accounts.Error.PermissionDenied: Not authorized: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files
* nixos/lightdm: fix tmpfile by changing 0 to -Artturin2021-12-03
| | | | Closes https://github.com/NixOS/nixpkgs/issues/116631
* [nixos/lightdm] allow for background option to be either path or colorMariusz `shd` Gliwiński2021-11-12
|
* nixos/doc: clean up defaults and examplesNaïm Favier2021-10-04
|
* nixos: reduce pam files rebuilds on updatesJörg Thalheim2021-08-20
| | | | | | | Before whenever environment variables changed, pam files had to be rebuild. This is expensive since each file needs its own sandbox set up.
* pantheon: add maintainers teamdavidak2021-08-02
|
* treewide: remove worldofpeace from meta.maintainersVladimír Čunát2021-05-07
| | | | | | (It was requested by them.) I left one case due to fetching from their personal repo: pkgs/desktops/pantheon/desktop/extra-elementary-contracts/default.nix
* nixos/lightdm: make lightdm user shell bashWORLDofPEACE2020-10-24
| | | | | | | | | | | | | In https://github.com/NixOS/nixpkgs/issues/100119 pantheon's greeter has g-s-d running which allows brightness controls via pkexec. This is changed in newer versions of g-s-d (pantheon uses a fork currently), but whenever brightness is changed with a shell of `shadow` we get ``` Oct 10 23:51:44 kirXps pkexec[18722]: lightdm: Executing command [USER=root] [TTY=unknown] [CWD=/var/lib/lightdm] [COMMAND=/run/current-system/sw/bin/elementary-settings-daemon/gsd-backlight-helper /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight 65587] ``` I'm not sure this should be strictly needed, so we should try to revert later on when pantheon's g-s-d is updated.
* nixos: remove StandardOutput=syslog, StandardError=syslog linesFlorian Klink2020-08-13
| | | | | | | | | | | | | | | | | | | | Since systemd 243, docs were already steering users towards using `journal`: https://github.com/systemd/systemd/commit/eedaf7f322a850c5d9f49346d43420423fc6f593 systemd 246 will go one step further, it shows warnings for these units during bootup, and will [automatically convert these occurences to `journal`](https://github.com/systemd/systemd/commit/f3dc6af20f410702beb8e45ddf77e92289fc90c7): > [ 6.955976] systemd[1]: /nix/store/hwyfgbwg804vmr92fxc1vkmqfq2k9s17-unit-display-manager.service/display-manager.service:27: Standard output type syslog is obsolete, automatically updating to journal. Please update│······················ your unit file, and consider removing the setting altogether. So there's no point of keeping `syslog` here, and it's probably a better idea to just not set it, due to: > This setting defaults to the value set with DefaultStandardOutput= in > systemd-system.conf(5), which defaults to journal.
* nixos/displayManager: make autoLogin options independent of DM typeworldofpeace2020-07-09
| | | | Co-authored-by: volth <volth@volth.com>
* nixos/lightdm: change background type to pathJan Tojnar2020-04-29
|
* nixos-artwork: add file path attributesworldofpeace2020-04-29
| | | | | | This makes things so much easier, and we install to the path that both gnome-backgrounds and elementary-wallpapers install to.
* nixos: add freedesktop/gnome/myself maintainersworldofpeace2020-04-01
|
* nixos/lightdm-tiny-greeter: init moduleEdward Tjörnhammar2020-03-11
|
* nixos/displayManager: deprecate separate options for default wm/dmJan Tojnar2019-12-15
| | | | | | | | | | | 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.
* nixos/lightdm: enable wayland sessionsTor Hedin Brønner2019-12-15
| | | | | Note: can't launch gnome on wayland due to duplicate entry names: https://github.com/CanonicalLtd/lightdm/issues/16
* nixos/displayManager: introduce defaultSessionTor Hedin Brønner2019-12-15
| | | | | | | | | | | | | | | | | | 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`.
* nixos/lightdm: do not conflict with plymouth (#71061)Tor Hedin Brønner2019-10-13
| | | | | | | | | | | | | | | | 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
* nixos/lightdm: improve systemd serviceworldofpeace2019-10-06
| | | | | | | | | | | | 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
* nixos/system-environment: introduce environment.profileRelativeSessionVariablesRobert Helgesson2019-09-18
| | | | | There is a need for having sessionVariables set relative to the Nix Profiles. Such as in #68383.
* Merge pull request #67917 from worldofpeace/lightdm-pam-gnome-keyringworldofpeace2019-09-06
|\ | | | | nixos/lightdm: fix pam rules
| * nixos/lightdm: fix pam rulesworldofpeace2019-09-06
| | | | | | | | | | | | | | | | | | | | | | | | Rules are a translation of what's done in the GDM module and adjustments based of looking at Arch Linux's configuration and upstream's. A side effect of this change is that gnome-keyring and kwallet modules should work as expected when in- cluded. Fixes #64259 #62045
* | Merge branch 'master' into stagingVladimír Čunát2019-09-02
|\|
| * nixos/modules: Remove all usages of types.stringSilvan Mosberger2019-08-31
| | | | | | | | | | | | And replace them with a more appropriate type Also fix up some minor module problems along the way
* | treewide: remove redundant quotesvolth2019-08-26
|/
* nixos/xserver: improve DM error message when X offAlyssa Ross2019-05-02
| | | | | | | | | | | | | Previously, if you, for example, set services.xserver.displayManager.sddm.enable, but forgot to set services.xserver.enable, you would get an error message that looked like this: error: attribute 'display-manager' missing Which was not particularly helpful. Using assertions, we can make this message much better.
* pantheon: init a 5.0worldofpeace2019-01-24
|
* nixos/lightdm: Fix spelling of option in docsElis Hirwing2018-12-13
|
* nixos/{lightdm,sddm,xpra}: remove enabling of logToFileTobias Happ2018-11-13
|
* Merge pull request #44920 from eadwu/init/lightdm-enso-os-greeterMatthew Bauer2018-10-08
|\ | | | | lightdm-enso-os-greeter: init at 0.2.1
| * lightdm-enso-os-greeter: init at 0.2.1Edmund Wu2018-08-14
| |
* | Merge pull request #42846 from ambrop72/optimus-prime-config-masterMatthew Bauer2018-10-03
|\ \ | | | | | | nixos/xserver: Implement configuration of NVIDIA Optimus via PRIME
| * | nixos/xserver: Implement configuration of NVIDIA Optimus via PRIMEAmbroz Bizjak2018-07-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds configuration options which automate the configuration of NVIDIA Optimus using PRIME. This allows using the NVIDIA proprietary driver on Optimus laptops, in order to render using the NVIDIA GPU while outputting to displays connected only to the integrated Intel GPU. It also adds an option for enabling kernel modesetting for the NVIDIA driver (via a kernel command line flag); this is particularly useful together with Optimus/PRIME because it fixes tearing on PRIME-connected screens. The user still needs to enable the Optimus/PRIME feature and specify the bus IDs of the Intel and NVIDIA GPUs, but this is still much easier for users and more reliable. The implementation handles both the X configuration file as well as getting display managers to run certain necessary `xrandr` commands just after X has started. Configuration of commands run after X startup is done using a new configuration option `services.xserver.displayManager.setupCommands`. Support for this option is implemented for LightDM, GDM and SDDM; all of these have been tested with this feature including logging into a Plasma session. Note: support of `setupCommands` for GDM is implemented by making GDM run the session executable via a wrapper; the wrapper will run the `setupCommands` before execing. This seemed like the simplest and most reliable approach, and solves running these commands both for GDM's X server and user X servers (GDM starts separate X servers for itself and user sessions). An alternative approach would be with autostart files but that seems harder to set up and less reliable. Note that some simple features for X configuration file generation (in `xserver.nix`) are added which are used in the implementation: - `services.xserver.extraConfig`: Allows adding arbitrary new sections. This is used to add the Device section for the Intel GPU. - `deviceSection` and `screenSection` within `services.xserver.drivers`. This allows the nvidia configuration module to add additional contents into the `Device` and `Screen` sections of the "nvidia" driver, and not into such sections for other drivers that may be enabled.
* | | lightdm: add extraConfig option (#47630)Alyssa Ross2018-10-02
| | |
* | | lightdm: fix tmpfiles path (#46886)Edmund Wu2018-09-19
| | |
* | | nixos/lightdm: use systemd.tmpfiles (#46734)worldofpeace2018-09-17
| | | | | | | | | This also makes logs appear at /var/log/lightdm
* | | Merge pull request #30890 from Lassulus/slim-lightdmxeji2018-09-01
|\ \ \ | | | | | | | | display-managers: make lightdm the default
| * | | xserver.displayManager: change defaultlassulus2018-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch from slim to lightdm as the display-manager. If plasma5 is used as desktop-manager use sdddm. If gnome3 is used as desktop-manager use gdm. Based on #12516
* | | | Reviews use of old nixos wallpaper to use one with the new logo.Samuel Dionne-Riel2018-08-29
|/ / / | | | | | | | | | | | | | | | | | | | | | The wallpaper used is *structurally compatible* with the other one, meaning that the logo is at the same location, and not bigger. It has one drawback: the logo is brighter, which clashes with the grub usage. This is to be fixed with new options in grub.
* | | lightdm: enable the accounts daemon to find dbus interfaceMitsuhiro Nakamura2018-08-16
| | |
* | | lightdm: fix typosMitsuhiro Nakamura2018-08-16
| |/ |/|
* | nixos/desktopManager: Only trace if the default session isn't foundTor Hedin Brønner2018-08-01
| | | | | | | | | | | | | | | | | | | | The default session might be found in `extraSessionFilePackages`, but it's not viable to detect at evaluation time, so emit a warning. In LightDM instead of checking `defaultSessionName` against `displayManager.session.names` we rely on the assertions in `desktopManager` and `windowMananger` and just check that there's at least one default set. The second assertion could never actually be triggered.
* | nixos/displayManager: Create a common environment wrapper for all dmsTor Hedin Brønner2018-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it easier to support a wider variety of .desktop session files. In particular this makes it possible to use both the «legacy» sessions and upstream session files. We separate `xsession` into two parts, `xsessionWrapper` and `xsession`. `xsessionWrapper` sets up the correct environment and then lauches the session's Exec command (from the .desktop file), falling back to launching the default window/desktopManager through the `xsession` script (required by at least some nixos tests). `xsession` then _only_ handles launching desktop-managers/window-managers defined through `services.xserver.desktopManager.session`.
* | nixos/services.xserver.displayManager: move X sessions to a subdirectoryJan Tojnar2018-08-01
| | | | | | | | | | | | Previously, the mkDesktops function produced a flat package containing session files in the top level. As a preparation for introduction of Wayland sessions, the files will now be placed to $out/share/xsessions.
* | [bot] treewide: remove unused 'inherit' in let blocksvolth2018-07-20
| |
* | nixos/modules: users.(extraUsers|extraGroup->users|group)Florian Klink2018-06-30
|/
* lightdm-mini-greeter: init at 0.3.2Mitsuhiro Nakamura2018-06-18
|
* LightDM: Set default user session when possible.Will Fancher2018-03-04
|
* nixos/xserver: fix X.org session script loggingrnhmjoj2017-11-27
|
* nixos-artwork: add more wallpapersromildo2017-06-07
| | | | | | | | | Restructure the nixos-artwork to make it easy to selectively incorporate other components from upstream without needing to download the full package. Until now only the Gnome_Dark wallpaper was included. Add other wallpapers available in the package repository.