colmena changes from nixops
This commit is contained in:
parent
34a33e1989
commit
540f4007a8
1 changed files with 5 additions and 4 deletions
|
|
@ -3,12 +3,9 @@ let
|
||||||
serverIp = "192.168.1.44";
|
serverIp = "192.168.1.44";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
network = {
|
meta = {
|
||||||
name = "house";
|
name = "house";
|
||||||
enableRollback = true;
|
|
||||||
description = "machines used in my house";
|
description = "machines used in my house";
|
||||||
|
|
||||||
storage.legacy = { };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
defaults = { pkgs, ... }:
|
defaults = { pkgs, ... }:
|
||||||
|
|
@ -104,6 +101,10 @@ in
|
||||||
/export/storage 192.168.1.0/24(rw,sync,nohide,no_subtree_check,insecure)
|
/export/storage 192.168.1.0/24(rw,sync,nohide,no_subtree_check,insecure)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d /var/lib/nfs/nfsdcld 755 root root"
|
||||||
|
];
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [ 2049 ]; # NFS port
|
allowedTCPPorts = [ 2049 ]; # NFS port
|
||||||
allowedUDPPorts = [ 51820 ]; # Clients and peers can use the same port, see listenport
|
allowedUDPPorts = [ 51820 ]; # Clients and peers can use the same port, see listenport
|
||||||
Loading…
Add table
Add a link
Reference in a new issue