add dhivehi fonts

This commit is contained in:
2026-09-20 04:33:57 +05:00
parent b5189085ae
commit d02a49f54f
2 changed files with 13 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
{ pkgs, ... }:
let
dhivehi-fonts = pkgs.runCommandLocal "dhivehi-fonts" { } ''
mkdir -p "$out/share/fonts/dhivehi"
cp -r ${../local/share/fonts}/. "$out/share/fonts/dhivehi/"
'';
in
{
home.packages = [ dhivehi-fonts ];
fonts.fontconfig.enable = true;
}
+1
View File
@@ -5,6 +5,7 @@
imports = [ imports = [
./bash.nix ./bash.nix
./packages.nix ./packages.nix
./fonts.nix
] ++ ( ] ++ (
# import non public vars # import non public vars
if builtins.pathExists ./private.nix if builtins.pathExists ./private.nix