forked from extern/nix-config
srb2: Add hosting support
This commit is contained in:
parent
00a1c99987
commit
59b5f55e6d
@ -4,6 +4,8 @@
|
||||
containers.srb2 = {
|
||||
privateNetwork = true;
|
||||
ephemeral = true;
|
||||
hostAddress = "192.168.100.10";
|
||||
localAddress = "192.168.100.11";
|
||||
|
||||
bindMounts = {
|
||||
"/home/user/.srb2" = {
|
||||
@ -41,6 +43,13 @@
|
||||
../setup.nix
|
||||
];
|
||||
|
||||
networking.nat.forwardPorts = [
|
||||
{
|
||||
destination = "192.168.100.11:5029";
|
||||
sourcePort = 5029;
|
||||
}
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
srb2
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user