nixcfg/modules/darwin/suites/common/default.nix
Harald Hoyer b14804bbf8 feat(darwin suites): enable base in default.nix
This commit enables the 'base' edition in the default.nix configuration file within the Darwin suites module. This update provides the necessary settings for the base installation, enhancing the flexibility of system setup.
2024-07-19 13:28:14 +02:00

33 lines
538 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;
base = enabled;
system = {
fonts = enabled;
#input = enabled;
interface = enabled;
};
security = {
gpg = enabled;
};
};
};
}