network-interfaces-scripted: DefaultDependencies is a unitConfig
Ref: 072c1dcc4a319b80ffd4a41165cebacdbb17275a
commitfc0dc65f416ccc3e5cc4acfca7aaf93b50890670
authorJoachim Fasting <joachifm@fastmail.fm>
dateSun 2 Oct 2016, 14:00 (10 years ago)
parent60a9edb
nixos/modules/tasks/network-interfaces-scripted.nix+2−1
@@ -67,9 +67,10 @@ in
6767 serviceConfig = {
6868 Type = "oneshot";
6969 RemainAfterExit = true;
70− DefaultDependencies = false;
7170 };
7271
72+ unitConfig.DefaultDependencies = false;
73+
7374 script =
7475 ''
7576 # Set the static DNS configuration, if given.