mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-10-05 11:18:24 +02:00
@@ -0,0 +1,8 @@
|
||||
{
|
||||
# TODO: proton-pass-agent ?
|
||||
imports = [
|
||||
./proton-auth.nix
|
||||
./proton-calendar.nix
|
||||
./proton-vpn.nix
|
||||
];
|
||||
}
|
||||
@@ -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";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{pkgs, ...}: {
|
||||
# TODO: config + desktop file
|
||||
home.packages = [
|
||||
pkgs.nur.repos.anotherhadi.proton-vpn-tui
|
||||
pkgs.proton-vpn-cli
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user