shiori startup script

This commit is contained in:
baduhai 2022-12-24 09:54:08 -03:00
parent 60829f8868
commit a4cb0d9f28
5 changed files with 15 additions and 3 deletions

View file

@ -0,0 +1,9 @@
{ inputs, config, pkgs, libs, ... }:
{
system.activationScripts.shiori.text = ''
mkdir -p /data/shiori
chown shiori:hosted /data/shiori
ln -sfn /var/lib/shiori/* /data/shiori/
'';
}