Restructure packages into subdirectories

This commit is contained in:
Reinout Meliesie 2025-03-04 13:13:22 +01:00
parent 3961e33ca1
commit f91196c8a4
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
9 changed files with 45 additions and 20 deletions

View file

@ -1,9 +1,12 @@
{ pkgs , ... } :
{ pkgs } :
with pkgs ;
with pkgs . kernelmaft ;
{
imports = [
packages/bookwyrm/nixos-module.nix
] ;
nixpkgs = {
overlays = [
( self : super : {
@ -50,19 +53,4 @@ with pkgs . kernelmaft ;
} )
] ;
} ;
systemd = {
units = {
"bookwyrm.service" = {
text = ''
[Unit]
After=network.target
[Service]
ExecStart=${bookwyrm}/bin/bookwyrm
WorkingDirectory=/var/lib/bookwyrm
'' ;
} ;
} ;
} ;
}