You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a container to host a gitit instance, but the wiki fails to start because it is now allowed to write to var/lib/gitit/wiki/:
{port,MemoryHighMB,CPUShares, ... }:
{autoStart=false;config={config,pkgs, ... }: {imports=[<nixpkgs/nixos/modules/services/misc/gitit.nix>];nixpkgs.config.allowUnfree=false;services.gitit={enable=true;plugins=[];port=port;wikiTitle="test";repositoryType="git";# Be explicit hererequireAuthentication="none";# Its just for local use...};systemd.services.gitit.serviceConfig={MemoryHigh=MemoryHighMB*1024*1024;CPUShares=CPUShares;};};}
Steps to reproduce
Use the above nix snippet and put containers.gitit = import /path/to/snip.nix { pkgs = pkgs; CPUShares = 512; MemoryHighMB = 512; }; into the configuration.nix.
Technical details
System: 17.03pre101231.19a9099 (Gorilla)
Nix version: nix-env (Nix) 1.11.6
Nixpkgs version: "17.03pre101231.19a9099"
The text was updated successfully, but these errors were encountered:
Issue description
I created a container to host a gitit instance, but the wiki fails to start because it is now allowed to write to
var/lib/gitit/wiki/
:Steps to reproduce
Use the above nix snippet and put
containers.gitit = import /path/to/snip.nix { pkgs = pkgs; CPUShares = 512; MemoryHighMB = 512; };
into theconfiguration.nix
.Technical details
The text was updated successfully, but these errors were encountered: