Fix CJK for Steam

This commit is contained in:
Invariantspace 2024-03-03 21:12:38 -08:00
parent 026ab43392
commit c1549454ed
2 changed files with 62 additions and 58 deletions

View file

@ -12,6 +12,7 @@ in
sansSerif = [ "Sarasa UI SC" ];
monospace = [ "Sarasa Mono SC" ];
};
fontDir.enable = true;
packages = with pkgs; [
sarasa-gothic
noto-fonts-emoji
@ -20,8 +21,10 @@ in
home-manager = {
useGlobalPkgs = true;
users.${usr} = {
users.${usr} = { config, osConfig, pkgs, ... }:
{
home = {
file.".local/share/fonts".source = config.lib.file.mkOutOfStoreSymlink "/run/current-system/sw/share/X11/fonts";
packages = with pkgs; [
dua
fd
@ -30,7 +33,7 @@ in
rclone
sops
];
stateVersion = config.system.stateVersion;
stateVersion = osConfig.system.stateVersion;
};
programs = {
bat.enable = true;
@ -57,8 +60,8 @@ in
".direnv"
".envrc"
];
userEmail = config.constants.postMaster;
userName = config.constants.userName;
userEmail = osConfig.constants.postMaster;
userName = osConfig.constants.userName;
};
helix = {
enable = true;

View file

@ -5,6 +5,7 @@ let usr = config.constants.userName; in {
let xdgCfg = config.xdg; in {
gtk = {
enable = true;
gtk2.configLocation = "${xdgCfg.configHome}/gtk-2.0/gtkrc";
theme = {
name = "Sweet-Dark";
package = pkgs.sweet;