summaryrefslogtreecommitdiff
path: root/hosts/ahmed
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/ahmed')
-rw-r--r--hosts/ahmed/configuration.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/hosts/ahmed/configuration.nix b/hosts/ahmed/configuration.nix
index 945f29c..f95f449 100644
--- a/hosts/ahmed/configuration.nix
+++ b/hosts/ahmed/configuration.nix
@@ -3,6 +3,7 @@
{
config,
pkgs,
+ metadata,
...
}: {
imports = [
@@ -82,7 +83,10 @@
networking.firewall.allowedTCPPorts = [80 443];
# We are running behind CF proxy.
- modules.cloudflare-proxy.enable = true;
+ modules.cloudflare-proxy = {
+ enable = true;
+ firewall.IPv4Whitelist = [metadata.hosts.muhammed.ipAddress];
+ };
# Use as main driver temporarily.
# modules.graphics.enable = true;