diff options
author | pacien | 2023-08-25 02:20:37 +0200 |
---|---|---|
committer | pacien | 2023-08-25 02:20:37 +0200 |
commit | af8238782fd0408b0f5c81cd3d0e4690373ea347 (patch) | |
tree | a66612af0f8fe846d1a37f6f8733efed5546fcb8 /example | |
parent | 775f62331aa2460a6e2166fa860552012bf6c83f (diff) | |
download | flaky-utils-af8238782fd0408b0f5c81cd3d0e4690373ea347.tar.gz |
example: add network access option in example
Diffstat (limited to 'example')
-rw-r--r-- | example/flake.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/example/flake.nix b/example/flake.nix index 3268b81..86accf7 100644 --- a/example/flake.nix +++ b/example/flake.nix | |||
@@ -82,6 +82,8 @@ | |||
82 | { from = "host"; host.port = 5432; guest.port = 5432; } # postgres | 82 | { from = "host"; host.port = 5432; guest.port = 5432; } # postgres |
83 | ]; | 83 | ]; |
84 | 84 | ||
85 | virtualisation.restrictNetwork = true; # allow internet access | ||
86 | |||
85 | services.postgresql = { | 87 | services.postgresql = { |
86 | enable = true; | 88 | enable = true; |
87 | enableTCPIP = true; | 89 | enableTCPIP = true; |