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
+26
View File
@@ -0,0 +1,26 @@
{
config,
lib,
pkgs,
pkgs-unstable,
...
}: {
home.packages = [
pkgs-unstable.andcli # 2FA TUI for your shell
];
home.persistence."/persist" = lib.mkIf (config.var.impermanenceEnabled or false) {
directories = [".config/andcli"];
};
programs.zsh.shellAliases."andcli" = "${pkgs-unstable.andcli}/bin/andcli ~/.cache/protonauth.json.txt --type protonauth";
xdg.desktopEntries.andcli = {
name = "andcli";
exec = "${pkgs.ghostty}/bin/ghostty +new-window -e ${pkgs-unstable.andcli}/bin/andcli ${config.home.homeDirectory}/.cache/protonauth.json.txt --type protonauth";
comment = "2FA TUI for your shell";
categories = ["Utility" "Security" "ConsoleOnly"];
terminal = false;
settings.Keywords = "2fa;otp;totp;authenticator;security";
};
}