Move fonts config into home-manager
This commit is contained in:
parent
300c954fd7
commit
c380052b0c
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
# GUI Apps
|
# GUI Apps
|
||||||
./../../misc/guifiles.nix
|
./../../misc/guifiles.nix
|
||||||
|
./../../misc/fonts.nix
|
||||||
./../../sway/sway.nix
|
./../../sway/sway.nix
|
||||||
./../../sway/swaylock.nix
|
./../../sway/swaylock.nix
|
||||||
./../../programs/gtk.nix
|
./../../programs/gtk.nix
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
# GUI Apps
|
# GUI Apps
|
||||||
./../../misc/guifiles.nix
|
./../../misc/guifiles.nix
|
||||||
|
./../../misc/fonts.nix
|
||||||
./../../sway/sway.nix
|
./../../sway/sway.nix
|
||||||
./../../sway/swaylock.nix
|
./../../sway/swaylock.nix
|
||||||
./../../programs/gtk.nix
|
./../../programs/gtk.nix
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
# GUI Apps
|
# GUI Apps
|
||||||
./../../misc/guifiles.nix
|
./../../misc/guifiles.nix
|
||||||
|
./../../misc/fonts.nix
|
||||||
./../../sway/sway.nix
|
./../../sway/sway.nix
|
||||||
./../../sway/swaylock.nix
|
./../../sway/swaylock.nix
|
||||||
./../../programs/gtk.nix
|
./../../programs/gtk.nix
|
||||||
|
|
19
home/misc/fonts.nix
Normal file
19
home/misc/fonts.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
liberation_ttf
|
||||||
|
twitter-color-emoji
|
||||||
|
noto-fonts
|
||||||
|
sarasa-gothic
|
||||||
|
ubuntu_font_family
|
||||||
|
(nerdfonts.override { fonts = [ "UbuntuMono" ]; })
|
||||||
|
];
|
||||||
|
|
||||||
|
fonts.fontconfig = {
|
||||||
|
enable = true;
|
||||||
|
defaultFonts = {
|
||||||
|
sansSerif = [ "Ubuntu" ];
|
||||||
|
monospace = [ "UbuntuMono Nerd Font Mono" ];
|
||||||
|
emoji = [ "Twitter Color Emoji" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,14 +0,0 @@
|
||||||
{pkgs, ...}: {
|
|
||||||
# Fonts
|
|
||||||
fonts = {
|
|
||||||
packages = with pkgs; [
|
|
||||||
liberation_ttf
|
|
||||||
twitter-color-emoji
|
|
||||||
noto-fonts
|
|
||||||
sarasa-gothic
|
|
||||||
ubuntu_font_family
|
|
||||||
(nerdfonts.override {fonts = ["UbuntuMono"];})
|
|
||||||
];
|
|
||||||
fontconfig.defaultFonts.emoji = ["Twitter Color Emoji"];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -16,7 +16,6 @@
|
||||||
./../../desktop/pipewire.nix
|
./../../desktop/pipewire.nix
|
||||||
./../../desktop/bluetooth.nix
|
./../../desktop/bluetooth.nix
|
||||||
./../../desktop/firewall.nix
|
./../../desktop/firewall.nix
|
||||||
./../../desktop/fonts.nix
|
|
||||||
./../../desktop/qt.nix
|
./../../desktop/qt.nix
|
||||||
|
|
||||||
# Modules
|
# Modules
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
./../../desktop/pipewire.nix
|
./../../desktop/pipewire.nix
|
||||||
./../../desktop/bluetooth.nix
|
./../../desktop/bluetooth.nix
|
||||||
./../../desktop/firewall.nix
|
./../../desktop/firewall.nix
|
||||||
./../../desktop/fonts.nix
|
|
||||||
./../../desktop/qt.nix
|
./../../desktop/qt.nix
|
||||||
|
|
||||||
# Laptop/Portable only
|
# Laptop/Portable only
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
./../../desktop/pipewire.nix
|
./../../desktop/pipewire.nix
|
||||||
./../../desktop/bluetooth.nix
|
./../../desktop/bluetooth.nix
|
||||||
./../../desktop/firewall.nix
|
./../../desktop/firewall.nix
|
||||||
./../../desktop/fonts.nix
|
|
||||||
./../../desktop/qt.nix
|
./../../desktop/qt.nix
|
||||||
./../../desktop/wireguard.nix
|
./../../desktop/wireguard.nix
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue