This commit is contained in:
biscuit
2025-05-20 22:55:43 -05:00
parent f31387ab12
commit e21cf63216
3 changed files with 18 additions and 18 deletions
+9 -7
View File
@@ -20,14 +20,16 @@
packages.monolisa = pkgs.stdenvNoCC.mkDerivation {
name = "monolisa-font";
dontConfigure = true;
src = builtins.toPath ./fonts;
src = builtins.toPath ./fonts/Monolisa;
dontUnpack = true;
installPhase = ''
mkdir -p $out/share/fonts/truetype
find $src -type f -name "*.ttf" -exec cp {} $out/share/fonts/truetype/ \;
'';
meta = {description = "Monolisa font.";};
};
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp -R $src/Moonolisa/*.ttf $out/share/fonts/truetype
'';
meta = {description = "Monolisa font.";};
}
);
}
Generated
+6 -10
View File
@@ -88,18 +88,14 @@
]
},
"locked": {
"lastModified": 1719659382,
"narHash": "sha256-fJIgQZ4NI9mLJcT+cBk++gnSzFwxrHtIwb35RXk+bE0=",
"owner": "mykhalskyio",
"repo": "monolisa-flake",
"rev": "6e2a552bb64e54d41d3b19e7072fb675a7efdad8",
"type": "github"
"path": "./custom/unlisted-fonts/",
"type": "path"
},
"original": {
"owner": "mykhalskyio",
"repo": "monolisa-flake",
"type": "github"
}
"path": "./custom/unlisted-fonts/",
"type": "path"
},
"parent": []
},
"nixpkgs": {
"locked": {
+3 -1
View File
@@ -4,7 +4,9 @@
system,
...
}: {
environment.systemPackages = with pkgs; [
inputs.monolisa.packages.${system}.monolisa
];
fonts.packages = with pkgs; [
nerd-fonts.fira-code
nerd-fonts.jetbrains-mono