Improve nix files

List available versions; refactor modules to reuse default values.
This commit is contained in:
Eike Kettner
2020-01-22 23:11:02 +01:00
parent ec29e44d3d
commit c0f39d6497
5 changed files with 129 additions and 119 deletions

View File

@ -20,7 +20,7 @@ in
let
callPackage = pkgs.lib.callPackageWith(custom // pkgs);
custom = {
docspell = callPackage (docspell.pkg "0.2.0") {};
docspell = callPackage docspell.currentPkg {};
};
in custom;
};
@ -39,6 +39,8 @@ in
urls = ["http://localhost:7880/api/v1/open/upload/item/blabla"];
};
environment.systemPackages = [ pkgs.docspell.tools pkgs.jq ];
services.xserver = {
enable = false;
};