Enable nextcloud

This commit is contained in:
Fern Garden 2025-07-22 21:07:08 +08:00
parent 98e1fe4096
commit 7a771dc49e
2 changed files with 18 additions and 18 deletions

8
flake.lock generated
View file

@ -456,11 +456,11 @@
"secrets": { "secrets": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1751952212, "lastModified": 1753189540,
"narHash": "sha256-2W/h9pas2gJrRtrZYzBxXUZ99i6W3xXtfiIxOI19rhs=", "narHash": "sha256-1kIA3wHUw8Vlc7VxM4HuBhbaR/d+hKXbRtuDYm2YQ2c=",
"ref": "main", "ref": "main",
"rev": "11bb31b71e2ef6795c9b0184f9e10e2946071ed8", "rev": "fa4f376b81efb6a9313e3d43d0361853b9389b84",
"revCount": 1, "revCount": 2,
"type": "git", "type": "git",
"url": "ssh://git@docker.local:222/fern/secrets" "url": "ssh://git@docker.local:222/fern/secrets"
}, },

View file

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