Skip to content

Instantly share code, notes, and snippets.

View Yeshey's full-sized avatar
🐧

João Filipe Silva de Almeida Yeshey

🐧
View GitHub Profile
@Yeshey
Yeshey / drop_root.sh
Created April 2, 2026 20:16 — forked from xwjqv/drop_root.sh
Nix-on-droid login without proot but with chroot and root
#!/system/bin/sh
uid=$(stat -c %u /data/data/com.termux.nix)
pid=$(pidof -s com.termux.nix)
if test -z $pid; then
which -a pidof
pgrep com.termux.nix
echo Nix on Droid App process not found
exit
fi
@Yeshey
Yeshey / example.nix
Created August 10, 2025 12:45 — forked from piousdeer/example.nix
Create mutable files with home-manager and Nix
{
home.file."test-file" = {
text = "Hello world";
force = true;
mutable = true;
};
}