refactor
This commit is contained in:
parent
66c05f9093
commit
45d6f4b0f3
205 changed files with 9040 additions and 342 deletions
43
modules/darwin/suites/common/default.nix
Normal file
43
modules/darwin/suites/common/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ options, config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
with lib.plusultra;
|
||||
let
|
||||
cfg = config.plusultra.suites.common;
|
||||
in
|
||||
{
|
||||
options.plusultra.suites.common = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to enable common configuration.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.zsh = enabled;
|
||||
|
||||
plusultra = {
|
||||
nix = enabled;
|
||||
|
||||
apps = {
|
||||
iterm2 = enabled;
|
||||
};
|
||||
|
||||
cli-apps = {
|
||||
neovim = enabled;
|
||||
};
|
||||
|
||||
tools = {
|
||||
git = enabled;
|
||||
flake = enabled;
|
||||
};
|
||||
|
||||
system = {
|
||||
fonts = enabled;
|
||||
input = enabled;
|
||||
interface = enabled;
|
||||
};
|
||||
|
||||
security = {
|
||||
gpg = enabled;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue