nfsroot: add dump-dvb/whoopsie

This commit is contained in:
Astro 2022-06-08 18:40:34 +02:00
parent 9ff44b9ea0
commit 2352cb18e4
1 changed files with 6 additions and 1 deletions

View File

@ -17,7 +17,7 @@ in {
tag = dir;
proto = "virtiofs";
socket = "${builtins.baseNameOf dir}.socket";
}) [ "etc" "home" "var" "var/lib/nfsroot/dacbert" "var/lib/nfsroot/riscbert" ];
}) [ "etc" "home" "var" "var/lib/nfsroot/dacbert" "var/lib/nfsroot/riscbert" "var/lib/dump-dvb/whoopsie" ];
interfaces = [ {
type = "tap";
@ -76,6 +76,11 @@ in {
"${subnet}(${opts "rw" 1})"
) allowed
}
/var/lib/dump-dvb/whoopsie ${
lib.concatMapStringsSep " " (subnet:
"${subnet}(${opts "rw" 1})"
) allowed
}
'';
};
}