From fc0dc65f416ccc3e5cc4acfca7aaf93b50890670 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 2 Oct 2016 14:00:12 +0200 Subject: network-interfaces-scripted: DefaultDependencies is a unitConfig Ref: 072c1dcc4a319b80ffd4a41165cebacdbb17275a --- nixos/modules/tasks/network-interfaces-scripted.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nixos/modules') diff --git a/nixos/modules/tasks/network-interfaces-scripted.nix b/nixos/modules/tasks/network-interfaces-scripted.nix index c8b48b995a0a..6a8f20bab5b6 100644 --- a/nixos/modules/tasks/network-interfaces-scripted.nix +++ b/nixos/modules/tasks/network-interfaces-scripted.nix @@ -67,9 +67,10 @@ in serviceConfig = { Type = "oneshot"; RemainAfterExit = true; - DefaultDependencies = false; }; + unitConfig.DefaultDependencies = false; + script = '' # Set the static DNS configuration, if given. -- cgit 1.4.1