fix(docspell): pass packages correctly
This commit is contained in:
parent
4d09207c08
commit
7576621f00
3 changed files with 8 additions and 3 deletions
|
|
@ -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
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -15,6 +15,9 @@
|
|||
modules = [
|
||||
./configuration.nix
|
||||
docspell.nixosModules.default
|
||||
{
|
||||
_module.args = { inherit docspell; };
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue