hosts: move nginx from caramel to sugarcane
This commit is contained in:
parent
e3955c9158
commit
613280b0e2
2 changed files with 21 additions and 17 deletions
|
|
@ -7,7 +7,8 @@
|
||||||
passwd.file = ../../secrets/passwd.age;
|
passwd.file = ../../secrets/passwd.age;
|
||||||
wg_sugarcane.file = ../../secrets/wg_sugarcane.age;
|
wg_sugarcane.file = ../../secrets/wg_sugarcane.age;
|
||||||
};
|
};
|
||||||
imports = with modules.system; [
|
imports =
|
||||||
|
(with modules.system; [
|
||||||
(modulesPath + "/profiles/qemu-guest.nix")
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
inputs.home-manager-porcupine.nixosModule
|
inputs.home-manager-porcupine.nixosModule
|
||||||
|
|
||||||
|
|
@ -24,5 +25,8 @@
|
||||||
./packages.nix
|
./packages.nix
|
||||||
|
|
||||||
../../users/hana
|
../../users/hana
|
||||||
];
|
]) ++
|
||||||
|
(with modules.services; [
|
||||||
|
nginx
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ let
|
||||||
serverIp = "51.79.240.130";
|
serverIp = "51.79.240.130";
|
||||||
|
|
||||||
forwarding = {
|
forwarding = {
|
||||||
"80" = [ "10.100.0.2" "80" ];
|
# "80" = [ "10.100.0.2" "80" ];
|
||||||
"443" = [ "10.100.0.2" "443" ];
|
# "443" = [ "10.100.0.2" "443" ];
|
||||||
"22727" = [ "10.100.0.3" "7777" ];
|
"22727" = [ "10.100.0.3" "7777" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue