refactor for preparation of flake based systems

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-12-23 11:27:02 -06:00
parent 6527f67145
commit 25e9d06354
121 changed files with 449 additions and 40 deletions

View file

@ -1,25 +0,0 @@
{
config,
lib,
pkgs,
settings,
...
}:
with lib;
let
name = "fonts";
cfg = config.mods.${name};
in
{
options = {
mods.${name} = {
enable = mkEnableOption (lib.mdDoc "Enable ${name}");
};
};
config = mkIf cfg.enable {
fonts.packages = with pkgs; [
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
];
};
}