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";
|
device = "//u424050.your-storagebox.de/backup";
|
||||||
fsType = "cifs";
|
fsType = "cifs";
|
||||||
options = [
|
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"
|
"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}"
|
"credentials=${config.sops.templates.sb1-credentials.path}"
|
||||||
];
|
];
|
||||||
*/
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -131,8 +126,8 @@
|
|||||||
sb1-password.sopsFile = lib.secrets.sb1;
|
sb1-password.sopsFile = lib.secrets.sb1;
|
||||||
};
|
};
|
||||||
templates.sb1-credentials.content = ''
|
templates.sb1-credentials.content = ''
|
||||||
username="${config.sops.placeholder.sb1-username}"
|
username=${config.sops.placeholder.sb1-username}
|
||||||
password="${config.sops.placeholder.sb1-password}"
|
password=${config.sops.placeholder.sb1-password}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user