nixcfg/modules/darwin/suites/common/default.nix
Harald Hoyer 04f08d679e rename plusultra to metacfg
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-03-20 08:58:05 +01:00

31 lines
515 B
Nix

{ options, config, lib, pkgs, ... }:
with lib;
with lib.metacfg;
let
cfg = config.metacfg.suites.common;
in
{
options.metacfg.suites.common = with types; {
enable = mkBoolOpt false "Whether or not to enable common configuration.";
};
config = mkIf cfg.enable {
programs.fish = enabled;
metacfg = {
nix = enabled;
system = {
fonts = enabled;
#input = enabled;
interface = enabled;
};
security = {
gpg = enabled;
};
};
};
}