deployment: trivial setup
TODO: * systemd-service * reverse-proxy
This commit is contained in:
parent
4402cebab6
commit
fcc22aaf7d
|
@ -12,4 +12,16 @@
|
|||
ipv6.addresses = [ { address = "2a01:4f8:c0c:cf13::1"; prefixLength = 64; } ];
|
||||
};
|
||||
};
|
||||
|
||||
users.users."beherbergung" = {
|
||||
group = "beherbergung";
|
||||
isSystemUser = true;
|
||||
createHome = true;
|
||||
home = "/var/lib/beherbergung";
|
||||
openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
|
||||
shell = "${pkgs.bash}/bin/bash";
|
||||
};
|
||||
users.groups."beherbergung" = {};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 4000 3000 ];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue