commit 4d6aa62aadab720402fc1e9776e7754d5aa65ccc
parent cbf5269d2be9437c9fd569449bb2f6b2054ef36b
Author: Silas Brack <silasbrack@gmail.com>
Date: Wed, 20 May 2026 21:27:56 +0200
feat: replace bitwarden with keepassxc
Diffstat:
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/hosts/gaia/configuration.nix b/hosts/gaia/configuration.nix
@@ -175,8 +175,6 @@
];
packages = with pkgs; [
# anki
- # bitwarden-cli
- # bitwarden-desktop
# blender
# btop-rocm
claude-code
@@ -222,6 +220,7 @@
# inkscape
# isync
jq
+ keepassxc
# kitty
# kiwix
# lazygit
@@ -240,7 +239,6 @@
# pass
# pdftk
# prettierd
- rbw
# rclone
ripgrep
# rsync
@@ -315,8 +313,14 @@
eval "$(fzf --bash)"
- bws() {
- rbw unlock && rbw list | fzf | xargs -I _ rbw get -c _
+ kpc() {
+ local db="''\${1:-$HOME/Passwords.kdbx}"
+ local pw entry
+ read -rs -p "DB password: " pw; echo
+ entry=$(keepassxc-cli ls -f -R "$db" <<< "$pw" 2>/dev/null \
+ | grep -v '/$' | fzf) || { pw=; return; }
+ keepassxc-cli clip "$db" "$entry" <<< "$pw"
+ pw=
}
loadenv() {