From 4fe0a777c1874696fd8b985f2b3f68fc01543a55 Mon Sep 17 00:00:00 2001 From: Arian van Putten Date: Wed, 24 Apr 2019 16:35:54 +0200 Subject: [PATCH] Add techstock.photos to get more karma on twitter I'm probably never implementing this --- computers/arianvp.me/default.nix | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/computers/arianvp.me/default.nix b/computers/arianvp.me/default.nix index 5415b82..83a44b2 100644 --- a/computers/arianvp.me/default.nix +++ b/computers/arianvp.me/default.nix @@ -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 = [ @@ -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" + '' + +

Tech Stock Photos

+

Royalty Free Non-crappy tech stock photos will come here

+ ''; + }; }; };