dotfiles/modules/nixos/suites/desktop/default.nix

22 lines
316 B
Nix
Raw Normal View History

2023-03-12 03:59:11 +00:00
{
config,
lib,
...
}: let
inherit (lib) mkEnableOption mkIf;
2023-03-12 03:59:11 +00:00
cfg = config.aa.suites.desktop;
in {
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;
};
};
};
}