hosts: move nginx from caramel to sugarcane
(cherry picked from commit 613280b0e2)
This commit is contained in:
parent
5f029bf6c8
commit
0299af84a7
2 changed files with 21 additions and 17 deletions
|
|
@ -7,22 +7,26 @@
|
||||||
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 =
|
||||||
(modulesPath + "/profiles/qemu-guest.nix")
|
(with modules.system; [
|
||||||
inputs.home-manager-raccoon.nixosModule
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
|
inputs.home-manager-raccoon.nixosModule
|
||||||
|
|
||||||
base
|
base
|
||||||
home-manager
|
home-manager
|
||||||
input
|
input
|
||||||
nix-stable
|
nix-stable
|
||||||
security
|
security
|
||||||
wireguard
|
wireguard
|
||||||
|
|
||||||
./filesystem.nix
|
./filesystem.nix
|
||||||
./kernel.nix
|
./kernel.nix
|
||||||
./networking.nix
|
./networking.nix
|
||||||
./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