gdm: Move from gnome scope to top-level

This commit is contained in:
Jan Tojnar 2024-08-11 18:34:19 +02:00
parent 214a26c550
commit a0d15e0d04
9 changed files with 5 additions and 9 deletions

View File

@ -3,7 +3,7 @@
let
cfg = config.services.xserver.displayManager;
gdm = pkgs.gnome.gdm;
gdm = pkgs.gdm;
pamCfg = config.security.pam.services;
settingsFormat = pkgs.formats.ini { };
configFile = settingsFormat.generate "custom.conf" cfg.gdm.settings;
@ -310,7 +310,7 @@ in
auth requisite pam_nologin.so
auth required pam_succeed_if.so uid >= 1000 quiet
${lib.optionalString pamCfg.login.enableGnomeKeyring ''
auth [success=ok default=1] ${pkgs.gnome.gdm}/lib/security/pam_gdm.so
auth [success=ok default=1] ${gdm}/lib/security/pam_gdm.so
auth optional ${pkgs.gnome-keyring}/lib/security/pam_gnome_keyring.so
''}
auth required pam_permit.so
@ -334,7 +334,7 @@ in
auth required ${pkgs.fprintd}/lib/security/pam_fprintd.so
auth required pam_env.so
${lib.optionalString pamCfg.login.enableGnomeKeyring ''
auth [success=ok default=1] ${pkgs.gnome.gdm}/lib/security/pam_gdm.so
auth [success=ok default=1] ${gdm}/lib/security/pam_gdm.so
auth optional ${pkgs.gnome-keyring}/lib/security/pam_gnome_keyring.so
''}

View File

@ -175,10 +175,7 @@ stdenv.mkDerivation (finalAttrs: {
separateDebugInfo = true;
passthru = {
updateScript = gnome.updateScript {
packageName = "gdm";
attrPath = "gnome.gdm";
};
updateScript = gnome.updateScript { packageName = "gdm"; };
# Used in GDM NixOS module
# Don't remove.

View File

@ -22,8 +22,6 @@ in
caribou = callPackage ./core/caribou { };
gdm = callPackage ./core/gdm { };
gnome-bluetooth = callPackage ./core/gnome-bluetooth { };
gnome-bluetooth_1_0 = callPackage ./core/gnome-bluetooth/1.0 { };
@ -112,6 +110,7 @@ in
file-roller = lib.warn "The gnome.file-roller was moved to top-level. Please use pkgs.file-roller directly." pkgs.file-roller; # Added on 2024-06-13.
five-or-more = lib.warn "The gnome.five-or-more was moved to top-level. Please use pkgs.five-or-more directly." pkgs.five-or-more; # Added on 2024-08-11.
four-in-a-row = lib.warn "The gnome.four-in-a-row was moved to top-level. Please use pkgs.four-in-a-row directly." pkgs.four-in-a-row; # Added on 2024-08-11.
gdm = lib.warn "The gnome.gdm was moved to top-level. Please use pkgs.gdm directly." pkgs.gdm; # Added on 2024-08-11.
geary = lib.warn "The gnome.geary was moved to top-level. Please use pkgs.geary directly." pkgs.geary; # Added on 2024-06-22.
ghex = lib.warn "The gnome.ghex was moved to top-level. Please use pkgs.ghex directly." pkgs.ghex; # Added on 2024-06-22.
gitg = lib.warn "The gnome.gitg was moved to top-level. Please use pkgs.gitg directly." pkgs.gitg; # Added on 2024-06-22.