This commit is contained in:
albert 2024-04-30 11:42:53 +09:00
parent ad93a894ea
commit 4d58fb7366
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
2 changed files with 9 additions and 5 deletions

View file

@ -12,13 +12,9 @@
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 = config.sops.secrets.atuin_key.path; key_path = "/run/secrets/atuin_key";
filter_mode = "global"; filter_mode = "global";
workspaces = true; workspaces = true;
}; };
}; };
sops.secrets.atuin_key = {
sopsFile = ../../../../secrets/secrets.yaml;
};
} }

View file

@ -30,6 +30,14 @@ 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 = {
sopsFile = ../../../secrets/secrets.yaml;
owner = "albert";
};
# Make this user trusted # Make this user trusted
nix.settings.trusted-users = [ "albert" ]; nix.settings.trusted-users = [ "albert" ];
} }