1
0
Fork 0
nixos-config/home-manager/roles/kassandra/config.dhall
2021-04-26 04:43:13 +02:00

45 lines
1.5 KiB
Plaintext

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 }
}
]
}