Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1e95e114e5eefdb0f792f9f7a620c9472e6d7da3
      
https://github.com/NixOS/nixpkgs/commit/1e95e114e5eefdb0f792f9f7a620c9472e6d7da3
  Author: Franz Pletz <fpl...@fnordicwalking.de>
  Date:   2017-05-29 (Mon, 29 May 2017)

  Changed paths:
    M nixos/modules/config/pulseaudio.nix
    M nixos/modules/programs/ssh.nix
    M nixos/modules/services/monitoring/arbtt.nix
    M nixos/modules/services/x11/compton.nix
    M nixos/modules/services/x11/display-managers/default.nix
    M nixos/modules/services/x11/redshift.nix
    M nixos/modules/services/x11/unclutter-xfixes.nix
    M nixos/modules/services/x11/unclutter.nix
    M nixos/modules/services/x11/urxvtd.nix
    M nixos/modules/services/x11/xbanish.nix

  Log Message:
  -----------
  nixos/xsession: use graphical systemd user target

While systemd suggests using the pre-defined graphical-session user
target, I found that this interface is difficult to use. Additionally,
no other major distribution, even in their unstable versions, currently
use this mechanism.

The window or desktop manager is supposed to run in a systemd user service
which activates graphical-session.target and the user services that are
binding to this target. The issue is that we can't elegantly pass the
xsession environment to the window manager session, in particular
whereas the PassEnvironment option does work for DISPLAY, it for some
mysterious reason won't for PATH.

This commit implements a new graphical user target that works just like
default.target. Services which should be run in a graphical session just
need to declare wantedBy graphical.target. The graphical target will be
activated in the xsession before executing the window or display manager.

Fixes #17858.


  Commit: 04158d9aba1d8b98e49770702922b63ba075728b
      
https://github.com/NixOS/nixpkgs/commit/04158d9aba1d8b98e49770702922b63ba075728b
  Author: Franz Pletz <fpl...@fnordicwalking.de>
  Date:   2017-05-29 (Mon, 29 May 2017)

  Changed paths:
    M nixos/modules/module-list.nix
    A nixos/modules/programs/gnupg.nix

  Log Message:
  -----------
  gnupg agent module: init

Creates a systemd user service and updates the tty on new logins so
that gpg-agent may find the current tty even if the SSH agent mode
is used.


  Commit: a1b532860b04e924a23b591d101e5788e27dd9e7
      
https://github.com/NixOS/nixpkgs/commit/a1b532860b04e924a23b591d101e5788e27dd9e7
  Author: Franz Pletz <fpl...@fnordicwalking.de>
  Date:   2017-05-29 (Mon, 29 May 2017)

  Changed paths:
    M nixos/modules/config/pulseaudio.nix
    M nixos/modules/module-list.nix
    A nixos/modules/programs/gnupg.nix
    M nixos/modules/programs/ssh.nix
    M nixos/modules/services/monitoring/arbtt.nix
    M nixos/modules/services/x11/compton.nix
    M nixos/modules/services/x11/display-managers/default.nix
    M nixos/modules/services/x11/redshift.nix
    M nixos/modules/services/x11/unclutter-xfixes.nix
    M nixos/modules/services/x11/unclutter.nix
    M nixos/modules/services/x11/urxvtd.nix
    M nixos/modules/services/x11/xbanish.nix

  Log Message:
  -----------
  Merge pull request #26094 from mayflower/feature/graphical-user-session

nixos/xsession: use graphical systemd user target


Compare: https://github.com/NixOS/nixpkgs/compare/13f2f8673b18...a1b532860b04
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to