aboutsummaryrefslogtreecommitdiff
path: root/modules/swayfx.nix
blob: caa9fdfd5d5c99b3bd59c0878ddfdaeace3f6dd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  config,
  lib,
  pkgs,
  options,
  ...
}:
{
  options.programs.swayfx.enable = lib.mkEnableOption "swayfx";

  config.programs.sway =
    if config.programs.swayfx.enable then
      {
        enable = lib.mkForce true;
        package = lib.mkForce pkgs.swayfx;
      }
    else
      { };
}