44 lines
1.5 KiB
Text
44 lines
1.5 KiB
Text
let types = ./types.dhall
|
|
|
|
in { backends =
|
|
[ { name = "default local backend"
|
|
, backend =
|
|
types.StandaloneAccount.LocalAccount
|
|
{ userConfig =
|
|
{ localBackend =
|
|
types.LocalBackend.TaskwarriorBackend
|
|
{ createHooksOnStart = True
|
|
, hookListenPort =
|
|
types.PortConfig.PortRange
|
|
{ min = 40000, max = 50000 }
|
|
, hookSuffix = "kassandra"
|
|
, removeHooksOnExit = True
|
|
, taskBin = None Text
|
|
, taskConfig = [] : List types.TaskwarriorOption
|
|
, taskDataPath = None Text
|
|
, taskRcPath = None Text
|
|
}
|
|
, uiConfig = ./uiConfig.dhall
|
|
}
|
|
}
|
|
}
|
|
, { name = "tasks.maralorn.de"
|
|
, backend =
|
|
types.StandaloneAccount.RemoteAccount
|
|
{ backend = Some
|
|
{ url = "https://tasks.maralorn.de"
|
|
, user = "maralorn"
|
|
, password =
|
|
types.PasswordConfig.PasswordCommand
|
|
{ command = "pass de/maralorn/tasks.maralorn.de/maralorn"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
, { name = "Dynamic Backend"
|
|
, backend =
|
|
types.StandaloneAccount.RemoteAccount
|
|
{ backend = None types.RemoteBackend }
|
|
}
|
|
]
|
|
}
|