Try Sarasa Gothic
This commit is contained in:
parent
8534c96c66
commit
6e042b16ec
4 changed files with 12 additions and 34 deletions
|
|
@ -6,6 +6,18 @@ let
|
||||||
usrPwdFile = "users/${usr}/password";
|
usrPwdFile = "users/${usr}/password";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
fonts = {
|
||||||
|
fontconfig.defaultFonts = {
|
||||||
|
serif = [ "Sarasa UI SC" ];
|
||||||
|
sansSerif = [ "Sarasa UI SC" ];
|
||||||
|
monospace = [ "Sarasa Mono SC" ];
|
||||||
|
};
|
||||||
|
packages = with pkgs; [
|
||||||
|
sarasa-gothic
|
||||||
|
noto-fonts-emoji
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
users.${usr} = {
|
users.${usr} = {
|
||||||
|
|
|
||||||
|
|
@ -1,23 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Configure default fonts
|
|
||||||
fonts = {
|
|
||||||
fontconfig.defaultFonts = {
|
|
||||||
serif = [ "Noto Serif" "Noto Serif CJK SC" ];
|
|
||||||
sansSerif = [ "Inter" "Noto Sans CJK SC" ];
|
|
||||||
monospace = [ "Iosevka" "Noto Sans Mono CJK SC" ];
|
|
||||||
};
|
|
||||||
packages = with pkgs; [
|
|
||||||
inter
|
|
||||||
iosevka
|
|
||||||
noto-fonts
|
|
||||||
noto-fonts-cjk
|
|
||||||
noto-fonts-cjk-serif
|
|
||||||
noto-fonts-emoji
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Configure input methods
|
# Configure input methods
|
||||||
i18n = {
|
i18n = {
|
||||||
defaultLocale = "en_US.UTF-8";
|
defaultLocale = "en_US.UTF-8";
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@
|
||||||
./disko.nix
|
./disko.nix
|
||||||
./gui.nix
|
./gui.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./locale.nix
|
|
||||||
./network.nix
|
./network.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
|
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
# Configure default fonts
|
|
||||||
fonts = {
|
|
||||||
fontconfig.defaultFonts = {
|
|
||||||
serif = [ "Noto Serif" "Noto Serif CJK SC" ];
|
|
||||||
sansSerif = [ "Inter" "Noto Sans CJK SC" ];
|
|
||||||
monospace = [ "Iosevka" "Noto Sans Mono CJK SC" ];
|
|
||||||
};
|
|
||||||
packages = with pkgs; [
|
|
||||||
sarasa-gothic
|
|
||||||
noto-fonts-emoji
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue