mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 01:38:02 +02:00
srb2: Add hosting support
This commit is contained in:
parent
00a1c99987
commit
59b5f55e6d
@ -4,6 +4,8 @@
|
|||||||
containers.srb2 = {
|
containers.srb2 = {
|
||||||
privateNetwork = true;
|
privateNetwork = true;
|
||||||
ephemeral = true;
|
ephemeral = true;
|
||||||
|
hostAddress = "192.168.100.10";
|
||||||
|
localAddress = "192.168.100.11";
|
||||||
|
|
||||||
bindMounts = {
|
bindMounts = {
|
||||||
"/home/user/.srb2" = {
|
"/home/user/.srb2" = {
|
||||||
@ -41,6 +43,13 @@
|
|||||||
../setup.nix
|
../setup.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking.nat.forwardPorts = [
|
||||||
|
{
|
||||||
|
destination = "192.168.100.11:5029";
|
||||||
|
sourcePort = 5029;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
srb2
|
srb2
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user