From cdf193024ccae87ee0b59b7fde7b6a38f673532b Mon Sep 17 00:00:00 2001 From: Matt McHenry Date: Fri, 18 Jun 2021 09:35:28 -0400 Subject: [PATCH] README.md: add section for NixOS (#65) --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 1c678d4..e60210e 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,18 @@ Relatively manual process for now: fakeroot dpkg-buildpackage -uc -us -sa 2>&1 | tee ../build.log ``` +### NixOS + In `configuration.nix`: + + ``` + services.globalprotect = { + enable = true; + # if you need a Host Integrity Protection report + csdWrapper = "${pkgs.openconnect}/libexec/openconnect/hipreport.sh"; + }; + + environment.systemPackages = [ globalprotect-openconnect ]; + ``` ## [License](./LICENSE)