forked from Zynh0722/permafrost
dist_dir in wrapper
This commit is contained in:
parent
3b12d7c7ba
commit
3cf5fa031a
1 changed files with 4 additions and 2 deletions
|
@ -12,8 +12,10 @@ in
|
|||
|
||||
config = lib.mkIf cfg.enable {
|
||||
systemd.services.nyazoom = {
|
||||
script = ''
|
||||
DATABASE_URL="sqlite:///var/lib/nyazoom/data" ${lib.getExe nyazoom}
|
||||
script = /* bash */''
|
||||
export DATABASE_URL="sqlite:///var/lib/nyazoom/data"
|
||||
export DIST_DIR="${nyazoom}/dist"
|
||||
${lib.getExe nyazoom}
|
||||
'';
|
||||
wantedBy = [ "network.target" ];
|
||||
wants = [ "network.target" ];
|
||||
|
|
Loading…
Reference in a new issue