Re: [Nix-dev] Cannot override MemoryLimit and CPUShares in service?

2017-02-17 Thread Rickard Nilsson
On 02/17/2017 06:30 PM, Matthias Beyer wrote: > Hi, > > I try to build a container for gitit, searx and hound (each service one) to play > around. I fail to override the memory limit and the cpu shares. Here is my > service configuration for hound, as an example: > > > { port,

[Nix-dev] Cannot override MemoryLimit and CPUShares in service?

2017-02-17 Thread Matthias Beyer
Hi, I try to build a container for gitit, searx and hound (each service one) to play around. I fail to override the memory limit and the cpu shares. Here is my service configuration for hound, as an example: { port, MemoryHighMB, CPUShares, ... }: { autoStart = false; config