From a5dc0c6d5fe8f48ce8cf9abdfe48ad2d366d4397 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Tue, 26 Mar 2024 02:15:47 +0000 Subject: [PATCH] Android : Create a link for .termux/_font.ttf --- module/NixOnDroid.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/module/NixOnDroid.nix b/module/NixOnDroid.nix index 8aa680f9..ff195bc9 100644 --- a/module/NixOnDroid.nix +++ b/module/NixOnDroid.nix @@ -44,8 +44,11 @@ in { home-manager.config = { home.stateVersion = const.droidStateVersion; home.file = { - ".dotfiles".source = inputs.self; - ".ssh/config".source = ./common/ssh/config; + ".dotfiles".source = inputs.self; + ".ssh/config".source = ./common/ssh/config; + ".termux/font.ttf_".source = pkgs.runCommandNoCC "font" {} '' + cp ${pkgs.nerdfonts.override { fonts = [ "Terminus" ]; }}/share/fonts/truetype/NerdFonts/TerminessNerdFontMono-Regular.ttf $out + ''; }; home.sessionVariables = { BASH_PATH = ./common/bash;