Harald Hoyer
b14804bbf8
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.
33 lines
538 B
Nix
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;
|
|
};
|
|
};
|
|
};
|
|
}
|