Skip to content

Commit

Permalink
fix: font tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony Rabbito <[email protected]>
  • Loading branch information
anthr76 committed Jun 11, 2024
1 parent a0637c4 commit 4d0f326
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
description = "anthr76 Flakes";

inputs = {
# Lazy TODO: https://nixpk.gs/pr-tracker.html?pr=308884
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
Expand Down
4 changes: 2 additions & 2 deletions modules/home-manager/fonts.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, config, ... }:
{ lib, config, pkgs, ... }:

let
mkFontOption = kind: {
Expand All @@ -25,6 +25,6 @@ in {

config = lib.mkIf cfg.enable {
fonts.fontconfig.enable = true;
home.packages = [ cfg.monospace.package cfg.regular.package ];
home.packages = [ cfg.monospace.package cfg.regular.package pkgs.noto-fonts-emoji ];
};
}
4 changes: 4 additions & 0 deletions nixos/hosts/f80/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,8 @@
environment.systemPackages = [ pkgs.gdb ];
chaotic.nyx.overlay.onTopOf = "user-pkgs";
chaotic.scx.enable = true;
fonts.fontconfig = {
subpixel.rgba = "rgb";
hinting.style = "full";
};
}

0 comments on commit 4d0f326

Please sign in to comment.