21 lines
461 B
Nix
21 lines
461 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
assets,
|
|
...
|
|
}:
|
|
{
|
|
|
|
healthchecks.closed.retiolum.ports.atuin = [ config.services.atuin.port ];
|
|
|
|
services.atuin = {
|
|
enable = true;
|
|
package = pkgs.legacy_2405.atuin.overrideAttrs (_old: {
|
|
# as cursed as doing mitigations=off in the kernel command line
|
|
patches = [ "${assets}/0001-make-atuin-on-zfs-fast-again.patch" ];
|
|
});
|
|
host = "0.0.0.0";
|
|
maxHistoryLength = 999999;
|
|
openRegistration = false;
|
|
};
|
|
}
|