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

22 lines
316 B
Nix

{
config,
lib,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.aa.suites.desktop;
in {
options.aa.suites.desktop = {
enable = mkEnableOption "common desktop configuration";
};
config = mkIf cfg.enable {
aa = {
desktop = {
sway.enable = true;
};
};
};
}