diff --git a/users/price/conf/fonts/default.nix b/users/price/conf/fonts/default.nix new file mode 100644 index 00000000..2d02edd3 --- /dev/null +++ b/users/price/conf/fonts/default.nix @@ -0,0 +1,27 @@ +{ pkgs, ... }: +{ + home.packages = with pkgs; [ + fontconfig + nerdfonts + fira-code + noto-fonts + twitter-color-emoji + ]; + fonts = { + fontconfig = { + enable = true; + defaultFonts = { + sansSerif = [ "Noto Sans" ]; + serif = [ "Noto Serif" ]; + monospace = [ + "Fira Code" + "Noto Sans Mono" + ]; + emoji = [ + "Twemoji" + "Noto Color Emoji" + ]; + }; + }; + }; +} diff --git a/users/price/home.nix b/users/price/home.nix index 50cda937..f2c342eb 100644 --- a/users/price/home.nix +++ b/users/price/home.nix @@ -70,7 +70,6 @@ in neovide wezterm kitty - fontconfig sqlite swaylock-effects luajit @@ -105,11 +104,6 @@ in playerctl nixfmt-rfc-style lxappearance - twitter-color-emoji - open-sans - noto-fonts - fira-code - nerdfonts direnv swappy stylua @@ -176,8 +170,6 @@ in sessionPath = [ "${config.xdg.dataHome}/bin" ]; }; - fonts.fontconfig.enable = true; - xdg = { enable = true; mime.enable = true; @@ -212,41 +204,6 @@ in }; configFile = { "hypr/hyprland.conf".enable = false; - "fontconfig/fonts.conf".text = '' - - - - - sans-serif - - Noto Sans - Fira Code - - - - serif - - Noto Serif - Fira Code - - - - monospace - - Fira Code - FiraCode Nerd Font - Noto Sans Mono - - - - emoji - - Twemoji - Noto Color Emoji - - - - ''; }; }; @@ -388,11 +345,6 @@ in name = "Kanagawa"; package = pkgs.kanagawa-icon-theme; }; - font = { - name = "Open Sans"; - size = 11; - package = pkgs.open-sans; - }; gtk3.extraConfig = extraGtkConfig; gtk4.extraConfig = extraGtkConfig; };