Add other web files and CUDA shell

This commit is contained in:
Aaron Honeycutt 2023-03-30 07:50:08 -06:00
parent 09e4163b2d
commit 3801b4d58d
5 changed files with 86 additions and 4 deletions

View 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;
};
}

17
web/rockymtnlug-org.nix Normal file
View file

@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
services.nginx = {
enable = true;
virtualHosts = {
"rockymountainlinuxfest.org" = {
forceSSL = true;
enableACME = true;
locations."/" = {
root = "/var/www/RMFest-website";
};
};
};
};
}

17
web/tildecafe-com.nix Normal file
View file

@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
services.nginx = {
enable = true;
virtualHosts = {
"tildecafe.com" = {
forceSSL = true;
enableACME = true;
locations."/" = {
root = "/var/www/tildecafe";
};
};
};
};
}