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-26 00:36:48 -04:00
|
|
|
alyraffauf.desktop.waylandComp.enable = true;
|
2024-04-22 23:14:28 -04:00
|
|
|
services = {
|
2024-05-26 00:36:48 -04:00
|
|
|
geoclue2.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
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|