summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2022-10-31 21:25:57 +0100
committerstuebinm2022-11-11 21:20:58 +0100
commit03f71497c5ec3cdf36fe3970d2d5630a4cfefe13 (patch)
tree542a0857b7eb278e2d604f82b0714239ab7189c0
parent56dd27291011caa6bdaa6a9da3c2f2ad2c5c48e3 (diff)
add peerix
this is more difficult than i thought
-rw-r--r--abbenay/configuration.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/abbenay/configuration.nix b/abbenay/configuration.nix
index a5eca89..3042cd1 100644
--- a/abbenay/configuration.nix
+++ b/abbenay/configuration.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ config, pkgs, inputs, ... }:
{
imports = [
@@ -9,6 +9,14 @@
services.avahi.enable = true;
services.avahi.nssmdns = true;
+ services.peerix = {
+ enable = true;
+ package = inputs.peerix.packages.x86_64-linux.peerix;
+ openFirewall = true;
+ privateKeyFile = "/var/lib/peerix/peerix-private";
+ # publicKeyFile = "/var/lib/peerix/peerix-public";
+ publicKey = "cyberbox:peerix-cyberbox:tU7BvNanoiDAFqXQcPItEUCE4jLzdoZ589e3DYqPM9E= peerix-abbenay:sWkpQo5oyhEEXXMEm+8+2KkVcBkfIVpa06jhBs2LRXM=";
+ };
# services.xserver = {
# enable = true;
# layout = "de";