Auto-indent every file

This commit is contained in:
Vili Sinervä 2024-06-02 05:53:39 +03:00
parent d705ce20c3
commit 4787fea598
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
14 changed files with 977 additions and 997 deletions

View file

@ -1,20 +0,0 @@
#Main local NFS server with /home/vili etc.
{ config, pkgs, ... }:
{
networking.firewall.allowedTCPPorts = [ 111 2049 4000 4001 4002 20048 ];
networking.firewall.allowedUDPPorts = [ 111 2049 4000 4001 4002 20048 ];
services.nfs.server =
{
enable = true;
# fixed rpc.statd port; for (proxmox) firewall
statdPort = 4000;
lockdPort = 4001;
mountdPort = 4002;
extraNfsdConfig = '''';
createMountPoints = true;
exports = ''
/mnt/srv/nixos-conf 192.168.0.0/23(rw,no_root_squash) 172.16.0.0/24(rw,no_root_squash) 192.168.2.0/23(no_root_squash) 192.168.4.0/22(no_root_squash) 192.168.8.0/23(no_root_squash)
'';
};
}