Add NixOS config

This commit is contained in:
BuyMyMojo 2025-03-24 04:53:02 +11:00
commit 954c25c444
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
6 changed files with 556 additions and 0 deletions

View file

@ -0,0 +1,24 @@
# make a derivation for berkeley-mono font installation
{ pkgs }:
pkgs.stdenv.mkDerivation {
pname = "berkeley-mono-typeface";
version = "2.002";
src = "../assets/TX-02 2.002.zip";
unpackPhase = ''
runHook preUnpack
${pkgs.unzip}/bin/unzip $src
runHook postUnpack
'';
installPhase = ''
runHook preInstall
install -Dm644 "TX-02 2.002/*.ttf" -t $out/share/fonts/truetype
runHook postInstall
'';
}