gnome3.gdm: add upstream xsession

wip/yesman
Jan Tojnar 6 years ago
parent 83fc9a9825
commit cc6d77c83f
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
  1. 2
      nixos/modules/services/x11/display-managers/gdm.nix
  2. 1
      pkgs/desktops/gnome-3/core/gdm/default.nix

@ -173,6 +173,8 @@ in
${optionalString cfg.gdm.debug "Enable=true"}
'';
environment.etc."gdm/Xsession".source = "${pkgs.gnome3.gdm}/etc/gdm/Xsession";
# GDM LFS PAM modules, adapted somehow to NixOS
security.pam.services = {
gdm-launch-environment.text = ''

@ -21,6 +21,7 @@ stdenv.mkDerivation rec {
"--sysconfdir=/etc"
"--localstatedir=/var"
"--with-plymouth=yes"
"--enable-gdm-xsession"
"--with-initial-vt=7"
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
];

Loading…
Cancel
Save