diff options
author | Rory& <root@rory.gay> | 2024-07-23 12:29:43 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-07-23 12:29:43 +0200 |
commit | 505f5b342242ee62069d5fca314bb80b5923336b (patch) | |
tree | cf6c7d964378b825dd0979b63315b75dd8ca7b48 | |
parent | pass nixpkgs draupnir to correct output (diff) | |
download | Rory-Open-Architecture-505f5b342242ee62069d5fca314bb80b5923336b.tar.xz |
Use networking.hosts instead of etc
-rwxr-xr-x | host/Rory-nginx/services/containers/draupnir-cme/root.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/host/Rory-nginx/services/containers/draupnir-cme/root.nix b/host/Rory-nginx/services/containers/draupnir-cme/root.nix index 6725c3b..3802ee2 100755 --- a/host/Rory-nginx/services/containers/draupnir-cme/root.nix +++ b/host/Rory-nginx/services/containers/draupnir-cme/root.nix @@ -33,11 +33,10 @@ nameserver 1.0.0.1 ''; - environment.etc."hosts".text = '' - 192.168.100.16 matrix.rory.gay - 192.168.100.16 rory.gay - ''; - + networking.hosts = { + "192.168.100.16" = [ "matrix.rory.gay" "rory.gay" ]; + } + networking.firewall = { enable = true; }; |