options = [ "vers=3" ];

This commit is contained in:
Andrew Kidd 2025-01-03 21:23:36 +00:00
parent 9e568e39dc
commit e61ed143b9

View file

@ -70,7 +70,7 @@ in
nfsRoot = mkOption { nfsRoot = mkOption {
type = types.str; type = types.str;
default = "192.168.0.108:/mnt/nfsshare/${config.netImage.imageBaseName}-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system}"; default = "192.168.0.108:/mnt/nfsshare/${config.netImage.imageBaseName}-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system},v3";
description = '' description = ''
cmdline.txt nfs parameter for the root filesystem. cmdline.txt nfs parameter for the root filesystem.
''; '';
@ -116,6 +116,7 @@ in
"/" = { "/" = {
device = "${config.netImage.nfsRoot}"; device = "${config.netImage.nfsRoot}";
fsType = "nfs"; fsType = "nfs";
options = [ "vers=3" ];
}; };
}; };