From 9ee5eb9892fd25bfba8fbff26c68a0804e23abf9 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 2 May 2023 07:55:03 -0700 Subject: profiles/workstation: add font configurations --- modules/system/default.nix | 1 - modules/system/fonts/default.nix | 42 ---------------------------------------- 2 files changed, 43 deletions(-) delete mode 100644 modules/system/fonts/default.nix (limited to 'modules') diff --git a/modules/system/default.nix b/modules/system/default.nix index 22ba97e..46cefbd 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -6,7 +6,6 @@ ./btrfs ./console ./documentation - ./fonts ./nix ./packages ./security diff --git a/modules/system/fonts/default.nix b/modules/system/fonts/default.nix deleted file mode 100644 index 55e4020..0000000 --- a/modules/system/fonts/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ pkgs, config, lib, ... }: -let - cfg = config.my.systems.fonts; -in -{ - options.my.systems.fonts = with lib; { - enable = mkEnableOption "fonts configuration"; - }; - - config = lib.mkIf cfg.enable { - fonts = { - enableDefaultFonts = true; - fontDir.enable = true; - fontconfig = { - enable = true; - defaultFonts = { - serif = [ "Bitstream Vera Serif" ]; - sansSerif = [ "Bitstream Vera Sans" ]; - monospace = [ "Bitstream Vera Sans Mono" ]; - }; - }; - fonts = with pkgs; [ - dejavu_fonts - ttf_bitstream_vera - - font-awesome_5 - - noto-fonts - noto-fonts-cjk # Chinese, Japanese, Korean - noto-fonts-emoji - noto-fonts-emoji - noto-fonts-extra - - cantarell-fonts - - source-code-pro - source-sans-pro - source-serif-pro - ]; - }; - }; -} -- cgit 1.4.1