added nixos-vm

This commit is contained in:
Alexander Szczepanski
2021-07-07 01:19:17 +02:00
parent eee68b27a6
commit bb173a77e4
3 changed files with 128 additions and 10 deletions

View File

@ -69,6 +69,21 @@
matchBlocks."szczepan.ski" = {
hostname = "szczepan.ski";
};
matchBlocks."router" = {
hostname = "192.168.1.1";
user = "root";
localForwards = [ {
bind.address = "127.0.0.1";
bind.port = 1337;
host.address = "127.0.0.1";
host.port = 80;
} ];
};
matchBlocks."homeserver" = {
hostname = "192.168.1.100";
# remoteForwards = [ {
# bind.address = "127.0.0.1";
# bind.port = 52698;
@ -76,16 +91,6 @@
# host.port = 52698;
# } ];
};
matchBlocks."homeserver" = {
hostname = "192.168.1.100";
remoteForwards = [ {
bind.address = "127.0.0.1";
bind.port = 52698;
host.address = "127.0.0.1";
host.port = 52698;
} ];
};
};
git = {