Compare commits

...

2 commits

Author SHA1 Message Date
4ab35c6f51
containers/garnet: better ip filtering
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
2026-05-28 23:04:35 +10:00
1295d3f916
hosts/alyssum: enable garnet 2026-05-28 23:02:40 +10:00
2 changed files with 10 additions and 2 deletions

View file

@ -44,7 +44,13 @@
proxy_set_header Host $host; proxy_set_header Host $host;
''; '';
}; };
listenAddresses = [ "10.0.0.1" "[fd0d::1]" "100.67.1.1" ]; extraConfig = ''
allow 10.0.0.0/8;
allow 100.0.0.0/8;
allow 192.168.1.0/24;
allow fd0d::/8;
deny all;
'';
}; };
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [

View file

@ -1,4 +1,4 @@
{ lib, modules, modulesPath, ... }: { { inputs, modules, modulesPath, ... }: {
networking.hostName = "alyssum"; networking.hostName = "alyssum";
system.stateVersion = "25.11"; system.stateVersion = "25.11";
time.timeZone = "Australia/Melbourne"; time.timeZone = "Australia/Melbourne";
@ -22,6 +22,8 @@
security security
tailscale tailscale
inputs.c-garnet.nixosModule
./filesystem.nix ./filesystem.nix
./kernel.nix ./kernel.nix
./networking.nix ./networking.nix