fix(docspell): pass packages correctly

This commit is contained in:
Khaïs COLIN 2024-08-23 09:02:54 +00:00
parent 4d09207c08
commit 7576621f00
3 changed files with 8 additions and 3 deletions

View file

@ -2,7 +2,7 @@
let
base-domain = "005540.xyz";
in
{ pkgs, ... }: {
{ pkgs, docspell, ... }: {
imports = [
./hardware-configuration.nix
./firewall.nix
@ -12,7 +12,7 @@ in
./postgresql.nix
(import ./sourcehut.nix { inherit base-domain; })
#(import ./docspell.nix { inherit base-domain; })
(import ./docspell.nix { inherit base-domain docspell; })
./userprogs.nix
];

View file

@ -1,8 +1,10 @@
{ base-domain, ... }:
{ base-domain, docspell, ... }:
let
fqdn = "docspell.${base-domain}";
in
{
nixpkgs.overlays = [ docspell.overlays.default ];
services.docspell-joex = {
enable = true;
base-url = "http://localhost:7878";

View file

@ -15,6 +15,9 @@
modules = [
./configuration.nix
docspell.nixosModules.default
{
_module.args = { inherit docspell; };
}
];
};
};