manatee: Add self-hosted atuin sync server
This commit is contained in:
2 files changed
+24
No files matched your search
@@ -0,0 +1,23 @@
|
||||
{ lib, config, ... }:
|
||||
let
|
||||
enabled = config.mod.atuin.enable;
|
||||
port = 8889;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
mod.atuin = {
|
||||
enable = lib.mkEnableOption "Enable atuin module";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf enabled {
|
||||
services.atuin = {
|
||||
enable = true;
|
||||
host = "0.0.0.0";
|
||||
inherit port;
|
||||
openFirewall = true;
|
||||
openRegistration = true;
|
||||
database.createLocally = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user