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 | 5b04c503778f586db9877d81eb4fb871de4aa5c3 (patch) | |
tree | 70b2e5ffc61eed79611fc5cd383ed627b023a4da /3modules | |
parent | 813096c90074286a284517c7e1bc43a7985a267a (diff) |
ma airdcpp.mod: remove newlines from passwords
Diffstat (limited to '3modules')
-rw-r--r-- | 3modules/airdcpp.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/3modules/airdcpp.nix b/3modules/airdcpp.nix index 6709f0238..342052e70 100644 --- a/3modules/airdcpp.nix +++ b/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"; |