diff --git a/modules/sv1.nix b/modules/sv1.nix index cdd1c1c..e0d6d50 100644 --- a/modules/sv1.nix +++ b/modules/sv1.nix @@ -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} ''; };