diff options
author | makefu <github@syntax-fehler.de> | 2018-09-24 14:15:08 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-09-24 14:15:08 +0200 |
commit | b1c9bcf85c7cb0d3f02554d9a8d7045f1a16bd2c (patch) | |
tree | 3234ce50360fffed178924bb597f22f8857386b2 | |
parent | 7afd90f7452e9936e96910bebbfd32c94308e8eb (diff) |
ma airdcpp.mod: remove newlines from passwords
-rw-r--r-- | makefu/3modules/airdcpp.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/makefu/3modules/airdcpp.nix b/makefu/3modules/airdcpp.nix index 6709f0238..342052e70 100644 --- a/makefu/3modules/airdcpp.nix +++ b/makefu/3modules/airdcpp.nix @@ -55,6 +55,7 @@ let ''; type = str; default = ""; + apply = lib.removeSuffix "\n"; }; Server = mkOption { description = '' @@ -162,6 +163,7 @@ let password = mkOption { description = "password of user"; type = str; + apply = lib.removeSuffix "\n"; }; permissions = mkOption { description = "user permissions"; |