Restructure packages into subdirectories
This commit is contained in:
parent
3961e33ca1
commit
f91196c8a4
9 changed files with 45 additions and 20 deletions
|
@ -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
|
||||
'' ;
|
||||
} ;
|
||||
} ;
|
||||
} ;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue