Fix: smb-credentials

This commit is contained in:
2025-06-08 15:45:47 -04:00
parent 27cf08d271
commit bb1ec1cbce
3 changed files with 14 additions and 8 deletions

View File

@@ -119,15 +119,20 @@
sops = {
defaultSopsFile = ../secrets.yaml;
validateSopsFiles = false;
age = {
sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
keyFile = "/var/lib/sops-nix/key.txt";
generateKey = true;
};
secrets = {
smb-password = {};
"smb-username" = {};
"smb-password" = {};
};
templates = {
"smb-credentials".content = ''
username=${config.sops.placeholder.smb-username}
password=${config.sops.placeholder.smb-password}
'';
};
};