nixos-config/hosts/phantom/nextcloud.nix

23 lines
441 B
Nix
Raw Normal View History

2024-03-28 21:56:52 -03:00
{ config, pkgs, inputs, ... }: {
services.nextcloud = {
enable = true;
package = pkgs.nextcloud27;
hostName = "cloud.lelgenio.xyz";
https = true;
config = {
adminpassFile = config.age.secrets.phantom-nextcloud.path;
2024-03-28 21:56:52 -03:00
};
};
age = {
secrets.phantom-nextcloud = {
file = ../../secrets/phantom-nextcloud.age;
2024-03-28 21:56:52 -03:00
mode = "400";
owner = "nextcloud";
group = "nextcloud";
};
};
}