mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-25 18:19:00 +00:00
hosts/plover: add Atuin sync server
This commit is contained in:
parent
5d02976d2c
commit
affd08e3c1
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user