From f323e92b4829b2d902f2dadda81aab90546a43bd Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Tue, 18 Jun 2024 10:25:28 +0200 Subject: [PATCH] Do the same for systemd.extraCommands... --- home/modules/programs/my-sway/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/modules/programs/my-sway/default.nix b/home/modules/programs/my-sway/default.nix index 2ab2e66..aecb47c 100644 --- a/home/modules/programs/my-sway/default.nix +++ b/home/modules/programs/my-sway/default.nix @@ -129,8 +129,8 @@ in "XDG_DATA_DIRS" # For extra icons "XDG_DATA_HOME" # For extra icons ]; - systemd.extraCommands = [ - "systemctl --user restart xdg-desktop-portals.service" + systemd.extraCommands = options.wayland.windowManager.sway.systemd.extraCommands.default ++ [ + "systemctl --user restart xdg-desktop-portal.service" ]; checkConfig = false; # Not working atm