Change font variables and simplify and standardize logic and formatting

This commit is contained in:
Bun 2025-05-08 13:08:32 -04:00
parent 01d16e03c8
commit 74b2840bf7
9 changed files with 33 additions and 27 deletions

View file

@ -2,9 +2,7 @@
{
config = lib.mkIf config.home.desktop.enable {
dconf.settings = {
"org/gnome/desktop/interface/color-scheme" = {
color-scheme = "prefer-dark";
};
"org/gnome/desktop/interface/color-scheme".color-scheme = "prefer-dark";
"org/virt-manager/virt-manager/connections" = {
autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ];

View file

@ -1,21 +1,7 @@
{ config, lib, pkgsStable, ... }:
{ ... }:
{
config = lib.mkIf config.home.desktop.enable {
home.packages = with pkgsStable; [
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" ];
};
};
};
imports = [
./fontconfig
./packages
];
}

View file

@ -0,0 +1,11 @@
{ config, ... }:
{
fonts.fontconfig = {
enable = config.home.desktop.enable;
defaultFonts = {
sansSerif = [ config.look.fonts.main ];
monospace = [ config.look.fonts.mono ];
emoji = [ "Twitter Color Emoji" ];
};
};
}

View file

@ -0,0 +1,11 @@
{ config, lib, pkgsStable, ... }:
{
home.packages = lib.mkIf config.home.desktop.enable (with pkgsStable; [
liberation_ttf
twitter-color-emoji
noto-fonts
sarasa-gothic
ubuntu_font_family
(nerdfonts.override { fonts = [ "UbuntuMono" ]; })
]);
}

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, ... }:
{
imports = [
./bookmarks