nfsroot: fix shares
This commit is contained in:
parent
1d902dc86a
commit
ecc1653186
|
@ -15,8 +15,6 @@ in {
|
|||
hypervisor = "cloud-hypervisor";
|
||||
mem = 2048;
|
||||
|
||||
# shares break nfs
|
||||
shares = lib.mkForce [];
|
||||
storeDiskType = "erofs";
|
||||
|
||||
volumes = map (export: {
|
||||
|
@ -32,13 +30,7 @@ in {
|
|||
|
||||
fileSystems = builtins.foldl' (fileSystems: export: fileSystems // {
|
||||
"/${export}".options = [ "relatime" "discard" ];
|
||||
}) {} nfsExports
|
||||
//
|
||||
{
|
||||
"/etc".device = "nodev";
|
||||
"/home".device = "nodev";
|
||||
"/var".device = "nodev";
|
||||
};
|
||||
}) {} nfsExports;
|
||||
|
||||
networking = {
|
||||
hostName = "nfsroot";
|
||||
|
|
Loading…
Reference in New Issue