add dhivehi fonts
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -5,6 +5,7 @@
|
||||
imports = [
|
||||
./bash.nix
|
||||
./packages.nix
|
||||
./fonts.nix
|
||||
] ++ (
|
||||
# import non public vars
|
||||
if builtins.pathExists ./private.nix
|
||||
|
||||
Reference in New Issue
Block a user