Skip to content

Commit

Permalink
Add techstock.photos to get more karma on twitter
Browse files Browse the repository at this point in the history
I'm probably never implementing this
  • Loading branch information
arianvp committed Apr 24, 2019
1 parent 4097dab commit 4fe0a77
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions computers/arianvp.me/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
{ pkgs, ...}:
{ lib, pkgs, ...}:
{
imports = [
../../modules/digitalocean/config.nix
# ../../modules/k8s
];

system.stateVersion = "19.03";


/*services.kubeadm = {
enable = true;
role = "master";
};*/

# Weechat
services.weechat.enable = true;
networking.firewall.allowedTCPPorts = [
Expand All @@ -21,10 +28,22 @@

services.nginx = {
enable = true;
virtualHosts."arianvp.me" = {
forceSSL = true;
enableACME = true;
locations."/".root = pkgs.arianvp-website;
virtualHosts = {
"arianvp.me" = {
forceSSL = true;
enableACME = true;
locations."/".root = pkgs.arianvp-website;
};
"techstock.photos" = {
forceSSL = true;
enableACME = true;
locations."/".root = pkgs.writeTextDir "index.html"
''
<!doctype html>
<h1> Tech Stock Photos </h1>
<h2> Royalty Free Non-crappy tech stock photos will come here </h2>
'';
};
};
};

Expand Down

0 comments on commit 4fe0a77

Please sign in to comment.