1
0
forked from c3d2/nix-config

riscbert: mount nfsroot

This commit is contained in:
Astro 2022-09-07 16:39:21 +02:00
parent 999aefd931
commit 97c8a3c032

View File

@ -24,6 +24,11 @@
tmpOnTmpfs = true;
};
fileSystems."/mnt" = {
device = "${hostRegistry.hosts.nfsroot.ip4}:/var/lib/nfsroot/riscbert";
fsType = "nfs";
options = [ "nfsvers=3" "proto=tcp" "nolock" "hard" "async" "rw" ];
};
system.build.bootFiles = pkgs.runCommandNoCC "boot-files" {} ''
mkdir -p $out/boot