From ef65db8be79e8dc62996fa2fbfaae4ec19ac403a Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 31 Oct 2022 21:25:57 +0100 Subject: add peerix this is more difficult than i thought --- cyberbox/configuration.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'cyberbox') 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; -- cgit v1.2.3