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;
};
}
@Yeshey
Yeshey / roundRoundRoundRound.sh
Last active December 20, 2024 17:03
Makes the mouse go round, baby right round
#!/bin/bash
# This script makes the mouse go infiiniteley big bc of the Shake Cursor feature, works in this plasma version:
# KDE Plasma Version: 6.2.4
# KDE Frameworks Version: 6.8.0
# Qt Version: 6.8.0
# Kernel Version: 6.6.66 (64-bit)
# Graphics Platform: Wayland
# (or in this revision of my nixOS configuration https://github.com/Yeshey/nixOS-Config/tree/b654bf8bf495925c837e2473cd38fc64455efbb8)