nfsroot: fix shares

This commit is contained in:
Sandro - 2024-01-11 22:30:23 +01:00
parent 1d902dc86a
commit ecc1653186
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 1 additions and 9 deletions

View File

@ -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";