nixos-config/machines/chungus/service-atuin.nix
Ingolf Wagner 7a6510a4e6
nix fmt
2024-08-29 08:26:04 +07:00

18 lines
382 B
Nix

{
config,
pkgs,
assets,
...
}:
{
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;
};
}