Restructure packages into subdirectories
This commit is contained in:
parent
3961e33ca1
commit
f91196c8a4
9 changed files with 45 additions and 20 deletions
20
packages/bookwyrm/nixos-module.nix
Normal file
20
packages/bookwyrm/nixos-module.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ pkgs } :
|
||||
|
||||
with pkgs . kernelmaft ;
|
||||
|
||||
{
|
||||
systemd = {
|
||||
units = {
|
||||
"bookwyrm.service" = {
|
||||
text = ''
|
||||
[Unit]
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=${bookwyrm}/bin/bookwyrm
|
||||
WorkingDirectory=/var/lib/bookwyrm
|
||||
'' ;
|
||||
} ;
|
||||
} ;
|
||||
} ;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue