format the repo files
This commit is contained in:
@@ -1,18 +1,23 @@
|
||||
{config, pkgs, lib, ...}: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# enable nfs
|
||||
services.nfs.server = rec {
|
||||
enable = true;
|
||||
exports = ''
|
||||
/export 192.168.2.0/24(rw,fsid=0,no_subtree_check)
|
||||
/export/Pluto 192.168.2.0/24(rw,no_subtree_check)
|
||||
/export/Mars 192.168.2.0/24(rw,no_subtree_check)
|
||||
'';
|
||||
createMountPoints = true;
|
||||
enable = true;
|
||||
exports = ''
|
||||
/export 192.168.2.0/24(rw,fsid=0,no_subtree_check)
|
||||
/export/Pluto 192.168.2.0/24(rw,no_subtree_check)
|
||||
/export/Mars 192.168.2.0/24(rw,no_subtree_check)
|
||||
'';
|
||||
createMountPoints = true;
|
||||
};
|
||||
# open the firewall
|
||||
networking.firewall = {
|
||||
interfaces.ens18 = {
|
||||
allowedTCPPorts = [ 2049 ];
|
||||
allowedTCPPorts = [2049];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user