Reworked home manager configuration to modules

This commit is contained in:
2024-12-24 10:20:09 +01:00
parent 5edd8b1e01
commit b3fde8e028
54 changed files with 1202 additions and 1463 deletions

View File

@@ -0,0 +1,29 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.settings.theming.fonts;
in {
options = {
settings.theming.fonts.enable = lib.mkOption {
type = lib.types.bool;
description = ''
Enable fonts
'';
};
};
config = mkIf cfg.enable {
fonts.fontconfig.enable = true;
home.packages = with pkgs; [
noto-fonts
fira-code
font-awesome
dejavu_fonts
roboto
(nerdfonts.override { fonts = [ "DejaVuSansMono" ]; })
];
};
}