fix more font woes

This commit is contained in:
Noa Aarts 2025-08-17 08:49:43 +02:00
parent 5e683d8138
commit 80278d8079
Signed by: noa
GPG key ID: 1850932741EFF672
3 changed files with 26 additions and 21 deletions

View file

@ -96,7 +96,6 @@
maple-mono.NF maple-mono.NF
newcomputermodern newcomputermodern
roboto roboto
dejavu-fonts
]; ];
xdg.portal = { xdg.portal = {
@ -221,6 +220,25 @@
stylix = { stylix = {
enable = true; enable = true;
autoEnable = true; autoEnable = true;
fonts = {
emoji = {
package = pkgs.maple-mono.NF;
name = "Maple Mono NF";
};
monospace = {
package = pkgs.maple-mono.NF;
name = "Maple Mono NF";
};
sansSerif = {
name = "Lexend";
package = pkgs.lexend;
};
serif = {
name = "Lexend";
package = pkgs.lexend;
};
};
base16Scheme = "${pkgs.base16-schemes}/share/themes/dracula.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/dracula.yaml";
targets.plymouth.enable = false; targets.plymouth.enable = false;
}; };

View file

@ -477,6 +477,10 @@ in
}; };
}; };
}; };
zoxide = {
enable = true;
enableZshIntegration = true;
};
}; };
services = { services = {
@ -519,25 +523,6 @@ in
}; };
enable = true; enable = true;
polarity = "dark"; polarity = "dark";
fonts = {
emoji = {
name = "Maple Mono NF";
package = pkgs.maple-mono.NF;
};
monospace = {
name = "Maple Mono NF";
package = pkgs.maple-mono.NF;
};
sansSerif = {
name = "Lexend";
package = pkgs.lexend;
};
serif = {
name = "Lexend";
package = pkgs.lexend;
};
};
opacity = { opacity = {
terminal = 0.2; terminal = 0.2;
popups = 0.66; popups = 0.66;

View file

@ -16,7 +16,6 @@ in
programs.zsh = { programs.zsh = {
enable = true; enable = true;
shellAliases = { shellAliases = {
update = "nix flake update --commit-lock-file $HOME/nixos && sudo nixos-rebuild switch --flake $HOME/nixos";
nb = "nix build -L"; nb = "nix build -L";
nbi = "nix build -L -f ."; nbi = "nix build -L -f .";
ns = "nix shell -L"; ns = "nix shell -L";
@ -30,6 +29,9 @@ in
plugins = [ "git" ]; plugins = [ "git" ];
theme = "frisk"; theme = "frisk";
}; };
loginExtra = ''
eval "$(zoxide init --cmd cmd zsh)"
'';
}; };
}; };