X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Fdenise%2Foms.nix;h=2c5e90e3b33e88fa6d86394942ae2a081c7260c0;hb=5a61f6ad5164a735be26e016c59e72252ffb49b7;hp=965046891868ea275c30138af9164b30f379d70f;hpb=a295d69fcfabe64bd17ae05f1948505531ea99a2;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/websites/denise/oms.nix b/modules/private/websites/denise/oms.nix index 9650468..2c5e90e 100644 --- a/modules/private/websites/denise/oms.nix +++ b/modules/private/websites/denise/oms.nix @@ -1,7 +1,7 @@ { lib, config, pkgs, ... }: let cfg = config.myServices.websites.denise.oms; - varDir = "/var/lib/buildbot/outputs/denise_oms"; + varDir = "/var/lib/buildbot/outputs/denise/oms"; socket = "/run/denise_oms/socket.sock"; in { options.myServices.websites.denise.oms.enable = lib.mkEnableOption "enable Denise's OMS website"; @@ -33,7 +33,7 @@ in { Type = "simple"; WorkingDirectory = varDir; ExecStart = let - python = pkgs.python3.withPackages (p: [ p.gunicorn p.flask p.matplotlib ]); + python = pkgs.python3.withPackages (p: [ p.gunicorn p.flask p.matplotlib p.unidecode ]); in "${python}/bin/gunicorn -w4 -p /run/denise_oms/gunicorn.pid --bind unix:${socket} app:app"; User = "buildbot";