Add Futura

This commit is contained in:
Benjamin Bädorf 2021-05-30 22:01:17 +02:00
parent 91c8e77d25
commit bc76999a00
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
25 changed files with 30 additions and 0 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
secrets/fonts/** filter=git-crypt-4406E80E13CD656C diff=git-crypt-4406E80E13CD656C

1
overlays/fonts.nix Normal file
View file

@ -0,0 +1 @@
import ./fonts

View file

@ -0,0 +1,4 @@
final: prev:
with final; {
futura-otf = import ./futura.nix { stdenv = final.stdenv; fetchFromGitHub = final.fetchFromGitHub; };
}

20
overlays/fonts/futura.nix Normal file
View file

@ -0,0 +1,20 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "futura";
version = "1.0.0";
src = ../../secrets/fonts/Futura_Std;
installPhase = ''
mkdir -p $out/share/fonts/otf/
cp -r * $out/share/fonts/otf/
'';
meta = with stdenv.lib; {
description = "";
longDescription = ''
'';
homepage = "";
};
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -31,5 +31,9 @@ in
"transmission.local"
];
};
fonts.fonts = with pkgs; [
futura-otf
];
};
}