diff --git a/flake.nix b/flake.nix index 2f38305..0fe1f4c 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 54 current 2025-10-07 21:38:22 25.05.20251001.5b5be50 6.12.49 * +# generation: 55 current 2025-10-07 21:40:00 25.05.20251001.5b5be50 6.12.49 * { description = "blakes nix config"; inputs = { diff --git a/modules/homelab/services/vaultwarden/default.nix b/modules/homelab/services/vaultwarden/default.nix index e8d9954..b15c25e 100644 --- a/modules/homelab/services/vaultwarden/default.nix +++ b/modules/homelab/services/vaultwarden/default.nix @@ -49,7 +49,7 @@ in ROCKET_ADDRESS = "0.0.0.0"; ROCKET_PORT = cfg.port; SIGNUPS_ALLOWED = true; -# EXPERIMENTAL_CLIENT_FEATURE_FLAGS=fido2-vault-credentials + EXPERIMENTAL_CLIENT_FEATURE_FLAGS=fido2-vault-credentials autofill-overlay autofill-v2 inline-menu-positioning-improvements ssh-key-vault-item; # The following flags are available: # - "autofill-overlay": Add an overlay menu to form fields for quick access to credentials. # - "autofill-v2": Use the new autofill implementation. diff --git a/rebuild.sh b/rebuild.sh deleted file mode 100755 index b481230..0000000 --- a/rebuild.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env bash -set -e -pushd ~/.nix -# nvim flake.nix -# alejandra . &>/dev/null -# git diff -U0 *.nix - -# add generation comment to flake.nix -gen=$(nixos-rebuild list-generations | grep current) -if sed -n '3p' flake.nix | grep -q '^# generation:'; then - # replace the comment on line 3 - sed -i "3s/^# generation:.*/# generation: $gen/" flake.nix -else - # insert comment on line 3 - sed -i "3i# generation: $gen" flake.nix -fi - -git diff -U0 $(find . -name '*.nix') - -echo "nixos rebuilding..." -#sudo nixos-rebuild switch --flake ~/.nix#snowbelle &>.nixos-switch-log || ( -# cat .nixos-switch-log | grep --color error && false) -sudo nixos-rebuild switch --flake ~/.nix#snowbelle 2>&1 | tee .nixos-switch-log | grep --color=always -E "error|$" && true - -git commit -am "$gen" -popd diff --git a/users/blake/dotfiles/zsh/.zshrc b/users/blake/dotfiles/zsh/.zshrc index 68f2aec..02902de 100644 --- a/users/blake/dotfiles/zsh/.zshrc +++ b/users/blake/dotfiles/zsh/.zshrc @@ -62,8 +62,9 @@ alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' -# packages -alias rebuild='sh ~/.nix/rebuild.sh' +# scripts +alias rebuild='sh ~/.nix/bin/rebuild.sh' +alias perms='sudo sh ~/.nix/bin/perms.sh' # tools alias v='nvim'