mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 10:18:37 +02:00
feat: format via 'ls **/*.nix | each { |it| nixfmt $it.name }'
This commit is contained in:
@@ -3,16 +3,18 @@
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.desktop;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.modules.desktop = {
|
||||
fonts.enable = lib.mkEnableOption "Rich Fonts - Add NerdFonts Icons, emojis & CJK Fonts";
|
||||
};
|
||||
|
||||
config.fonts.packages = with pkgs;
|
||||
lib.mkIf cfg.fonts.enable
|
||||
[
|
||||
config.fonts.packages =
|
||||
with pkgs;
|
||||
lib.mkIf cfg.fonts.enable [
|
||||
# icon fonts
|
||||
material-design-icons
|
||||
font-awesome
|
||||
|
||||
Reference in New Issue
Block a user