summaryrefslogtreecommitdiff
path: root/cyberbox/configuration.nix
diff options
context:
space:
mode:
authorstuebinm2022-10-31 21:25:57 +0100
committerstuebinm2022-10-31 21:25:57 +0100
commitef65db8be79e8dc62996fa2fbfaae4ec19ac403a (patch)
tree2a1fb6277fb9418f89f70cc39da00f381af8dc7f /cyberbox/configuration.nix
parente0e6089c2ec3e4787adb33663d92336729a043e8 (diff)
add peerix
this is more difficult than i thought
Diffstat (limited to '')
-rw-r--r--cyberbox/configuration.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/cyberbox/configuration.nix b/cyberbox/configuration.nix
index 0638f30..31c49c4 100644
--- a/cyberbox/configuration.nix
+++ b/cyberbox/configuration.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ config, pkgs, inputs, ... }:
{
imports = [
@@ -29,6 +29,16 @@
};
+ services.peerix = {
+ enable = true;
+ openFirewall = true;
+ package = inputs.peerix.packages.x86_64-linux.peerix;
+ privateKeyFile = "/var/lib/peerix/peerix-private";
+ # publicKeyFile = "/var/lib/peerix-public";
+ publicKey = "peerix-abbenay:sWkpQo5oyhEEXXMEm+8+2KkVcBkfIVpa06jhBs2LRXM= peerix-cyberbox:tU7BvNanoiDAFqXQcPItEUCE4jLzdoZ589e3DYqPM9E=";
+ };
+
+
# Enable the X11 windowing system.
# services.xserver.enable = true;