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
|
let
|
||||||
base-domain = "005540.xyz";
|
base-domain = "005540.xyz";
|
||||||
in
|
in
|
||||||
{ pkgs, ... }: {
|
{ pkgs, docspell, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./firewall.nix
|
./firewall.nix
|
||||||
|
|
@ -12,7 +12,7 @@ in
|
||||||
./postgresql.nix
|
./postgresql.nix
|
||||||
|
|
||||||
(import ./sourcehut.nix { inherit base-domain; })
|
(import ./sourcehut.nix { inherit base-domain; })
|
||||||
#(import ./docspell.nix { inherit base-domain; })
|
(import ./docspell.nix { inherit base-domain docspell; })
|
||||||
|
|
||||||
./userprogs.nix
|
./userprogs.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
{ base-domain, ... }:
|
{ base-domain, docspell, ... }:
|
||||||
let
|
let
|
||||||
fqdn = "docspell.${base-domain}";
|
fqdn = "docspell.${base-domain}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
nixpkgs.overlays = [ docspell.overlays.default ];
|
||||||
|
|
||||||
services.docspell-joex = {
|
services.docspell-joex = {
|
||||||
enable = true;
|
enable = true;
|
||||||
base-url = "http://localhost:7878";
|
base-url = "http://localhost:7878";
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,9 @@
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
docspell.nixosModules.default
|
docspell.nixosModules.default
|
||||||
|
{
|
||||||
|
_module.args = { inherit docspell; };
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue