Compare commits

...

2 Commits

Author SHA1 Message Date
Sandro - ecc1653186
nfsroot: fix shares 2024-01-11 22:30:23 +01:00
Sandro - 1d902dc86a
flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-modules':
    'github:SuperSandro2000/nixos-modules/0701c4fdc6eb495db4507732842af1bdbda7be26' (2024-01-11)
  → 'github:SuperSandro2000/nixos-modules/9166e1b0fb8cac669b09bc2d05e02323e1dcfaa1' (2024-01-11)
2024-01-11 22:21:33 +01:00
2 changed files with 4 additions and 12 deletions

View File

@ -402,11 +402,11 @@
]
},
"locked": {
"lastModified": 1705005928,
"narHash": "sha256-r2VVXtWyIlKMtaNDrv2RdUx8S7dULj5wyh5fx3psn+8=",
"lastModified": 1705007408,
"narHash": "sha256-rIL0dDDce6PT86psNACcBCRFgto4NDGAObQ2tMUhw3o=",
"owner": "SuperSandro2000",
"repo": "nixos-modules",
"rev": "0701c4fdc6eb495db4507732842af1bdbda7be26",
"rev": "9166e1b0fb8cac669b09bc2d05e02323e1dcfaa1",
"type": "github"
},
"original": {

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