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