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

27 lines
379 B
Nix
Raw Normal View History

2023-03-12 03:59:11 +00:00
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.aa.suites.desktop;
in {
options.aa.suites.desktop = with lib.types; {
enable = mkEnableOption "common desktop configuration";
};
config = mkIf cfg.enable {
aa = {
desktop = {
sway.enable = true;
};
apps = {
firefox.enable = true;
};
};
};
}