diff --git a/hosts/plover/default.nix b/hosts/plover/default.nix index b183bc14..517fddea 100644 --- a/hosts/plover/default.nix +++ b/hosts/plover/default.nix @@ -10,6 +10,7 @@ let codeForgeDomain = subdomain "code"; authDomain = subdomain "auth"; ldapDomain = subdomain "ldap"; + atuinDomain = subdomain "atuin"; certs = config.security.acme.certs; @@ -178,6 +179,15 @@ in proxyPass = "http://localhost:${toString config.services.portunus.port}"; }; }; + + # A nice little sync server for my shell history. + "${atuinDomain}" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://localhost:${toString config.services.atuin.port}"; + }; + }; }; }; @@ -449,6 +459,14 @@ in }; }; + # Atuin sync server because why not. + services.atuin = { + enable = true; + openFirewall = true; + openRegistration = false; + port = 8965; + }; + # Of course, what is a server without a backup? A professionally-handled # production system. However, we're not professionals so we do have backups. services.borgbackup.jobs =