sway: Keep default variables imported to systemd

This commit is contained in:
Natsu Kagami 2024-06-17 19:21:49 +02:00
parent 1c87a689e6
commit 690f939c71
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -1,4 +1,4 @@
{ pkgs, lib, config, ... }:
{ pkgs, lib, options, config, ... }:
with lib;
let
cfg = config.programs.my-sway;
@ -124,7 +124,7 @@ in
config.wayland.windowManager.sway = mkIf cfg.enable {
enable = true;
systemd.enable = true;
systemd.variables = [
systemd.variables = options.wayland.windowManager.sway.systemd.variables.default ++ [
"PATH" # for portals
"XDG_DATA_DIRS" # For extra icons
"XDG_DATA_HOME" # For extra icons