mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
feat: install nextcloud
This commit is contained in:
parent
4bba7bbf2a
commit
874557c350
1 changed files with 21 additions and 0 deletions
21
modules/services/nextcloud.nix
Normal file
21
modules/services/nextcloud.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
hostName = "cloud.liv.town";
|
||||
https = true;
|
||||
|
||||
virtualHosts.${config.services.nextcloud.hostName} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
certs = {
|
||||
${config.services.nextcloud.hostName}.email = "ahwx@ahwx.org";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue