nixfleet/modules/atuin/default.nix
Andrea Ciceri a394b9cefd
All checks were successful
/ test (push) Successful in 32s
Reformat everything
2024-09-20 11:37:17 +02:00

15 lines
294 B
Nix

{ config, ... }:
{
services.atuin = {
enable = true;
openFirewall = false; # use only in the VPN
port = 8889;
host = "0.0.0.0";
openRegistration = true;
};
networking.firewall.interfaces."wg0" = {
allowedTCPPorts = [
config.services.atuin.port
];
};
}