notohh
ccd69ee47e
replaces (most) values that are repeatedly used w/ a let binding so they can be updated from one place.
14 lines
338 B
Nix
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";
|
|
};
|
|
};
|
|
}
|