summaryrefslogtreecommitdiffstats
path: root/mb/1systems/gr33n/configuration.nix
diff options
context:
space:
mode:
authormagenbluten <magenbluten@codemonkey.cc>2019-07-14 13:24:51 +0200
committermagenbluten <magenbluten@codemonkey.cc>2019-07-14 13:24:51 +0200
commit02ab71056896e651b6998b5211caf1d51f1d26b7 (patch)
treef98e56acf9e7d2f4c925003ec4d831da54db5dd0 /mb/1systems/gr33n/configuration.nix
parentcc470ff1580cdca5aa279c2f745c1bb07d20e24c (diff)
mb gr33n.r: add codimd
Diffstat (limited to 'mb/1systems/gr33n/configuration.nix')
-rw-r--r--mb/1systems/gr33n/configuration.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/mb/1systems/gr33n/configuration.nix b/mb/1systems/gr33n/configuration.nix
index e20503aec..dcf987791 100644
--- a/mb/1systems/gr33n/configuration.nix
+++ b/mb/1systems/gr33n/configuration.nix
@@ -72,6 +72,19 @@ in {
services.openssh.enable = true;
services.openssh.passwordAuthentication = false;
+ services.codimd = {
+ enable = true;
+ workDir = "/storage/codimd";
+ configuration = {
+ port = 1337;
+ host = "0.0.0.0";
+ db = {
+ dialect = "sqlite";
+ storage = "/storage/codimd/db.codimd.sqlite";
+ };
+ };
+ };
+
networking.wireless.enable = false;
networking.networkmanager.enable = false;
krebs.iptables.enable = true;