Merge pull request #295407 from Stunkymonkey/nixos-murmur-registerPassword-fix

nixos/murmur: fix writing registerPassword to config
This commit is contained in:
Jörg Thalheim 2024-03-12 22:47:26 +01:00 committed by GitHub
commit 721c6579d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ let
sendversion=${boolToString cfg.sendVersion} sendversion=${boolToString cfg.sendVersion}
${optionalString (cfg.registerName != "") "registerName=${cfg.registerName}"} ${optionalString (cfg.registerName != "") "registerName=${cfg.registerName}"}
${optionalString (cfg.registerPassword == "") "registerPassword=${cfg.registerPassword}"} ${optionalString (cfg.registerPassword != "") "registerPassword=${cfg.registerPassword}"}
${optionalString (cfg.registerUrl != "") "registerUrl=${cfg.registerUrl}"} ${optionalString (cfg.registerUrl != "") "registerUrl=${cfg.registerUrl}"}
${optionalString (cfg.registerHostname != "") "registerHostname=${cfg.registerHostname}"} ${optionalString (cfg.registerHostname != "") "registerHostname=${cfg.registerHostname}"}