small test for nfs mounting options

This commit is contained in:
Geir Okkenhaug Jerstad 2024-06-15 11:30:38 +02:00
parent 8c395e0b5c
commit 42bd581b45

View file

@ -36,7 +36,7 @@
fileSystems."/mnt/remote/media" = { fileSystems."/mnt/remote/media" = {
device = "files:/mnt/storage"; device = "files:/mnt/storage";
fsType = "nfs"; fsType = "nfs";
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ]; options = [ "x-systemd.automount" ];
}; };
# Enable all unfree hardware support. # Enable all unfree hardware support.
@ -82,7 +82,7 @@
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
services.openssh.settings.PermitRootLogin = "yes"; services.openssh.settings.PermitRootLogin = "no";
services.openssh.settings.PasswordAuthentication = true; services.openssh.settings.PasswordAuthentication = true;