mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 11:14:02 -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;
|
||||
};
|
||||
|
||||
}
|
17
web/rockymtnlug-org.nix
Normal file
17
web/rockymtnlug-org.nix
Normal 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
17
web/tildecafe-com.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"tildecafe.com" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
root = "/var/www/tildecafe";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue