Don't use stylix for fonts

This commit is contained in:
Henry Hiles 2025-07-09 20:20:52 -04:00
commit 277f6a3f79
No known key found for this signature in database
7 changed files with 21 additions and 51 deletions

View file

@ -116,9 +116,9 @@
font-hinting = "slight";
font-antialiasing = "grayscale";
font-name = "Cantarell 11";
font-name = "sans";
document-font-name = font-name;
monospace-font-name = "FiraCode Nerd Font 11";
monospace-font-name = "monospace";
};
# "org/gnome/Ptyxis".default-profile-uuid = "quadradical";

View file

@ -1,8 +1,5 @@
{
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
GTK_USE_PORTAL = "1";
};
environment.sessionVariables.NIXOS_OZONE_WL = "1";
services = {
desktopManager.gnome.enable = true;

12
modules/desktop/fonts.nix Normal file
View file

@ -0,0 +1,12 @@
{pkgs, ...}: {
fonts = {
enableDefaultPackages = false;
packages = with pkgs; [inter nerd-fonts.fira-code twitter-color-emoji];
fontconfig.defaultFonts = rec {
serif = ["Inter"];
sansSerif = serif;
monospace = ["FiraCode Nerd Font"];
emoji = ["Twitter Color Emoji"];
};
};
}

View file

@ -16,9 +16,11 @@
resources
libreoffice
wl-clipboard
google-cursor
prismlauncher
authenticator
cinny-desktop
papirus-icon-theme
nexusmods-app-unfree
hunspellDicts.en_CA-large
];