This commit is contained in:
Tristan 2024-02-26 18:26:21 +00:00
parent 7fc3164ab8
commit a8b581f499
12 changed files with 81 additions and 64 deletions

View file

@ -1,5 +1,8 @@
{config, pkgs, ...}:
let
{
config,
pkgs,
...
}: let
nextcloud = config.services.nextcloud;
secrets = config.sops.secrets;
sops = config.sops;
@ -19,11 +22,12 @@ in {
};
};
environment.systemPackages = with pkgs; [ ffmpeg ];
environment.systemPackages = with pkgs; [ffmpeg];
services.nextcloud = {
enable = true;
https = true;
hostName = "files.${config.networking.domain}";
configureRedis = true;
config = {
adminpassFile = secrets."nextcloud/admin_password".path;