summaryrefslogtreecommitdiffstats
path: root/mb/1systems/gr33n/configuration.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-08-02 17:04:39 +0200
committertv <tv@krebsco.de>2019-08-02 17:04:39 +0200
commit7c522820bd7858580567ab7d436f586ee5a139ce (patch)
tree92a448d08f4e34a5bfec172daed334ddd0c97049 /mb/1systems/gr33n/configuration.nix
parentb92610eacb6c88fe28f46a91ee8697cb542ab6aa (diff)
parent2885fbd942163d733586cd966c76ccf9159ae208 (diff)
Merge remote-tracking branch 'prism/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;