hazel: add nextcloud
This commit is contained in:
parent
7a6aa37647
commit
28cca81e69
1 changed files with 13 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ modules, ... }: {
|
{ modules, pkgs, ... }: {
|
||||||
networking.hostName = "hazel";
|
networking.hostName = "hazel";
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
time.timeZone = "Australia/Melbourne";
|
time.timeZone = "Australia/Melbourne";
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
base
|
base
|
||||||
kernel
|
kernel
|
||||||
|
nginx
|
||||||
nix-stable
|
nix-stable
|
||||||
packages
|
packages
|
||||||
security
|
security
|
||||||
|
|
@ -20,4 +21,15 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
me.environment = "headless";
|
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";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue