mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 09:03:51 +00:00
26 lines
286 B
Nix
26 lines
286 B
Nix
|
{
|
||
|
x,
|
||
|
pkgs,
|
||
|
lib,
|
||
|
config,
|
||
|
...
|
||
|
}:
|
||
|
with lib;
|
||
|
with x;
|
||
|
let
|
||
|
cfg = config.module.programs.sway;
|
||
|
in
|
||
|
{
|
||
|
options = {
|
||
|
module.programs.sway = {
|
||
|
enable = mkBool;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
config = mkIf cfg.enable {
|
||
|
programs.sway = True // {
|
||
|
package = pkgs.swayfx;
|
||
|
};
|
||
|
};
|
||
|
}
|