hosts: move nginx from caramel to sugarcane

This commit is contained in:
LavaDesu 2022-03-28 22:57:48 +07:00
parent e3955c9158
commit 613280b0e2
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 21 additions and 17 deletions

View file

@ -7,22 +7,26 @@
passwd.file = ../../secrets/passwd.age;
wg_sugarcane.file = ../../secrets/wg_sugarcane.age;
};
imports = with modules.system; [
(modulesPath + "/profiles/qemu-guest.nix")
inputs.home-manager-porcupine.nixosModule
imports =
(with modules.system; [
(modulesPath + "/profiles/qemu-guest.nix")
inputs.home-manager-porcupine.nixosModule
base
home-manager
input
nix-porcupine
security
wireguard
base
home-manager
input
nix-porcupine
security
wireguard
./filesystem.nix
./kernel.nix
./networking.nix
./packages.nix
./filesystem.nix
./kernel.nix
./networking.nix
./packages.nix
../../users/hana
];
../../users/hana
]) ++
(with modules.services; [
nginx
]);
}

View file

@ -6,8 +6,8 @@ let
serverIp = "51.79.240.130";
forwarding = {
"80" = [ "10.100.0.2" "80" ];
"443" = [ "10.100.0.2" "443" ];
# "80" = [ "10.100.0.2" "80" ];
# "443" = [ "10.100.0.2" "443" ];
"22727" = [ "10.100.0.3" "7777" ];
};