allow local remote servers for nextcloud

This commit is contained in:
mc-fucker 2022-03-24 17:20:21 +01:00
parent 7a675bc99a
commit d1df256611
3 changed files with 27 additions and 0 deletions

15
configuration.nix Normal file
View file

@ -0,0 +1,15 @@
{ ... }:
{
imports = [
./hardware-configuration.nix
./modules/generic.nix
./modules/rclone.nix
./modules/borg.nix
./modules/postgresql.nix
./modules/nextcloud.nix
./modules/navidrome.nix
./modules/ombi.nix
];
}
# vim: set et ts=2 sw=2 ai:

View file

@ -63,6 +63,7 @@
'dbindex' => 0, 'dbindex' => 0,
'timeout' => 1.5, 'timeout' => 1.5,
], ],
'allow_local_remote_servers' => true,
]; ];
''; '';
in { in {

11
modules/ombi.nix Normal file
View file

@ -0,0 +1,11 @@
{ ... }:
{
nixpkgs.config.packageOverrides = pkgs:
{
ombi = pkgs.callPackage /root/ombi {};
};
services.ombi.enable = true;
}
# vim: set et ts=2 sw=2 ai: