Add justseeds font packs, fix manrope
This commit is contained in:
parent
1a8cfbbfb6
commit
875595eecd
|
@ -10,10 +10,7 @@
|
|||
gnomeExtensions.pop-shell
|
||||
gnomeExtensions.firefox-pip-always-on-top
|
||||
gnomeExtensions.espresso
|
||||
|
||||
# Fonts
|
||||
manrope
|
||||
];
|
||||
] ;
|
||||
home.sessionVariables = {
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
};
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# sudo nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
|
||||
|
||||
let systemInformation = import ./system/system-information.nix; in
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ config, pkgs, lib, ... }@nixpkgs:
|
||||
{
|
||||
networking.hostName = systemInformation.hostname;
|
||||
|
||||
|
@ -127,6 +127,10 @@ let systemInformation = import ./system/system-information.nix; in
|
|||
geary
|
||||
totem
|
||||
];
|
||||
fonts.fonts = with pkgs; with import packages/all-packages.nix nixpkgs; [
|
||||
justseeds
|
||||
manrope
|
||||
];
|
||||
|
||||
# List services that you want to enable:
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{pkgs, ...}: {
|
||||
dw = pkgs.callPackage ./dw.nix {};
|
||||
justseeds = pkgs.callPackage ./justseeds.nix {};
|
||||
}
|
100
packages/justseeds.nix
Normal file
100
packages/justseeds.nix
Normal file
|
@ -0,0 +1,100 @@
|
|||
{pkgs, stdenv, ...}: stdenv.mkDerivation {
|
||||
pname = "justseeds-fontpack";
|
||||
version = "0.1.0";
|
||||
|
||||
# Fontpack 1
|
||||
pack01 = pkgs.fetchzip {
|
||||
url = "https://justseeds.org/wp-content/uploads/JS_fontpack1_2.zip";
|
||||
sha256 = "q++XV6tR2eOpp9VEw0EXfk9HcGC/WcPn4dgajwnfBfk=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
# Fontpack 2
|
||||
pack02 = pkgs.fetchzip {
|
||||
url = "https://justseeds.org/wp-content/uploads/justseeds_fontpak2.zip";
|
||||
sha256 = "nQXjkJw5T0GLqT4U3HJ51Sv1MNxvKOeeAg2c54VouRE=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
# Fontpack 3
|
||||
pack03 = pkgs.fetchzip {
|
||||
url = "https://justseeds.org/wp-content/uploads/JSOTP-FP3.zip";
|
||||
sha256 = "lLPsbpRuDVWgt/GX3/ZvxPjBDVNeu7OhhnBLqpmCArA=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
# Fontpack 4
|
||||
pack04 = pkgs.fetchzip {
|
||||
url = "https://justseeds.org/wp-content/uploads/fontpak4_3.zip";
|
||||
sha256 = "X1WaU4fGcNjrRT0MW6HzysiYV6s1E03nMxeg5PG2wR0=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
# Fontpack 5
|
||||
pack05 = pkgs.fetchzip {
|
||||
url = "https://justseeds.org/wp-content/uploads/JS-Font-Pak-5.zip";
|
||||
sha256 = "2cgh4Xd0prG+fk/hNyugRxW0+8dYrsRIAlBh2AH5ql8=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
# Fontpack 6
|
||||
pack06 = pkgs.fetchzip {
|
||||
url = "https://justseeds.org/wp-content/uploads/JS-Font-pack-6.zip";
|
||||
sha256 = "JgJ6czKxNHq/aZ80MqLAazLWW/pe7qZrPgc2+h6itGI=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
# Fontpack 7
|
||||
pack07 = pkgs.fetchzip {
|
||||
url = "https://justseeds.org/wp-content/uploads/JS-Font-Pack-7.zip";
|
||||
sha256 = "ojpvd2VvuZHHnGMb7NDHnF0qkPnUCW6xwVTgGAf2L24=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
# Fontpack 8
|
||||
pack08 = pkgs.fetchzip {
|
||||
url = "https://justseeds.org/wp-content/uploads/Justseeds-Font-Pack-8.zip";
|
||||
sha256 = "IBYvFWXOLMEux0s4KA5dx3rk7WJFVEm5j+1Lk/CPGlg=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
# Fontpack 9
|
||||
pack09 = pkgs.fetchzip {
|
||||
url = "https://justseeds.org/wp-content/uploads/JS-Font-Pack-9.zip";
|
||||
sha256 = "wxxZgi/19UUuYeEFMk9r3ysLBoTbWRnsW8VROYe+OyA=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
# Fontpack 10
|
||||
pack10 = pkgs.fetchzip {
|
||||
url = "https://justseeds.org/wp-content/uploads/JSOTP-10.zip";
|
||||
sha256 = "SPHLwNFUOzmm7oNGlyAWyUsfMxROSgmkBUGvhbZT67Q=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
installPhase = ''
|
||||
install -D -m 444 $pack01/JS_fontpak1/*.otf -t $out/share/fonts/otf
|
||||
install -D -m 444 $pack02/justseeds_fontpak2/*.otf -t $out/share/fonts/otf
|
||||
install -D -m 444 $pack03/'JSOTP FP3'/*.otf -t $out/share/fonts/otf
|
||||
install -D -m 444 $pack04/fontpak4/*.otf -t $out/share/fonts/otf
|
||||
install -D -m 444 $pack05/'JS Font Pak 5'/*.otf -t $out/share/fonts/otf
|
||||
install -D -m 444 $pack06/'JS Font pack 6'/*.otf -t $out/share/fonts/otf
|
||||
install -D -m 444 $pack07/'JS Font Pack 7'/*.otf -t $out/share/fonts/otf
|
||||
install -D -m 444 $pack08/'Justseeds Font Pack 8'/*.otf -t $out/share/fonts/otf
|
||||
install -D -m 444 $pack09/'Justseeds Font Pack 9'/*.otf -t $out/share/fonts/otf
|
||||
install -D -m 444 $pack10/'JSOTP 10'/*.otf -t $out/share/fonts/otf
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Open-access fonts for activists, organizers, and movement designers";
|
||||
homepage = "https://justseeds.org/project/justseeds-open-type-project/";
|
||||
#license = lib.licenses.cc-by-nc-40;
|
||||
maintainers = [{
|
||||
email = "ember@corviform.gay";
|
||||
github = "Alch-Emi";
|
||||
githubId = 38897201;
|
||||
name = "Ember Hearth";
|
||||
}];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue