Skip to content

Commit

Permalink
nixos: change font because of broken ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanamiiiii committed Dec 24, 2024
1 parent 2072691 commit 48f80ce
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion home-manager/fcitx5/config
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ EnumerateSkipFirst=False
2=Hangul

[Hotkey/AltTriggerKeys]
0=Shift_L
0=

[Hotkey/EnumerateGroupForwardKeys]
0=Super+space
Expand Down
2 changes: 1 addition & 1 deletion home-manager/hyprland/qt5ct/qt5ct.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ style=kvantum-dark

[Fonts]
fixed="PlemolJP35 HS,12,-1,5,50,0,0,0,0,0"
general="IBM Plex Sans JP,12,-1,5,50,0,0,0,0,0"
general="Noto Sans CJK JP,12,-1,5,50,0,0,0,0,0"

[Interface]
activate_item_on_single_click=1
Expand Down
2 changes: 1 addition & 1 deletion home-manager/hyprland/qt6ct/qt6ct.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ style=kvantum-dark

[Fonts]
fixed="PlemolJP HS,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular"
general="IBM Plex Sans JP,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular"
general="Noto Sans CJK JP,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular"

[Interface]
activate_item_on_single_click=1
Expand Down
2 changes: 1 addition & 1 deletion home-manager/hyprland/themes.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ in
size = 24;
};
font = {
name = "IBM Plex Sans JP";
name = "Noto Sans CJK JP";
size = 11;
};
iconTheme = {
Expand Down
5 changes: 5 additions & 0 deletions home-manager/hyprland/waybar/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,11 @@ in
margin-right: 10px;
}
#tray menu {
font-family: 'Noto Sans CJK JP';
font-size: 12px;
}
#temperature {
border-radius: 5px;
/* background-color: #11111b; */
Expand Down
1 change: 0 additions & 1 deletion nixos/settings/desktop/fonts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"Noto Color Emoji"
];
sansSerif = [
"IBM Plex Sans JP"
"Noto Sans CJK JP"
"Noto Color Emoji"
];
Expand Down
3 changes: 3 additions & 0 deletions nixos/settings/nix/nix.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{ username, ... }:
{
nix = {
checkConfig = true;
Expand All @@ -8,12 +9,14 @@
"nix-command"
"flakes"
];
trusted-users = [ "${username}" ];
};

gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 3d";
};

};
}

0 comments on commit 48f80ce

Please sign in to comment.