sway: Keep default variables imported to systemd
This commit is contained in:
parent
1c87a689e6
commit
690f939c71
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, options, config, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.programs.my-sway;
|
cfg = config.programs.my-sway;
|
||||||
|
@ -124,7 +124,7 @@ in
|
||||||
config.wayland.windowManager.sway = mkIf cfg.enable {
|
config.wayland.windowManager.sway = mkIf cfg.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
systemd.variables = [
|
systemd.variables = options.wayland.windowManager.sway.systemd.variables.default ++ [
|
||||||
"PATH" # for portals
|
"PATH" # for portals
|
||||||
"XDG_DATA_DIRS" # For extra icons
|
"XDG_DATA_DIRS" # For extra icons
|
||||||
"XDG_DATA_HOME" # For extra icons
|
"XDG_DATA_HOME" # For extra icons
|
||||||
|
|
Loading…
Reference in a new issue