feat: agenix

This commit is contained in:
s-prechtl 2025-07-01 01:31:09 +02:00
parent 7becd2870c
commit 42898035ba
6 changed files with 146 additions and 15 deletions

View file

@ -4,8 +4,6 @@
lib,
...
}: {
# This is only a temporary password and will be changed
environment.etc."nextcloud-admin-pass".text = "samcsamc11";
networking.firewall.allowedTCPPorts = [80 443];
services.nextcloud = {
enable = true;
@ -21,7 +19,7 @@
package = pkgs.nextcloud31;
config = {
adminuser = "admin";
adminpassFile = "/etc/nextcloud-admin-pass";
adminpassFile = config.age.secrets.nextcloud.path;
dbtype = "pgsql";
};
database.createLocally = true;