Move fonts config into home-manager

This commit is contained in:
Jimbo 2024-10-12 17:35:29 -04:00
parent 300c954fd7
commit c380052b0c
9 changed files with 23 additions and 18 deletions

View file

@ -7,6 +7,7 @@
# GUI Apps
./../../misc/guifiles.nix
./../../misc/fonts.nix
./../../sway/sway.nix
./../../sway/swaylock.nix
./../../programs/gtk.nix

View file

@ -7,6 +7,7 @@
# GUI Apps
./../../misc/guifiles.nix
./../../misc/fonts.nix
./../../sway/sway.nix
./../../sway/swaylock.nix
./../../programs/gtk.nix

View file

@ -7,6 +7,7 @@
# GUI Apps
./../../misc/guifiles.nix
./../../misc/fonts.nix
./../../sway/sway.nix
./../../sway/swaylock.nix
./../../programs/gtk.nix

19
home/misc/fonts.nix Normal file
View 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" ];
};
};
}

View file

@ -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"];
};
}

View file

@ -16,7 +16,6 @@
./../../desktop/pipewire.nix
./../../desktop/bluetooth.nix
./../../desktop/firewall.nix
./../../desktop/fonts.nix
./../../desktop/qt.nix
# Modules

View file

@ -16,7 +16,6 @@
./../../desktop/pipewire.nix
./../../desktop/bluetooth.nix
./../../desktop/firewall.nix
./../../desktop/fonts.nix
./../../desktop/qt.nix
# Laptop/Portable only

View file

@ -15,7 +15,6 @@
./../../desktop/pipewire.nix
./../../desktop/bluetooth.nix
./../../desktop/firewall.nix
./../../desktop/fonts.nix
./../../desktop/qt.nix
./../../desktop/wireguard.nix