diff options
author | Joseph Stahl <1269177+josephst@users.noreply.github.com> | 2023-10-28 22:13:25 -0400 |
---|---|---|
committer | Joseph Stahl <1269177+josephst@users.noreply.github.com> | 2023-10-28 22:30:14 -0400 |
commit | 137a3c1303104df0f564684b4e8f0c51e14e65e9 (patch) | |
tree | 84240bbc451d7bc363da3a837b609d31cd30d9e1 /nixos | |
parent | 16d9fd5a86541e6007081c95c6eb9b615e14b86e (diff) |
systemd domainname service - fix missing domainname binary
needs nettools in path
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/tasks/network-interfaces.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix index a0e8e5d47a604..d976f9951bb55 100644 --- a/nixos/modules/tasks/network-interfaces.nix +++ b/nixos/modules/tasks/network-interfaces.nix @@ -1410,7 +1410,7 @@ in wantedBy = [ "sysinit.target" ]; before = [ "sysinit.target" ]; unitConfig.DefaultDependencies = false; - serviceConfig.ExecStart = ''domainname "${cfg.domain}"''; + serviceConfig.ExecStart = ''${pkgs.nettools}/bin/domainname "${cfg.domain}"''; }; environment.etc.hostid = mkIf (cfg.hostId != null) { source = hostidFile; }; |