Compare commits
2 Commits
436ded79bb
...
ecc1653186
Author | SHA1 | Date | |
---|---|---|---|
ecc1653186 | |||
1d902dc86a |
|
@ -402,11 +402,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1705005928,
|
"lastModified": 1705007408,
|
||||||
"narHash": "sha256-r2VVXtWyIlKMtaNDrv2RdUx8S7dULj5wyh5fx3psn+8=",
|
"narHash": "sha256-rIL0dDDce6PT86psNACcBCRFgto4NDGAObQ2tMUhw3o=",
|
||||||
"owner": "SuperSandro2000",
|
"owner": "SuperSandro2000",
|
||||||
"repo": "nixos-modules",
|
"repo": "nixos-modules",
|
||||||
"rev": "0701c4fdc6eb495db4507732842af1bdbda7be26",
|
"rev": "9166e1b0fb8cac669b09bc2d05e02323e1dcfaa1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -15,8 +15,6 @@ in {
|
||||||
hypervisor = "cloud-hypervisor";
|
hypervisor = "cloud-hypervisor";
|
||||||
mem = 2048;
|
mem = 2048;
|
||||||
|
|
||||||
# shares break nfs
|
|
||||||
shares = lib.mkForce [];
|
|
||||||
storeDiskType = "erofs";
|
storeDiskType = "erofs";
|
||||||
|
|
||||||
volumes = map (export: {
|
volumes = map (export: {
|
||||||
|
@ -32,13 +30,7 @@ in {
|
||||||
|
|
||||||
fileSystems = builtins.foldl' (fileSystems: export: fileSystems // {
|
fileSystems = builtins.foldl' (fileSystems: export: fileSystems // {
|
||||||
"/${export}".options = [ "relatime" "discard" ];
|
"/${export}".options = [ "relatime" "discard" ];
|
||||||
}) {} nfsExports
|
}) {} nfsExports;
|
||||||
//
|
|
||||||
{
|
|
||||||
"/etc".device = "nodev";
|
|
||||||
"/home".device = "nodev";
|
|
||||||
"/var".device = "nodev";
|
|
||||||
};
|
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "nfsroot";
|
hostName = "nfsroot";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user