Fix: smb-credentials
This commit is contained in:
@@ -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}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user