2024-03-06 05:47:59 +03:00
|
|
|
{ pkgs, inputs, const, ... }: let
|
|
|
|
homePath = "/data/data/com.termux.nix/files/home";
|
|
|
|
in {
|
2024-03-09 01:15:42 +03:00
|
|
|
home-manager.config = {
|
|
|
|
home.stateVersion = const.droidStateVersion;
|
|
|
|
home.file = {
|
|
|
|
".dotfiles".source = inputs.self;
|
|
|
|
".bash".source = ./common/bash;
|
2024-03-09 02:04:32 +03:00
|
|
|
".ssh/config".source = ./common/ssh/config;
|
2024-03-09 01:15:42 +03:00
|
|
|
};
|
|
|
|
home.sessionVariables = {
|
|
|
|
BASH_PATH = "${homePath}/.bash";
|
|
|
|
NIX_CURRENT_SYSTEM = "${pkgs.stdenv.system}";
|
|
|
|
TERM = "xterm-256color";
|
|
|
|
};
|
|
|
|
programs.bash = {
|
|
|
|
enable = true;
|
|
|
|
bashrcExtra = "source ${homePath}/.bash/Bashrc.sh";
|
|
|
|
};
|
|
|
|
programs.tmux = {
|
|
|
|
enable = true;
|
|
|
|
extraConfig = builtins.readFile ./common/tmux/tmux.conf;
|
|
|
|
};
|
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
extraConfig = {
|
|
|
|
credential.helper = "store";
|
|
|
|
init.defaultBranch = "main";
|
|
|
|
pull.rebase = true;
|
|
|
|
push.autoSetupRemote = true;
|
|
|
|
rebase.autoStash = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
programs.neovim = {
|
|
|
|
enable = true;
|
|
|
|
viAlias = true;
|
|
|
|
vimAlias = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-03-04 00:34:39 +03:00
|
|
|
environment.packages = with pkgs; [
|
|
|
|
android-tools
|
|
|
|
binwalk
|
|
|
|
coreutils
|
|
|
|
curl
|
|
|
|
diffutils
|
|
|
|
ffmpeg
|
|
|
|
file
|
|
|
|
findutils
|
2024-03-15 00:11:57 +03:00
|
|
|
gdu
|
2024-03-04 00:34:39 +03:00
|
|
|
git
|
|
|
|
gnugrep
|
|
|
|
gnumake
|
|
|
|
gnused
|
|
|
|
gnutar
|
|
|
|
gzip
|
|
|
|
hostname
|
|
|
|
imagemagick
|
|
|
|
jq
|
|
|
|
lsof
|
|
|
|
man
|
2024-03-15 21:16:16 +03:00
|
|
|
neofetch
|
2024-03-04 00:34:39 +03:00
|
|
|
nmap
|
|
|
|
openssh
|
|
|
|
parallel
|
|
|
|
pv
|
2024-03-08 02:28:09 +03:00
|
|
|
rsync
|
2024-03-04 00:34:39 +03:00
|
|
|
sqlite
|
|
|
|
tmux
|
|
|
|
tree
|
|
|
|
utillinux
|
|
|
|
wget
|
|
|
|
xz
|
|
|
|
yt-dlp
|
|
|
|
zip unzip
|
|
|
|
];
|
|
|
|
}
|