Fix configuration
This commit is contained in:
parent
db40577e0c
commit
88177ecbad
4 changed files with 6 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
||||||
../role/nextcloud
|
../../../role/nextcloud
|
||||||
];
|
];
|
||||||
|
|
||||||
services.nextcloud = {
|
services.nextcloud = {
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Add table
Reference in a new issue