From 735040891e9a8c7455a5ad054d43d35a6d2e1390 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Mon, 9 Dec 2024 21:22:29 +0100 Subject: [PATCH] Update configs --- .bin/ansible-vault-manager | 9 ++++----- .config/home-manager/fonts.nix | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.bin/ansible-vault-manager b/.bin/ansible-vault-manager index 8114135..12c7dc5 100755 --- a/.bin/ansible-vault-manager +++ b/.bin/ansible-vault-manager @@ -27,15 +27,14 @@ if [[ $url =~ $re ]]; then fi project="$user/$repo" +pass_paths=() +pass_content=$(pass "ansible/$project") -if ! pass "ansible/$project" >/dev/null 2>&1; then - echo "Error: ansible/$project not found in pass" >&2 +if [ "$?" -ne 0 ]; then + echo "Error: failed to load ansible/$project from pass" >&2 exit 1 fi -pass_content=$(pass "ansible/$project") -pass_paths=() - grep_filter="^path:" if [ -n "$target" ]; then grep_filter="^path: $target$" diff --git a/.config/home-manager/fonts.nix b/.config/home-manager/fonts.nix index 08ffa46..5c1138a 100644 --- a/.config/home-manager/fonts.nix +++ b/.config/home-manager/fonts.nix @@ -7,7 +7,7 @@ dejavu_fonts freefont_ttf liberation_ttf - (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) + nerd-fonts.jetbrains-mono noto-fonts roboto twitter-color-emoji