diff options
author | Minijackson <minijackson@riseup.net> | 2022-09-23 15:45:24 +0200 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2022-09-23 15:45:24 +0200 |
commit | 31cd4a930e168bfb51aeaec59ebc5e38e619b8e0 (patch) | |
tree | 331c23f6545b53d986da70315537c6820c5a3503 | |
parent | 0a874434662fceeffce0203000861738bde86492 (diff) | |
download | nixos-config-reborn-31cd4a930e168bfb51aeaec59ebc5e38e619b8e0.tar.gz nixos-config-reborn-31cd4a930e168bfb51aeaec59ebc5e38e619b8e0.zip |
sway: systemd integration works again
-rw-r--r-- | usecases/desktop/graphical/sway.nix | 10 |
1 files changed, 0 insertions, 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 { | |||
28 | export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 | 28 | export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 |
29 | ''; | 29 | ''; |
30 | 30 | ||
31 | # Implemented below in startup, due to global import-environment failing | ||
32 | # when not specifying variables. | ||
33 | # | ||
34 | # TODO: make PR | ||
35 | systemdIntegration = false; | ||
36 | wrapperFeatures.gtk = true; | 31 | wrapperFeatures.gtk = true; |
37 | 32 | ||
38 | config = { | 33 | config = { |
@@ -169,11 +164,6 @@ in { | |||
169 | command = "${pkgs.mako}/bin/mako"; | 164 | command = "${pkgs.mako}/bin/mako"; |
170 | always = true; | 165 | always = true; |
171 | } | 166 | } |
172 | { | ||
173 | command = "\"systemctl --user import-environment ${ | ||
174 | builtins.toString (lib.unique config.xsession.importedVariables) | ||
175 | }; systemctl --user start sway-session.target\""; | ||
176 | } | ||
177 | {command = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";} | 167 | {command = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";} |
178 | ]; | 168 | ]; |
179 | 169 | ||