summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorKonrad Borowski <konrad@borowski.pw>2021-04-12 18:37:18 +0200
committerKonrad Borowski <konrad@borowski.pw>2021-04-12 18:37:18 +0200
commit66b2aaf2ebb91cbaf9f90d71af27cb7558659fc2 (patch)
treea738a5100e29ca20725e0d05db5a664813872da7 /nixos
parent48a6e63797117d68ff75d8bd653721c229fcfa76 (diff)
Revert "nixos/systemd: provide libidn2 for systemd-resolved"
This patch is no longer necessary with systemd v247.3.

This reverts commit c674a51382ce556f98c76f270275ecece3a4936a.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/resolved.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/nixos/modules/system/boot/resolved.nix b/nixos/modules/system/boot/resolved.nix
index 7fe8f4dfb7e3a..84bc9b78076cf 100644
--- a/nixos/modules/system/boot/resolved.nix
+++ b/nixos/modules/system/boot/resolved.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, lib, ... }:
+{ config, lib, ... }:
 
 with lib;
 let
@@ -150,9 +150,6 @@ in
       wantedBy = [ "multi-user.target" ];
       aliases = [ "dbus-org.freedesktop.resolve1.service" ];
       restartTriggers = [ config.environment.etc."systemd/resolved.conf".source ];
-      # Upstream bug: https://github.com/systemd/systemd/issues/18078
-      # systemd-resolved without libidn2 is broken
-      environment.LD_LIBRARY_PATH = "${lib.getLib pkgs.libidn2}/lib";
     };
 
     environment.etc = {