2024-04-22 23:14:28 -04:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
options = {
|
|
|
|
alyraffauf.desktop.sway.enable =
|
2024-05-12 22:00:09 -04:00
|
|
|
lib.mkEnableOption "Sway wayland compositor.";
|
2024-04-22 23:14:28 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf config.alyraffauf.desktop.sway.enable {
|
2024-05-27 21:39:30 -04:00
|
|
|
alyraffauf.desktop.waylandComp.enable = lib.mkDefault true;
|
2024-04-22 23:14:28 -04:00
|
|
|
|
|
|
|
programs = {
|
|
|
|
sway = {
|
|
|
|
enable = true;
|
2024-05-24 09:37:37 -04:00
|
|
|
package = inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".swayfx;
|
2024-04-22 23:14:28 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|