Move fonts into hyprland config
This commit is contained in:
parent
54c97e0cbc
commit
7fe0ec6acd
|
@ -21,31 +21,4 @@
|
||||||
console.keyMap = "uk";
|
console.keyMap = "uk";
|
||||||
programs.ssh.startAgent = true;
|
programs.ssh.startAgent = true;
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
fonts = {
|
|
||||||
packages = with pkgs; [
|
|
||||||
# icon fonts
|
|
||||||
material-symbols
|
|
||||||
# normal fonts
|
|
||||||
jost
|
|
||||||
lexend
|
|
||||||
noto-fonts
|
|
||||||
noto-fonts-cjk
|
|
||||||
noto-fonts-emoji
|
|
||||||
roboto
|
|
||||||
# nerdfonts
|
|
||||||
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
|
||||||
];
|
|
||||||
fontconfig = {
|
|
||||||
enable = true;
|
|
||||||
# user defined fonts
|
|
||||||
# the reason there's Noto Color Emoji everywhere is to override DejaVu's
|
|
||||||
# B&W emojis that would sometimes show instead of some Color emojis
|
|
||||||
defaultFonts = {
|
|
||||||
serif = [ "Noto Serif" "Noto Color Emoji" ];
|
|
||||||
sansSerif = [ "Noto Sans" "Noto Color Emoji" ];
|
|
||||||
monospace = [ "FiraCode Nerd Font" "Noto Color Emoji" ];
|
|
||||||
emoji = [ "Noto Color Emoji" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,6 +25,33 @@
|
||||||
initial_session.command = "Hyprland";
|
initial_session.command = "Hyprland";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
fonts = {
|
||||||
|
packages = with pkgs; [
|
||||||
|
# icon fonts
|
||||||
|
material-symbols
|
||||||
|
# normal fonts
|
||||||
|
jost
|
||||||
|
lexend
|
||||||
|
noto-fonts
|
||||||
|
noto-fonts-cjk
|
||||||
|
noto-fonts-emoji
|
||||||
|
roboto
|
||||||
|
# nerdfonts
|
||||||
|
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
||||||
|
];
|
||||||
|
fontconfig = {
|
||||||
|
enable = true;
|
||||||
|
# user defined fonts
|
||||||
|
# the reason there's Noto Color Emoji everywhere is to override DejaVu's
|
||||||
|
# B&W emojis that would sometimes show instead of some Color emojis
|
||||||
|
defaultFonts = {
|
||||||
|
serif = [ "Noto Serif" "Noto Color Emoji" ];
|
||||||
|
sansSerif = [ "Noto Sans" "Noto Color Emoji" ];
|
||||||
|
monospace = [ "FiraCode Nerd Font" "Noto Color Emoji" ];
|
||||||
|
emoji = [ "Noto Color Emoji" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
|
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
|
||||||
|
|
Loading…
Reference in a new issue