mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 19:24:03 -06:00
Add other web files and CUDA shell
This commit is contained in:
parent
09e4163b2d
commit
3801b4d58d
5 changed files with 86 additions and 4 deletions
28
web/cloud-ahoneybun-net.nix
Normal file
28
web/cloud-ahoneybun-net.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{config, pkgs, ...}:
|
||||
|
||||
{
|
||||
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
package = pkgs.nextcloud25;
|
||||
extraApps = with pkgs.nextcloud25Packages.apps; {
|
||||
inherit mail news contacts;
|
||||
};
|
||||
extraAppsEnable = true;
|
||||
config = {
|
||||
# config.adminpassFile = "${pkgs.writeText "adminpass" "test123"}";
|
||||
# adminpassFile = "${pkgs.writeText "adminpass" "test123"}";
|
||||
adminpassFile = "/var/nextcloud-admin-pass";
|
||||
adminuser = "admin";
|
||||
defaultPhoneRegion = "US";
|
||||
};
|
||||
hostName = "cloud.ahoneybun.net";
|
||||
https = true;
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue