summaryrefslogtreecommitdiffstats
path: root/mb/1systems/gr33n/configuration.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-07-14 13:43:30 +0200
committerlassulus <lassulus@lassul.us>2019-07-14 13:43:30 +0200
commit9b0e78fcb66b0d7accf974ab4ddf8da05612c695 (patch)
treeeb41197546236a1f3c5e4efebf50c4133c8fc58f /mb/1systems/gr33n/configuration.nix
parent13d8d9f7d340a64cd69957854c628dc4ca0876e6 (diff)
parent976e6d77031b9e9648789d72cf893a6d1192fedb (diff)
Merge remote-tracking branch 'mb/master'
Diffstat (limited to 'mb/1systems/gr33n/configuration.nix')
-rw-r--r--mb/1systems/gr33n/configuration.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/mb/1systems/gr33n/configuration.nix b/mb/1systems/gr33n/configuration.nix
index 4342ba0e2..dcf987791 100644
--- a/mb/1systems/gr33n/configuration.nix
+++ b/mb/1systems/gr33n/configuration.nix
@@ -62,6 +62,7 @@ in {
wcalc
wget
xz
+ zbackup
];
programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
@@ -71,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;