mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 09:58:26 +00:00
Improve nix files
List available versions; refactor modules to reuse default values.
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user