ma airdcpp.mod: remove newlines from passwords

This commit is contained in:
makefu 2018-09-24 14:15:08 +02:00
parent 7afd90f745
commit b1c9bcf85c
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -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";