small test for nfs mounting options
This commit is contained in:
parent
8c395e0b5c
commit
42bd581b45
|
@ -36,7 +36,7 @@
|
|||
fileSystems."/mnt/remote/media" = {
|
||||
device = "files:/mnt/storage";
|
||||
fsType = "nfs";
|
||||
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ];
|
||||
options = [ "x-systemd.automount" ];
|
||||
};
|
||||
|
||||
# Enable all unfree hardware support.
|
||||
|
@ -82,7 +82,7 @@
|
|||
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
services.openssh.settings.PermitRootLogin = "yes";
|
||||
services.openssh.settings.PermitRootLogin = "no";
|
||||
services.openssh.settings.PasswordAuthentication = true;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue