rework: more TUIs! (#62)

Signed-off-by: Hadi <[email protected]>
This commit is contained in:
Hadi
2026-09-28 20:18:12 +02:00
committed by GitHub
parent 1a3f23f248
commit 07a60e91d2
98 changed files with 1280 additions and 1093 deletions
+21
View File
@@ -0,0 +1,21 @@
{pkgs, ...}: let
btopPackage = pkgs.btop.override {cudaSupport = true;};
in {
programs.btop = {
enable = true;
package = btopPackage;
settings = {
vim_keys = true;
shown_boxes = "cpu mem net proc gpu0";
};
};
xdg.desktopEntries.btop = {
name = "btop++";
exec = "${pkgs.ghostty}/bin/ghostty +new-window -e ${btopPackage}/bin/btop";
comment = "Ressources monitor (btop)";
categories = ["Settings"];
terminal = false;
settings.Keywords = "ressource;ressources;btop;usage;monitoring;cpu;gpu;memory";
};
}
+5
View File
@@ -0,0 +1,5 @@
{
programs = {
cava.enable = true;
};
}
+49
View File
@@ -0,0 +1,49 @@
{
pkgs,
config,
lib,
inputs,
...
}: {
home.packages = import ./pkgs.nix {
inherit pkgs;
};
home.file = {
"Cyber/wordlists/seclists".source = pkgs.fetchFromGitHub {
owner = "danielmiessler";
repo = "SecLists";
rev = "47aa98053fce8670c6489e4f6fb57dc34881d8bd";
hash = "sha256-ojXLB/TXap1Qi0MtV5/WJlJpjNIDYx/sLY2KHm0uFKI=";
};
"Cyber/wordlists/fuzz4bounty".source = pkgs.fetchFromGitHub {
owner = "0xPugal";
repo = "fuzz4bounty";
rev = "a805f6b434033f054312da0ddc2bc3021cc9a3b0";
hash = "sha256-wMhx1CcxIyw2E7gJXQxXAFc7m5nYt0FXNkoTZqFMQh4=";
};
# RULES
"Cyber/wordlists/rules/oneruletorulethemstill".source = pkgs.fetchFromGitHub {
owner = "stealthsploit";
repo = "oneruletorulethemstill";
rev = "4bfb7322e189305b5f35bb7fcd4e9cc233c3d3c6";
hash = "sha256-h7MeymIXS/6wlPRt4lzsIEqOOssP0lDx9nQip65cwZw=";
};
"Cyber/wordlists/rules/best64.rule".source = pkgs.fetchurl {
url = "https://raw.githubusercontent.com/CarlosLannister/OwadeReborn/refs/heads/master/owade/fileAnalyze/hashcatLib/best64.rule%7E";
hash = "sha256-T0XkMHJZQiy63/j25nGTkaiDFjc+blmgEVGTAFgVylU=";
};
# Open source list of default credentials
".cache/default-creds".source = inputs.default-creds;
};
home.persistence."/persist" = lib.mkIf (config.var.impermanenceEnabled or false) {
directories = [
"Cyber"
];
};
}
+45
View File
@@ -0,0 +1,45 @@
{pkgs}: (with pkgs; [
# Web
pkgs.nur.repos.anotherhadi.spilltea
dirb
ffuf
katana
whatweb
sqlmap
nosqli
# Hashes
hashcat
haiti
john
# Databases
mariadb
redis
# Network
termshark # wireshark in TUI
wtfis # Passive hostname, domain and IP lookup tool
inetutils
whois
dig
nmap
samba
hydra
pkgs.nur.repos.anotherhadi.revshell
# Reverse
binsider # Analyzer of executables using a terminal user interface
# Misc
metasploit
nuclei
openvpn
zizmor # CI/CD Pipelines
trufflehog # Look for secrets
pkgs.nur.repos.anotherhadi.jwt-tui
pkgs.nur.repos.anotherhadi.default-creds-tui
# Forensics
binwalk
])
+6
View File
@@ -0,0 +1,6 @@
{lib, ...}: let
utils = import ../../lib/utils.nix {inherit lib;};
in {
imports =
utils.importAll ./.;
}
+35
View File
@@ -0,0 +1,35 @@
{
pkgs,
pkgs-unstable,
config,
lib,
...
}: {
home = {
packages = with pkgs-unstable;
[
go
claude-code
bun
]
++ (with pkgs; [
nodejs
air
duckdb
python3
jq
nix-prefetch-github
rsync
]);
persistence."/persist" = lib.mkIf (config.var.impermanenceEnabled or false) {
directories = [
".claude"
];
files = [".claude.json"];
};
sessionPath = ["$HOME/.local/share/go/bin"];
sessionVariables.GOPATH = "$HOME/.local/share/go";
};
}
+25
View File
@@ -0,0 +1,25 @@
# Feature-rich TUI RSS reader based on the news-flash library
{
config,
lib,
pkgs,
pkgs-unstable,
...
}: {
home.packages = [
pkgs-unstable.eilmeldung
];
home.persistence."/persist" = lib.mkIf (config.var.impermanenceEnabled or false) {
directories = [".config/eilmeldung"];
};
xdg.desktopEntries.eilmeldung = {
name = "eilmeldung";
exec = "${pkgs.ghostty}/bin/ghostty +new-window -e ${pkgs-unstable.eilmeldung}/bin/eilmeldung";
comment = "Feature-rich TUI RSS reader";
categories = ["Network" "ConsoleOnly"];
terminal = false;
settings.Keywords = "rss;feed;news;reader";
};
}
+15
View File
@@ -0,0 +1,15 @@
# Monitui allows you to edit hyprland's monitor configuration
{pkgs, ...}: {
home.packages = [
pkgs.nur.repos.anotherhadi.monitui
];
xdg.desktopEntries.monitui = {
name = "monitui";
exec = "${pkgs.ghostty}/bin/ghostty +new-window -e ${pkgs.nur.repos.anotherhadi.monitui}/bin/monitui";
comment = "Delightfully minimal TUI for wrangling Hyprland monitors";
categories = ["Settings" "HardwareSettings"];
terminal = false;
settings.Keywords = "hyprland;monitor;display;screen;resolution";
};
}
+5
View File
@@ -0,0 +1,5 @@
{
programs.navi = {
enable = true;
};
}
+5
View File
@@ -0,0 +1,5 @@
{inputs, ...}: {
imports = [inputs.nix-index-database.homeModules.default];
programs.nix-index.enable = true;
programs.nix-index-database.comma.enable = true;
}
+15
View File
@@ -0,0 +1,15 @@
# TUI for managing USBGuard rules
{pkgs, ...}: {
home.packages = [
pkgs.nur.repos.anotherhadi.usbguard-tui
];
xdg.desktopEntries.usbguard-tui = {
name = "USBGuard TUI";
exec = "${pkgs.ghostty}/bin/ghostty +new-window -e ${pkgs.polkit}/bin/pkexec ${pkgs.nur.repos.anotherhadi.usbguard-tui}/bin/usbguard-tui";
comment = "Manage USBGuard rules";
categories = ["Settings"];
terminal = false;
settings.Keywords = "usb;usbguard;security;devices;rules";
};
}