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

33 lines
538 B
Nix
Raw Normal View History

2024-03-21 15:00:36 +01:00
{ 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;
base = enabled;
2024-03-21 15:00:36 +01:00
system = {
fonts = enabled;
#input = enabled;
interface = enabled;
};
security = {
gpg = enabled;
};
};
};
}