update personal keys

This commit is contained in:
albert 2024-05-07 20:48:58 +09:00
parent 5822a08e09
commit a189e6035d
Signed by: albert
GPG key ID: 3895DD267CA11BA9
3 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ config, ... }: {
{ config, username, ... }: {
programs.atuin = {
enable = true;
enableBashIntegration = true;
@ -12,7 +12,7 @@
search_mode = "fuzzy";
search_mode_shell_up_key_binding = "fuzzy";
secrets_filter = true;
key_path = "/run/secrets/atuin_key";
key_path = "/run/secrets/${username}/atuin_key";
filter_mode = "global";
workspaces = true;
inline_height = 75;

View file

@ -2,6 +2,7 @@
imports = [
./disks.nix
../../common/modules/secureboot.nix
../../common/modules/yubikey-auth.nix
../../common/modules/ssh-luks.nix
../../common/services/openrazer.nix
../../common/services/podman.nix
@ -82,5 +83,4 @@
# Other
pkgs.android-udev-rules
];
}

View file

@ -34,12 +34,12 @@ in {
# 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
# find a way to do so
sops.secrets.atuin_key = {
sops.secrets."albert/atuin_key" = {
sopsFile = ../../../secrets/users/albert.yaml;
owner = "albert";
};
sops.secrets.email_password = {
sops.secrets."albert.email_password" = {
sopsFile = ../../../secrets/users/albert.yaml;
owner = "albert";
};