From 31cd4a930e168bfb51aeaec59ebc5e38e619b8e0 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Fri, 23 Sep 2022 15:45:24 +0200 Subject: sway: systemd integration works again --- usecases/desktop/graphical/sway.nix | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/usecases/desktop/graphical/sway.nix b/usecases/desktop/graphical/sway.nix index 3944e49..5f5fcc6 100644 --- a/usecases/desktop/graphical/sway.nix +++ b/usecases/desktop/graphical/sway.nix @@ -28,11 +28,6 @@ in { export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 ''; - # Implemented below in startup, due to global import-environment failing - # when not specifying variables. - # - # TODO: make PR - systemdIntegration = false; wrapperFeatures.gtk = true; config = { @@ -169,11 +164,6 @@ in { command = "${pkgs.mako}/bin/mako"; always = true; } - { - command = "\"systemctl --user import-environment ${ - builtins.toString (lib.unique config.xsession.importedVariables) - }; systemctl --user start sway-session.target\""; - } {command = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";} ]; -- cgit v1.2.3