summaryrefslogtreecommitdiff
path: root/cyberbox/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'cyberbox/configuration.nix')
-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;