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 |
| 11 | ] |
| 12 | |
| 13 | systemd.user.targets.sway-session = { |
| 14 | description = "Sway compositor session"; |
| 15 | documentation = [ "man:systemd.special(7)" ]; |
| 16 | bindsTo = [ "graphical-session.target" ]; |
| 17 | wants = [ "graphical-session-pre.target" ]; |
| 18 | after = [ "graphical-session-pre.target" ]; |
| 19 | }; |
| 20 | } |