make it available
This commit is contained in:
parent
26267569eb
commit
5feff842da
2 changed files with 16 additions and 2 deletions
|
@ -64,7 +64,6 @@ with lib;
|
|||
zola
|
||||
mermaid-cli
|
||||
|
||||
|
||||
marp-cli # markdown to presentation framework
|
||||
|
||||
# terminal recorder
|
||||
|
@ -73,6 +72,8 @@ with lib;
|
|||
asciinema-scenario
|
||||
termtosvg
|
||||
|
||||
#surrealist
|
||||
surrealdb
|
||||
|
||||
boxes
|
||||
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{ config, pkgs, lib, clanCore, factsGenerator, ... }:
|
||||
let
|
||||
surrealdbPort = 8000;
|
||||
in
|
||||
{
|
||||
|
||||
networking.firewall.interfaces.wg0.allowedTCPPorts = [ surrealdbPort ];
|
||||
|
||||
containers.surrealdb = {
|
||||
privateNetwork = false;
|
||||
autoStart = true;
|
||||
|
@ -15,6 +20,14 @@
|
|||
services.surrealdb = {
|
||||
enable = true;
|
||||
host = "0.0.0.0";
|
||||
port = surrealdbPort;
|
||||
extraFlags = [
|
||||
"--auth"
|
||||
"--user"
|
||||
"root"
|
||||
"--pass"
|
||||
"root"
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue