mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-09 12:06:02 +01:00
nfs pathing
This commit is contained in:
parent
e61ed143b9
commit
9ff9d16566
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"rw"
|
"rw"
|
||||||
"nfsroot=${config.netImage.nfsRoot}"
|
"nfsroot=${config.netImage.nfsRoot},v3"
|
||||||
"ip=dhcp"
|
"ip=dhcp"
|
||||||
"root=/dev/nfs"
|
"root=/dev/nfs"
|
||||||
"rootwait"
|
"rootwait"
|
||||||
|
|
|
||||||
|
|
@ -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},v3";
|
default = "192.168.0.108:/mnt/nfsshare/${config.netImage.imageBaseName}-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system}";
|
||||||
description = ''
|
description = ''
|
||||||
cmdline.txt nfs parameter for the root filesystem.
|
cmdline.txt nfs parameter for the root filesystem.
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue