fix: remove double quotes from secret sb1-credentials and reformat sb1 mount options
This commit is contained in:
parent
5dddb763fb
commit
507194e35b
@ -104,19 +104,14 @@
|
||||
device = "//u424050.your-storagebox.de/backup";
|
||||
fsType = "cifs";
|
||||
options = [
|
||||
(
|
||||
"x-systemd.automount,noauto,x-systemd.idle-timeout=60,"
|
||||
+ "x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s,"
|
||||
+ "credentials=/persist/sb1-credentials"
|
||||
)
|
||||
];
|
||||
/*
|
||||
options = [
|
||||
"noauto"
|
||||
"x-systemd.automount"
|
||||
"noauto"
|
||||
"x-systemd"
|
||||
"idle-timeout=60"
|
||||
"x-systemd.device-timeout=5s"
|
||||
"x-systemd.mount-timeout=5s"
|
||||
"credentials=${config.sops.templates.sb1-credentials.path}"
|
||||
];
|
||||
*/
|
||||
};
|
||||
};
|
||||
|
||||
@ -131,8 +126,8 @@
|
||||
sb1-password.sopsFile = lib.secrets.sb1;
|
||||
};
|
||||
templates.sb1-credentials.content = ''
|
||||
username="${config.sops.placeholder.sb1-username}"
|
||||
password="${config.sops.placeholder.sb1-password}"
|
||||
username=${config.sops.placeholder.sb1-username}
|
||||
password=${config.sops.placeholder.sb1-password}
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user