nixcfg/modules/darwin/suites/common/default.nix

44 lines
701 B
Nix
Raw Normal View History

2024-01-11 11:26:46 +01:00
{ options, config, lib, pkgs, ... }:
with lib;
with lib.plusultra;
let
cfg = config.plusultra.suites.common;
in
{
options.plusultra.suites.common = with types; {
enable = mkBoolOpt false "Whether or not to enable common configuration.";
};
config = mkIf cfg.enable {
programs.zsh = enabled;
plusultra = {
nix = enabled;
apps = {
iterm2 = enabled;
};
cli-apps = {
neovim = enabled;
};
tools = {
git = enabled;
flake = enabled;
};
system = {
fonts = enabled;
input = enabled;
interface = enabled;
};
security = {
gpg = enabled;
};
};
};
}