nixcfg/nixosModules/desktop/sway/default.nix

24 lines
392 B
Nix
Raw Normal View History

{
inputs,
pkgs,
lib,
config,
...
}: {
options = {
alyraffauf.desktop.sway.enable =
lib.mkEnableOption "Sway wayland compositor.";
};
config = lib.mkIf config.alyraffauf.desktop.sway.enable {
2024-05-27 21:39:30 -04:00
alyraffauf.desktop.waylandComp.enable = lib.mkDefault true;
programs = {
sway = {
enable = true;
package = pkgs.swayfx;
};
};
};
}