mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-08 19:46:03 +01:00
config.fileSystems
This commit is contained in:
parent
7a6b0ac5a7
commit
2be94edd10
1 changed files with 11 additions and 0 deletions
|
|
@ -99,6 +99,17 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
fileSystems = {
|
||||||
|
"/boot/firmware" = {
|
||||||
|
device = "${config.netImage.nfsRoot}/boot/firmware";
|
||||||
|
fsType = "nfs";
|
||||||
|
};
|
||||||
|
"/" = {
|
||||||
|
device = "${config.netImage.nfsRoot}";
|
||||||
|
fsType = "nfs";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
netImage.storePaths = [ config.system.build.toplevel ];
|
netImage.storePaths = [ config.system.build.toplevel ];
|
||||||
|
|
||||||
system.build.netImage = pkgs.callPackage
|
system.build.netImage = pkgs.callPackage
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue