nixos-config/configs/home-manager/foo-dogsquared/modules/setups/fonts.nix
Gabriel Arazas 0760acb676
configs: consolidate NixOS and home-manager config into one configs folder
Now we're going beyond these structuring as we might have to accomodate
non-system configurations like Nixvim.
2024-01-15 07:45:43 +08:00

28 lines
555 B
Nix

{ config, lib, pkgs, ... }:
let
userCfg = config.users.foo-dogsquared;
cfg = userCfg.setups.fonts;
in
{
options.users.foo-dogsquared.setups.fonts.enable =
lib.mkEnableOption "foo-dogsquared's font setup";
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
# My favorite set of fonts.
source-code-pro
source-sans-pro
source-han-sans
source-serif-pro
source-han-serif
source-han-mono
# Some more monospace thingies.
monaspace
iosevka
jetbrains-mono
];
};
}