hosts/plover: add Atuin sync server

This commit is contained in:
Gabriel Arazas 2023-01-05 12:52:57 +08:00
parent 5d02976d2c
commit affd08e3c1

View File

@ -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 =