This commit is contained in:
Lennart J. Kurzweg (Nx2)
2025-06-18 15:31:01 +02:00
parent 04dcba2d3f
commit d6d4a1f3b5
27 changed files with 243 additions and 276 deletions

View File

@@ -1,4 +1,4 @@
{ config, hyper, ... }:
{ pkgs, ...}@all: with all;
{
sops.secrets = {
"nx2site/nextcloud/admin-pass" = { owner = "nextcloud"; };
@@ -9,6 +9,7 @@
services = {
nextcloud = {
enable = true;
package = pkgs.nextcloud;
hostName = "nc.${hyper.domain}";
https = true;
configureRedis = true;

View File

@@ -1,4 +1,4 @@
{ config, hyper, pkgs, ... }:
{ pkgs, ...}@all: with all;
{
sops.secrets = {
"nx2site/sslCertificate.pem" = { owner = config.services.nginx.user; };

View File

@@ -1,4 +1,4 @@
{ config, hyper, ... }:
{ pkgs, ...}@all: with all;
{
sops.secrets = {
"nx2site/radicale/htpasswd" = {
@@ -10,6 +10,7 @@
radicale = {
# is run by user radicale
enable = true;
package = pkgs.radicale;
settings = {
server.hosts = let
port = builtins.toString 5232;