NixOS 20.09 Changes.

This commit is contained in:
Kevin Baensch 2020-11-23 23:07:42 +01:00
parent f77aedf9a5
commit 528fec2f0d
Signed by: derped
GPG key ID: C0F1D326C7626543
6 changed files with 35 additions and 34 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
with lib;
@ -13,6 +13,7 @@ mkIf (elem "nextcloud" config.machine.services) {
hostName = domain;
https = true;
maxUploadSize = "1024M";
package = pkgs.nextcloud20;
config = {
adminuser = mkDefault (elemAt cfg.administrators 0).name;
adminpassFile = "${cfg.secretPath}/nextcloud_admin";