2023-03-12 03:59:11 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
2024-07-29 04:13:04 +00:00
|
|
|
}: let
|
|
|
|
inherit (lib) mkEnableOption mkIf;
|
|
|
|
|
2023-03-12 03:59:11 +00:00
|
|
|
cfg = config.aa.suites.desktop;
|
|
|
|
in {
|
2024-07-29 04:13:04 +00:00
|
|
|
options.aa.suites.desktop = {
|
2023-03-12 03:59:11 +00:00
|
|
|
enable = mkEnableOption "common desktop configuration";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
aa = {
|
|
|
|
desktop = {
|
|
|
|
sway.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|