All my system configs and packages in one repo
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dm-sans-unstable, lilex: somehow i missed this

+17 -6
+15 -4
packages/dm-sans-unstable/package.nix
··· 1 1 { 2 + lib, 2 3 dm-sans, 3 - fetchFromGitHub 4 + fetchFromGitHub, 5 + 6 + # DM Sans has specialized variants at various font sizes to presumably improve legibility. 7 + # This is disabled by default to decrease closure size (a decrease of 13.2MiB!) 8 + enableSizeSpecialization ? false, 9 + 10 + # You can't really use web fonts on desktop anyway (removes 22.6MiB!!!) 11 + enableWebFonts ? false, 4 12 }: 5 13 dm-sans.overrideAttrs { 6 14 version = "1.002-unstable-2024-07-03"; ··· 8 16 src = fetchFromGitHub { 9 17 owner = "googlefonts"; 10 18 repo = "dm-fonts"; 11 - url = "https://github.com/googlefonts/dm-fonts"; 19 + rev = "4412393b7d2de9fe7a92064c2dce9b5af5d7fd26"; 20 + hash = "sha256-Zh5YBQaMKSnOHLK9XNj5+ExQY0357GTsbYOvi1Q87+0="; 12 21 }; 13 22 14 23 installPhase = '' ··· 16 25 17 26 mkdir -p $out/share/fonts/{opentype,truetype,woff} 18 27 cp Sans/fonts/otf/*.otf $out/share/fonts/opentype 19 - cp Sans/fonts/{ttf,variable}/*.ttf $out/share/fonts/truetype 20 - cp Sans/fonts/webfonts/*.woff2 $out/share/fonts/woff 28 + 29 + cp Sans/fonts/ttf/${lib.optionalString (!enableSizeSpecialization) "DMSans-"}*.ttf $out/share/fonts/truetype 30 + cp Sans/fonts/variable/*.ttf $out/share/fonts/truetype 31 + ${lib.optionalString enableWebFonts ''cp Sans/fonts/webfonts/*.woff2 $out/share/fonts/woff''} 21 32 22 33 cp Serif/Exports/*.ttf $out/share/fonts/truetype 23 34
+2 -2
packages/lilex/package.nix
··· 2 2 lib, 3 3 4 4 stdenvNoCC, 5 - fetchFromGithub, 5 + fetchFromGitHub, 6 6 }: 7 7 stdenvNoCC.mkDerivation (finalAttrs: { 8 8 pname = "lilex"; 9 9 version = "2.530"; 10 10 11 - src = fetchFromGithub { 11 + src = fetchFromGitHub { 12 12 owner = "mishamyrt"; 13 13 repo = "Lilex"; 14 14 rev = finalAttrs.version;