fix(ops/nixery): switch nixery.dev to stable nixpkgs channel
The current unstable has a bunch of breakage which people have been reporting, lets move the public instance to the stable channel until that is sorted out. Example breakage: https://github.com/tazjin/nixery/issues/159 Change-Id: Id5eb11ebd235928b85c01c178c32da3badea517f Reviewed-on: https://cl.tvl.fyi/c/depot/+/9126 Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
7d69e82be3
commit
bde9bc1c1d
1 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,8 @@
|
||||||
let
|
let
|
||||||
cfg = config.services.depot.nixery;
|
cfg = config.services.depot.nixery;
|
||||||
description = "Nixery - container images on-demand";
|
description = "Nixery - container images on-demand";
|
||||||
storagePath = "/var/lib/nixery/${pkgs.nixpkgsCommits.unstable}";
|
nixpkgsSrc = depot.third_party.sources.nixpkgs-stable;
|
||||||
|
storagePath = "/var/lib/nixery/${nixpkgsSrc.rev}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.services.depot.nixery = {
|
options.services.depot.nixery = {
|
||||||
|
@ -33,7 +34,7 @@ in
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
PORT = toString cfg.port;
|
PORT = toString cfg.port;
|
||||||
NIXERY_PKGS_PATH = pkgs.path;
|
NIXERY_PKGS_PATH = nixpkgsSrc.outPath;
|
||||||
NIXERY_STORAGE_BACKEND = "filesystem";
|
NIXERY_STORAGE_BACKEND = "filesystem";
|
||||||
NIX_TIMEOUT = "60"; # seconds
|
NIX_TIMEOUT = "60"; # seconds
|
||||||
STORAGE_PATH = storagePath;
|
STORAGE_PATH = storagePath;
|
||||||
|
|
Loading…
Reference in a new issue