mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-08 19:46:03 +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 = [
|
||||
"rw"
|
||||
"nfsroot=${config.netImage.nfsRoot}"
|
||||
"nfsroot=${config.netImage.nfsRoot},v3"
|
||||
"ip=dhcp"
|
||||
"root=/dev/nfs"
|
||||
"rootwait"
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ in
|
|||
|
||||
nfsRoot = mkOption {
|
||||
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 = ''
|
||||
cmdline.txt nfs parameter for the root filesystem.
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue