Add hosts file

This commit is contained in:
Filippo Berto 2024-01-07 10:31:18 +01:00
parent 032875eec9
commit 3b6cf23db1
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
4 changed files with 42 additions and 11 deletions

View file

@ -1,4 +1,7 @@
{ pkgs, ... }:
let
hosts = import ../../hosts.nix;
in
{
boot = {
@ -277,7 +280,7 @@
http = {
use_x_forwarded_for = true;
trusted_proxies = [ "172.23.171.70" "::1" "127.0.0.1" ];
trusted_proxies = [ hosts.zerotier.ipv4."baldur.zto" "::1" "127.0.0.1" ];
};
automation = "!include automations.yaml";