mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
users/foo-dogsquared/setups/fonts: init module
This commit is contained in:
parent
40dab85b9a
commit
940dd25002
@ -23,6 +23,7 @@
|
||||
|
||||
setups = {
|
||||
desktop.enable = true;
|
||||
fonts.enable = true;
|
||||
music.enable = true;
|
||||
};
|
||||
};
|
||||
|
@ -12,6 +12,7 @@
|
||||
./programs/terminal-multiplexer.nix
|
||||
|
||||
./setups/desktop.nix
|
||||
./setups/fonts.nix
|
||||
./setups/music.nix
|
||||
];
|
||||
}
|
||||
|
27
users/home-manager/foo-dogsquared/modules/setups/fonts.nix
Normal file
27
users/home-manager/foo-dogsquared/modules/setups/fonts.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user