2024-04-21 21:15:45 +02:00
|
|
|
{ config, pkgs, assets, ... }: {
|
2023-08-31 11:50:58 +02:00
|
|
|
services.atuin = {
|
|
|
|
enable = true;
|
2024-06-14 10:19:17 +02:00
|
|
|
package = pkgs.legacy_2405.atuin.overrideAttrs (_old: {
|
2024-04-21 21:15:45 +02:00
|
|
|
# as cursed as doing mitigations=off in the kernel command line
|
|
|
|
patches = [ "${assets}/0001-make-atuin-on-zfs-fast-again.patch" ];
|
|
|
|
});
|
2024-04-06 10:32:23 +02:00
|
|
|
host = "0.0.0.0";
|
2023-08-31 11:50:58 +02:00
|
|
|
maxHistoryLength = 999999;
|
2023-12-23 22:46:58 +01:00
|
|
|
openRegistration = false;
|
2023-08-31 11:50:58 +02:00
|
|
|
};
|
|
|
|
}
|