summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-09-24 14:15:08 +0200
committermakefu <github@syntax-fehler.de>2018-09-24 14:15:08 +0200
commitb1c9bcf85c7cb0d3f02554d9a8d7045f1a16bd2c (patch)
tree3234ce50360fffed178924bb597f22f8857386b2 /makefu
parent7afd90f7452e9936e96910bebbfd32c94308e8eb (diff)
ma airdcpp.mod: remove newlines from passwords
Diffstat (limited to 'makefu')
-rw-r--r--makefu/3modules/airdcpp.nix2
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";