do some moving
This commit is contained in:
parent
9379b9c61b
commit
49298541e5
40 changed files with 13 additions and 16 deletions
48
modules/media/fonts.nix
Normal file
48
modules/media/fonts.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{pkgs, ...}: {
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
google-fonts = pkgs.google-fonts.overrideAttrs (oldAttrs: {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "fonts";
|
||||
rev = "8a0041ea7b92e339a7ce13e4e1dadcc85cb8f5df";
|
||||
sha256 = "sha256-9TzeihEKIEDRtDuv+NmLWjTpoGnBR+RP/jIBfB1O06U=";
|
||||
};
|
||||
installPhase = oldAttrs.installPhase + "mv $out/share/fonts/truetype $out/share/fonts/ttf";
|
||||
});
|
||||
};
|
||||
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
nerd-fonts.fira-code
|
||||
nerd-fonts.departure-mono
|
||||
google-fonts
|
||||
montserrat
|
||||
noto-fonts
|
||||
atkinson-hyperlegible
|
||||
arkpandora_ttf
|
||||
liberation_ttf
|
||||
caladea
|
||||
carlito
|
||||
garamond-libre
|
||||
ocr-a
|
||||
amiri
|
||||
libertine
|
||||
inter
|
||||
b612
|
||||
departure-mono
|
||||
];
|
||||
fontDir.enable = true;
|
||||
};
|
||||
|
||||
home-manager.users.jade = {...}: {
|
||||
fonts.fontconfig = {
|
||||
enable = true;
|
||||
defaultFonts = {
|
||||
emoji = [];
|
||||
monospace = [];
|
||||
sansSerif = ["Atkinson Hyperlegible"];
|
||||
serif = [];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue