forked from Fachschaft/nixConfig
redirects and proxy passes working (except for ssl which needs to migrate to dns)
This commit is contained in:
parent
a7c1e37375
commit
42b0d35691
4 changed files with 295 additions and 12 deletions
|
@ -3,23 +3,24 @@
|
|||
./hardware-configuration.nix
|
||||
../../roles
|
||||
../../roles/vm.nix
|
||||
../../modules/vmNetwork.nix
|
||||
../../modules/reverseProxy.nix
|
||||
];
|
||||
|
||||
# System configuration here
|
||||
|
||||
networking.hostName = "cthulhu";
|
||||
vmNetwork.ipv4 = "192.168.0.16";
|
||||
system.stateVersion = "25.05";
|
||||
|
||||
sops.secrets = {
|
||||
backupKey = {
|
||||
sopsFile = ./backupKey.secrets.yaml;
|
||||
owner = "root";
|
||||
group = "root";
|
||||
mode = "0400";
|
||||
};
|
||||
services.reverseProxy = {
|
||||
enable = true;
|
||||
redirects = import ./redirects.nix;
|
||||
proxies = import ./proxies.nix;
|
||||
};
|
||||
# TODO for the network rework, make a central record of hostnames to ip adresses where every
|
||||
# machine can read out their ip address and also this machine
|
||||
# sops.secrets = {
|
||||
# backupKey = {
|
||||
# sopsFile = ./backupKey.secrets.yaml;
|
||||
# owner = "root";
|
||||
# group = "root";
|
||||
# mode = "0400";
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue