Fix configuration

This commit is contained in:
Fabian Hauser 2020-08-27 20:35:36 +00:00
parent db40577e0c
commit 88177ecbad
4 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@
imports = [ imports = [
../role/nextcloud ../../../role/nextcloud
]; ];
services.nextcloud = { services.nextcloud = {

View file

@ -21,7 +21,7 @@ in {
yearly = -1; yearly = -1;
}; };
removeableDevices = true; removableDevice = true;
repo = repo; repo = repo;
startAt = "07:00:"; startAt = "07:00:";
environment.BORG_BASE_DIR = "${repo}/borg-base-dir"; environment.BORG_BASE_DIR = "${repo}/borg-base-dir";

View file

@ -7,10 +7,10 @@
./backup.nix ./backup.nix
./applications ./applications
../hardware/nuc.nix ../../hardware/nuc.nix
../role/base ../../role/base
../role/dropbear ../../role/dropbear
]; ];
# Set your time zone. # Set your time zone.

View file

@ -2,7 +2,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
services.nextcloud = { services.nextcloud.config = {
adminpassFile = "/secrets/nextcloud-admin"; # TODO adminpassFile = "/secrets/nextcloud-admin"; # TODO
adminuser = "root"; adminuser = "root";
dbtype = "pgsql"; dbtype = "pgsql";