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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -30,6 +30,7 @@ in
|
|||||||
solo-referee.enable = true;
|
solo-referee.enable = true;
|
||||||
todo.enable = true;
|
todo.enable = true;
|
||||||
schema.enable = true;
|
schema.enable = true;
|
||||||
|
atuin.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user