From 3bf53acb5809f7da2b7c79f8da3d47ddddb555a1 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 13 Apr 2024 13:17:00 +0800 Subject: [PATCH] nixos/programs/{sessiond,gnome-session}: update desktop session attribute --- modules/nixos/programs/gnome-session/default.nix | 2 +- modules/nixos/programs/sessiond/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nixos/programs/gnome-session/default.nix b/modules/nixos/programs/gnome-session/default.nix index edceb310..4a16485b 100644 --- a/modules/nixos/programs/gnome-session/default.nix +++ b/modules/nixos/programs/gnome-session/default.nix @@ -296,7 +296,7 @@ in config = lib.mkIf (cfg.sessions != { }) { # Install all of the desktop session files. - services.xserver.displayManager.sessionPackages = sessionPackages; + services.displayManager.sessionData = sessionPackages; environment.systemPackages = [ cfg.package ] ++ sessionPackages; # Make sure it is searchable within gnome-session. diff --git a/modules/nixos/programs/sessiond/default.nix b/modules/nixos/programs/sessiond/default.nix index ff84c6e0..e2998e9e 100644 --- a/modules/nixos/programs/sessiond/default.nix +++ b/modules/nixos/programs/sessiond/default.nix @@ -186,7 +186,7 @@ in environment.systemPackages = [ cfg.package ]; # Install all of the desktop session files. - services.xserver.displayManager.sessionPackages = sessionPackages; + services.displayManager.sessionData = sessionPackages; # Import those systemd units from sessiond as well. systemd.packages = [ cfg.package ];