Loading nixos/modules/services/display-managers/gdm.nix +20 −7 Original line number Diff line number Diff line Loading @@ -169,6 +169,16 @@ in ''; }; extraPackages = lib.mkOption { type = lib.types.listOf lib.types.package; default = [ ]; example = lib.literalExpression "[ pkgs.gnome-themes-extra ]"; description = '' Additional packages to add to XDG_DATA_DIRS for GDM. The `/share` directory of each package will be added to the data path. ''; }; }; }; Loading Loading @@ -221,13 +231,16 @@ in enable = true; environment = { GDM_X_SERVER_EXTRA_ARGS = toString (lib.filter (arg: arg != "-terminate") xdmcfg.xserverArgs); XDG_DATA_DIRS = lib.makeSearchPath "share" [ XDG_DATA_DIRS = lib.makeSearchPath "share" ( [ gdm # for gnome-login.session config.services.displayManager.sessionData.desktops pkgs.gnome-control-center # for accessibility icon pkgs.adwaita-icon-theme pkgs.hicolor-icon-theme # empty icon theme as a base ]; ] ++ cfg.extraPackages ); } // lib.optionalAttrs (xSessionWrapper != null) { # Make GDM use this wrapper before running the session, which runs the Loading Loading
nixos/modules/services/display-managers/gdm.nix +20 −7 Original line number Diff line number Diff line Loading @@ -169,6 +169,16 @@ in ''; }; extraPackages = lib.mkOption { type = lib.types.listOf lib.types.package; default = [ ]; example = lib.literalExpression "[ pkgs.gnome-themes-extra ]"; description = '' Additional packages to add to XDG_DATA_DIRS for GDM. The `/share` directory of each package will be added to the data path. ''; }; }; }; Loading Loading @@ -221,13 +231,16 @@ in enable = true; environment = { GDM_X_SERVER_EXTRA_ARGS = toString (lib.filter (arg: arg != "-terminate") xdmcfg.xserverArgs); XDG_DATA_DIRS = lib.makeSearchPath "share" [ XDG_DATA_DIRS = lib.makeSearchPath "share" ( [ gdm # for gnome-login.session config.services.displayManager.sessionData.desktops pkgs.gnome-control-center # for accessibility icon pkgs.adwaita-icon-theme pkgs.hicolor-icon-theme # empty icon theme as a base ]; ] ++ cfg.extraPackages ); } // lib.optionalAttrs (xSessionWrapper != null) { # Make GDM use this wrapper before running the session, which runs the Loading