From daf4aebad7efa838301c1fa7f32c1abd43501f1f Mon Sep 17 00:00:00 2001 From: Elbek Azimov <9398439+0x450x6c@users.noreply.github.com> Date: Sat, 8 Jul 2023 16:45:35 +0000 Subject: [PATCH] Disable DHCP in full-nixos example --- examples/full-nixos/arion-compose.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/full-nixos/arion-compose.nix b/examples/full-nixos/arion-compose.nix index 94890db..cd3f150 100644 --- a/examples/full-nixos/arion-compose.nix +++ b/examples/full-nixos/arion-compose.nix @@ -3,6 +3,7 @@ services.webserver = { pkgs, lib, ... }: { nixos.useSystemd = true; nixos.configuration.boot.tmpOnTmpfs = true; + nixos.configuration.networking.useDHCP = false; nixos.configuration.services.nginx.enable = true; nixos.configuration.services.nginx.virtualHosts.localhost.root = "${pkgs.nix.doc}/share/doc/nix/manual"; nixos.configuration.services.nscd.enable = false;