snowflake/hosts/sora/services/atuin.nix
notohh ccd69ee47e
hosts: reduce repition with let bindings
replaces (most) values that are repeatedly used w/ a let binding
so they can be updated from one place.
2024-02-06 13:40:38 -05:00

14 lines
338 B
Nix

{lib, ...}: {
networking.firewall.allowedTCPPorts = [8888];
services.atuin = {
enable = true;
openRegistration = false;
openFirewall = true;
host = "100.104.42.96";
port = 8888;
database = {
createLocally = lib.mkForce false;
uri = "postgres://atuin:atuin@100.94.214.100:5432/atuin";
};
};
}