Add host 'nextcloud'

This commit is contained in:
Fern Garden 2025-07-22 19:21:28 +08:00
parent 567d126144
commit 98e1fe4096
3 changed files with 32 additions and 1 deletions

View file

@ -0,0 +1,21 @@
{
config,
pkgs,
secrets,
...
}: {
# # Import secrets.
# sops = {
# age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
# defaultSopsFile = "${secrets}/sops.yaml";
# secrets."nextcloud/admin_pass" = {};
# };
#
# services.nextcloud = {
# enable = true;
# package = pkgs.nextcloud31;
# hostName = "localhost";
# config.adminpassFile = config.sops.secrets."nextcloud/admin_pass".path;
# config.dbtype = "sqlite";
# };
}