Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 1 | { pkgs, ... }: { |
| 2 | wayland.windowManager.sway = { |
| 3 | enable = true; |
| 4 | wrapperFeatures.gtk = true; |
| 5 | }; |
| 6 | |
| 7 | home.packages = with pkgs; [ |
| 8 | swaylock |
| 9 | swayidle |
| 10 | wl-clipboard |
Skyler Turner | 9dfac61 | 2022-03-06 10:48:57 +0000 | [diff] [blame] | 11 | ]; |
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 12 | |
Skyler Turner | 332f4ed | 2022-03-06 21:00:52 +0000 | [diff] [blame^] | 13 | systemd.user.targets.sway-session.Units = { |
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 14 | description = "Sway compositor session"; |
| 15 | documentation = [ "man:systemd.special(7)" ]; |
| 16 | bindsTo = [ "graphical-session.target" ]; |
| 17 | wants = [ "graphical-session-pre.target" ]; |
Skyler Turner | 332f4ed | 2022-03-06 21:00:52 +0000 | [diff] [blame^] | 18 | after = [ "graphical-session-pre.target" ]; |
Skyler Turner | 94da7b1 | 2022-03-06 19:53:03 +0000 | [diff] [blame] | 19 | }; |
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 20 | } |