home.sessionVariables doesn't work with a login manager

This commit is contained in:
James Patrick 2022-03-24 20:30:00 -04:00
parent 20c315f962
commit 2547333607
2 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ in with lib; {
home-manager.users.james = { home-manager.users.james = {
home.sessionVariables = { XDG_CURRENT_DESKTOP = "sway"; }; home.sessionVariables = { XDG_CURRENT_DESKTOP = "sway"; };
systemd.user.sessionVariables = { XDG_CURRENT_DESKTOP = "sway"; };
wayland.windowManager.sway = { wayland.windowManager.sway = {
enable = true; enable = true;
package = null; package = null;

View File

@ -9,6 +9,7 @@ in with lib; {
numix-cursor-theme numix-cursor-theme
]; ];
home.sessionVariables = { GTK_THEME = "Dracula"; }; home.sessionVariables = { GTK_THEME = "Dracula"; };
systemd.user.sessionVariables = { GTK_THEME = "Dracula"; };
xdg.configFile."gtk-3.0/settings.ini".text = '' xdg.configFile."gtk-3.0/settings.ini".text = ''
[Settings] [Settings]