A new start
This commit is contained in:
commit
f4e2368893
93 changed files with 7621 additions and 0 deletions
30
modules/darwin/suites/common/default.nix
Normal file
30
modules/darwin/suites/common/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue