blob: 3553c4a31284a622992703235d9aa5885ae3f2d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{
lib,
config,
pkgs,
...
}: let
inherit (lib) mkIf mkDefault;
cfg = config.desktops.sway;
in {
imports = [
./binds.nix
./config.nix
./idle.nix
];
config = mkIf cfg.enable {
wayland.windowManager.sway = {
enable = true;
package = pkgs.swayfx;
# TODO: get swayfx to work with check config
checkConfig = false;
xwayland = true;
systemd.enable = true;
};
};
}
|