mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
Gabriel Arazas
0760acb676
Now we're going beyond these structuring as we might have to accomodate non-system configurations like Nixvim.
28 lines
555 B
Nix
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
|
|
];
|
|
};
|
|
}
|