From 81d71b0a5d3e951d27c56d8774bb87a2ef120426 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 24 Mar 2024 22:42:34 +0000 Subject: [PATCH] Android : Add gcc. --- module/NixOnDroid.nix | 78 ++++++++++++++++++++++--------------------- 1 file changed, 40 insertions(+), 38 deletions(-) diff --git a/module/NixOnDroid.nix b/module/NixOnDroid.nix index 24b6e1b9..8aa680f9 100644 --- a/module/NixOnDroid.nix +++ b/module/NixOnDroid.nix @@ -1,6 +1,46 @@ { pkgs, inputs, const, ... }: let homePath = "/data/data/com.termux.nix/files/home"; in { + # NOTE: Split into modules? + environment.packages = with pkgs; [ + android-tools + binwalk + coreutils + curl + diffutils + ffmpeg + file + findutils + gawk + gcc + gdu + git + gnugrep + gnumake + gnused + gnutar + gzip + hostname + imagemagick + jq + lsof + man + neofetch + nmap + openssh + parallel + pv + rsync + sqlite + tmux + tree + utillinux + wget + xz + yt-dlp + zip unzip + ]; + home-manager.config = { home.stateVersion = const.droidStateVersion; home.file = { @@ -39,42 +79,4 @@ in { extraConfig = (import ./common/nvim/Init.nix { inputs = inputs; }).customRc; }; }; - - environment.packages = with pkgs; [ - android-tools - binwalk - coreutils - curl - diffutils - ffmpeg - file - findutils - gawk - gdu - git - gnugrep - gnumake - gnused - gnutar - gzip - hostname - imagemagick - jq - lsof - man - neofetch - nmap - openssh - parallel - pv - rsync - sqlite - tmux - tree - utillinux - wget - xz - yt-dlp - zip unzip - ]; }