more agenix

This commit is contained in:
2024-09-15 13:31:57 -04:00
parent f3d47705d8
commit 17e11738d8
7 changed files with 47 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
{ homeDirectory }:
{ homeDirectory, borgPasswordFile }:
{
home = {
location = {
@@ -32,8 +32,7 @@
};
storage = {
#super secret password location (maybe I should find a way to store secrets properly)
encryptionPasscommand = "cat ${homeDirectory}/Documents/secrets/borg_bak_pass";
encryptionPasscommand = "cat ${borgPasswordFile}";
};
};
}