dotfiles/modules/nixos/suites/desktop/default.nix
alejandro-angulo 2c22aedcf0
Converted eza from nixosModule to homeModule
Also included some fixes for issues introduced in last commit.
2024-07-28 21:13:04 -07:00

26 lines
372 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;
};
apps = {
firefox.enable = true;
};
};
};
}