UPdate secrets

This commit is contained in:
albert 2024-05-07 20:53:55 +09:00
parent 6d5153e5b2
commit 9d5f048dee
Signed by: albert
GPG key ID: 3895DD267CA11BA9
3 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,7 @@
search_mode = "fuzzy"; search_mode = "fuzzy";
search_mode_shell_up_key_binding = "fuzzy"; search_mode_shell_up_key_binding = "fuzzy";
secrets_filter = true; secrets_filter = true;
key_path = "/run/secrets/${username}/atuin_key"; key_path = "/run/secrets/atuin_key";
filter_mode = "global"; filter_mode = "global";
workspaces = true; workspaces = true;
inline_height = 75; inline_height = 75;

View file

@ -45,7 +45,7 @@
address = "albert@sysctl.io"; address = "albert@sysctl.io";
# password # password
# https://nix-community.github.io/home-manager/options.html#opt-accounts.email.accounts._name_.passwordCommand # https://nix-community.github.io/home-manager/options.html#opt-accounts.email.accounts._name_.passwordCommand
passwordCommand = "cat /run/secrets/albert/email_password"; passwordCommand = "cat /run/secrets/email_password";
realName = "Albert J. Copeland"; realName = "Albert J. Copeland";
signature = '' signature = ''
Albert J. Copeland Albert J. Copeland

View file

@ -34,12 +34,12 @@ in {
# Used in home-manager's atuin config # Used in home-manager's atuin config
# Used here instead of home-manager because HM randomly needs to restart sops-nix and I can't # Used here instead of home-manager because HM randomly needs to restart sops-nix and I can't
# find a way to do so # find a way to do so
sops.secrets."albert/atuin_key" = { sops.secrets."atuin_key" = {
sopsFile = ../../../secrets/users/albert.yaml; sopsFile = ../../../secrets/users/albert.yaml;
owner = "albert"; owner = "albert";
}; };
sops.secrets."albert/email_password" = { sops.secrets."email_password" = {
sopsFile = ../../../secrets/users/albert.yaml; sopsFile = ../../../secrets/users/albert.yaml;
owner = "albert"; owner = "albert";
}; };