blob: e838ad8b99344ea817c71ee5f5dd20223af58572 [file] [log] [blame]
Skyler Turnerdb486c92022-03-06 10:48:24 +00001{ 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 Turner9dfac612022-03-06 10:48:57 +000011 ];
Skyler Turnerdb486c92022-03-06 10:48:24 +000012
Skyler Turner332f4ed2022-03-06 21:00:52 +000013 systemd.user.targets.sway-session.Units = {
Skyler Turnerdb486c92022-03-06 10:48:24 +000014 description = "Sway compositor session";
15 documentation = [ "man:systemd.special(7)" ];
16 bindsTo = [ "graphical-session.target" ];
17 wants = [ "graphical-session-pre.target" ];
Skyler Turner332f4ed2022-03-06 21:00:52 +000018 after = [ "graphical-session-pre.target" ];
Skyler Turner94da7b12022-03-06 19:53:03 +000019 };
Skyler Turnerdb486c92022-03-06 10:48:24 +000020}