Organizr en overlay
This commit is contained in:
parent
2787e12243
commit
489f166e36
@ -39,6 +39,7 @@
|
||||
nixpkgs.overlays = [
|
||||
(import ./overlays/riot-web.nix)
|
||||
(import ./overlays/lidarr.nix)
|
||||
(import ./overlays/organizr.nix)
|
||||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim
|
||||
|
5
overlays/organizr.nix
Normal file
5
overlays/organizr.nix
Normal file
@ -0,0 +1,5 @@
|
||||
self: super:
|
||||
|
||||
{
|
||||
organizr = super.callPackage ../pkgs/organizr { };
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
with import <nixpkgs> {};
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "organizr-${version}";
|
@ -118,7 +118,7 @@ in
|
||||
"organizr" = {
|
||||
listen = [ { addr = "127.0.0.1"; port = organizr_port; } ];
|
||||
locations."/" = {
|
||||
root = (import ./organizr.nix);
|
||||
root = pkgs.organizr;
|
||||
index = "index.php";
|
||||
extraConfig = ''
|
||||
location ~* \.php$ {
|
||||
|
Loading…
Reference in New Issue
Block a user