Remove old cruft and clean up

This commit is contained in:
Jonas Juselius
2020-02-28 08:52:15 +01:00
parent 7c35ed4863
commit 31f5b7f953
2 changed files with 4 additions and 68 deletions

View File

@@ -48,6 +48,7 @@ let
"dm_mirror"
"dm_thin_pool"
];
networking = {
hostName = node;
extraHosts = settings.clusterHosts;
@@ -55,6 +56,7 @@ let
firewall.allowedTCPPorts = [ 111 2049 ];
firewall.allowedUDPPorts = [ 111 2049 24007 24008 ];
};
services.glusterfs = {
enable = true;
tlsSettings = {
@@ -63,12 +65,14 @@ let
tlsPem = cert.cert;
};
};
services.nfs.server = {
enable=true;
exports= ''
/vol/brick0/nfs0 10.253.18.0/24(insecure,rw,sync,no_subtree_check,crossmnt,fsid=0,no_root_squash)
'';
};
environment.systemPackages = [ pkgs.lvm2 ];
} // conf;
in