gnome/nixos: rename services.displayManager.{ => generic.}environment
Rename the services.displayManager.environment option to
services.displayManager.generic.environment, following upstream commit
[1] ("nixos/display-managers: move "generic" DM unit to its own option
set").
[1]: e49259f489
Link: https://github.com/nix-community/stylix/pull/2159
Link: https://github.com/nix-community/stylix/pull/2180
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
ce740cf112
commit
5219ebad24
1 changed files with 3 additions and 3 deletions
|
|
@ -55,9 +55,9 @@ in
|
|||
|
||||
# Cursor and icon settings are usually applied via Home Manager,
|
||||
# but the login screen uses a separate database.
|
||||
services.displayManager.environment.XDG_DATA_DIRS = lib.mkIf (iconCfg != null) (
|
||||
(lib.makeSearchPath "share" [ iconCfg.package ]) + ":"
|
||||
);
|
||||
services.displayManager.generic.environment.XDG_DATA_DIRS = lib.mkIf (
|
||||
iconCfg != null
|
||||
) ((lib.makeSearchPath "share" [ iconCfg.package ]) + ":");
|
||||
environment.systemPackages = lib.mkIf (cursorCfg != null) [ cursorCfg.package ];
|
||||
programs.dconf.profiles.gdm.databases = lib.mkMerge [
|
||||
(lib.mkIf (cursorCfg != null) [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue