diff options
Diffstat (limited to 'nixos/socrates/configuration.nix')
-rw-r--r-- | nixos/socrates/configuration.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nixos/socrates/configuration.nix b/nixos/socrates/configuration.nix index 0d8d7a8612c4..94ef03def472 100644 --- a/nixos/socrates/configuration.nix +++ b/nixos/socrates/configuration.nix @@ -78,10 +78,20 @@ in { ############################################################################## # Services ############################################################################## + services.openssh.enable = true; services.lorri.enable = true; + systemd.services.gogs = { + enable = true; + description = "Easy-to-use Git server written in golang"; + script = "${pkgs.gogs}/bin/gogs web"; + serviceConfig = { + Type = "simple"; + }; + }; + systemd.services.monzo-token-server = { enable = true; description = "Ensure my Monzo access token is valid"; @@ -151,6 +161,13 @@ in { # briefcase.learn as root. root = /home/wpcarro/briefcase/learn/static; }; + "git.wpcarro.dev" = { + addSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://localhost:3000"; + }; + }; "blog.wpcarro.dev" = { addSSL = true; enableACME = true; |