[Nix-dev] Please help me with getting the Taskserver service running

2015-11-17 Thread Matthias Beyer
Hi! I'm currently working on the taskserver service for taskwarrior synchronization[0]. I have serious problems a) understanding how to do things b) finding out how tests for services are written (where is the documentation on this? Lethalman on IRC told me there is none?

Re: [Nix-dev] Please help me with getting the Taskserver service running

2015-11-17 Thread Marc Weber
> The problems I'm facing is mainly the fact that the taskserver wants > to create certificates and keys[1]. A follow-up problem will be the > creating of users on the taskserver. What about describing which kind of user(s) you mean? /etc/passwd ones? See MySQL service for instance and ids.nix.

Re: [Nix-dev] Please help me with getting the Taskserver service running

2015-11-17 Thread Matthias Beyer
On 17-11-2015 16:59:16, Marc Weber wrote: > > The problems I'm facing is mainly the fact that the taskserver wants > > to create certificates and keys[1]. A follow-up problem will be the > > creating of users on the taskserver. > What about describing which kind of user(s) you mean? /etc/passwd

Re: [Nix-dev] Please help me with getting the Taskserver service running

2015-11-17 Thread Jascha Geerds
The configuration of orgnisations, groups and users is not declarative, so it will be hard to implement this part in NixOS. Best way would be to write a short script which parses a yaml/json file and then "syncs" this configuration with taskserver. Unfortunately, taskserver isn't good documented