hazel: add nextcloud

This commit is contained in:
LavaDesu 2025-04-05 14:10:13 +11:00
parent 7a6aa37647
commit 28cca81e69
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -1,4 +1,4 @@
{ modules, ... }: {
{ modules, pkgs, ... }: {
networking.hostName = "hazel";
system.stateVersion = "24.11";
time.timeZone = "Australia/Melbourne";
@ -8,6 +8,7 @@
base
kernel
nginx
nix-stable
packages
security
@ -20,4 +21,15 @@
];
me.environment = "headless";
services.nextcloud = {
enable = true;
package = pkgs.nextcloud31;
hostName = "cloud.lava.moe";
database.createLocally = true;
config = {
dbtype = "pgsql";
adminpassFile = "/persist/nextcloud-admin-pass";
};
};
}