about summary refs log tree commit diff
path: root/modules/system
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-02 07:55:03 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-02 07:55:03 -0700
commit9ee5eb9892fd25bfba8fbff26c68a0804e23abf9 (patch)
tree43609d7caa5c6c4a36722c30ef84811a884a5759 /modules/system
parentprofiles: create default and server (diff)
downloadworld-9ee5eb9892fd25bfba8fbff26c68a0804e23abf9.tar.gz
profiles/workstation: add font configurations
Diffstat (limited to '')
-rw-r--r--modules/system/default.nix1
-rw-r--r--modules/system/fonts/default.nix42
2 files changed, 0 insertions, 43 deletions
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
-      ];
-    };
-  };
-}