1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-08 17:53:53 +00:00
ultima/modules/nixos/programs/sway/default.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;
};
};
}