diff options
| author | seth <[email protected]> | 2023-07-23 22:20:29 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-07-24 03:56:43 +0000 |
| commit | 9934332f70b51640878fff8c0e7852532f069996 (patch) | |
| tree | 01488a73a541d21aca10841f4e2ccab1985a92d2 /modules/darwin/desktop/default.nix | |
| parent | 418fb8a9c75cfa4c10e0257d3aec43443cadca2a (diff) | |
modules/darwin: init desktop module
Diffstat (limited to 'modules/darwin/desktop/default.nix')
| -rw-r--r-- | modules/darwin/desktop/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/darwin/desktop/default.nix b/modules/darwin/desktop/default.nix new file mode 100644 index 0000000..e4693a7 --- /dev/null +++ b/modules/darwin/desktop/default.nix @@ -0,0 +1,22 @@ +{ + config, + lib, + pkgs, + ... +}: let + cfg = config.getchoo.desktop; + inherit (lib) mkDefault mkEnableOption mkIf; +in { + options.getchoo.desktop.enable = mkEnableOption "base nixos module"; + + imports = [ + ./homebrew.nix + ]; + + config = mkIf cfg.enable { + fonts.fonts = with pkgs; + mkDefault [ + (nerdfonts.override {fonts = ["FiraCode"];}) + ]; + }; +} |
