improve sessionVariable declaration

Without this, on wayland I cannot access these vars from the Terminal
This commit is contained in:
Julian Mutter 2024-10-05 22:03:36 +02:00
parent 7f73da037b
commit 42b5dfeee7
4 changed files with 4 additions and 4 deletions

View File

@ -35,6 +35,6 @@ in
".config/alacritty/alacritty.toml".source = ./alacritty.toml; ".config/alacritty/alacritty.toml".source = ./alacritty.toml;
}; };
systemd.user.sessionVariables.TERMINAL = "alacritty"; home.sessionVariables.TERMINAL = "alacritty";
}; };
} }

View File

@ -26,7 +26,7 @@ in
]; ];
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# systemd.user.sessionVariables.GTK_THEME = "Catppuccin-Mocha-Compact-Blue-dark"; # home.sessionVariables.GTK_THEME = "Catppuccin-Mocha-Compact-Blue-dark";
prism = { prism = {
enable = true; enable = true;
wallpapers = ./wallpapers; wallpapers = ./wallpapers;

View File

@ -43,6 +43,6 @@ in
}; };
}; };
systemd.user.sessionVariables.TERMINAL = "kitty"; home.sessionVariables.TERMINAL = "kitty";
}; };
} }

View File

@ -47,7 +47,7 @@ in
''; '';
}; };
systemd.user.sessionVariables.TERMINAL = "wezterm-start-here"; home.sessionVariables.TERMINAL = "wezterm-start-here";
# Otherwise wezterm does not start in directory of parent process # Otherwise wezterm does not start in directory of parent process
home.packages = [ home.packages = [