diff options
author | volth <volth@volth.com> | 2018-07-20 17:56:59 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2018-07-20 18:48:37 +0000 |
commit | 87f5930c3fb2c852f5243278b7a9da8e117d95e4 (patch) | |
tree | d76aa79bc394e820305c4eebbd250c89f6992eb9 /nixos/modules/services/misc/taskserver/default.nix | |
parent | a7e5927b4739c6e6427fc993f077cd3eb5433db7 (diff) |
[bot]: remove unreferenced code
Diffstat (limited to 'nixos/modules/services/misc/taskserver/default.nix')
-rw-r--r-- | nixos/modules/services/misc/taskserver/default.nix | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/nixos/modules/services/misc/taskserver/default.nix b/nixos/modules/services/misc/taskserver/default.nix index ba9f52f1904b1..7daf12f91714b 100644 --- a/nixos/modules/services/misc/taskserver/default.nix +++ b/nixos/modules/services/misc/taskserver/default.nix @@ -7,16 +7,6 @@ let taskd = "${pkgs.taskserver}/bin/taskd"; - mkVal = val: - if val == true then "true" - else if val == false then "false" - else if isList val then concatStringsSep ", " val - else toString val; - - mkConfLine = key: val: let - result = "${key} = ${mkVal val}"; - in optionalString (val != null && val != []) result; - mkManualPkiOption = desc: mkOption { type = types.nullOr types.path; default = null; |