From bbac87a2ddf95029b8be2c9d3f8d44708ccc8b38 Mon Sep 17 00:00:00 2001 From: oddlama Date: Fri, 11 Aug 2023 22:44:08 +0200 Subject: [PATCH] nixos/hostapd: add missing stringification of path in INI format --- nixos/modules/services/networking/hostapd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/hostapd.nix b/nixos/modules/services/networking/hostapd.nix index 924abfc2953f..4ec066c2ec97 100644 --- a/nixos/modules/services/networking/hostapd.nix +++ b/nixos/modules/services/networking/hostapd.nix @@ -987,7 +987,7 @@ in { } // optionalAttrs (bssCfg.authentication.wpaPassword != null) { wpa_passphrase = bssCfg.authentication.wpaPassword; } // optionalAttrs (bssCfg.authentication.wpaPskFile != null) { - wpa_psk_file = bssCfg.authentication.wpaPskFile; + wpa_psk_file = toString bssCfg.authentication.wpaPskFile; }; dynamicConfigScripts = let