shiori startup script
This commit is contained in:
parent
60829f8868
commit
a4cb0d9f28
5 changed files with 15 additions and 3 deletions
9
hosts/servers/alexandria/system.nix
Normal file
9
hosts/servers/alexandria/system.nix
Normal 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/
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue