README.md: add section for NixOS (#65)

This commit is contained in:
Matt McHenry 2021-06-18 09:35:28 -04:00 committed by GitHub
parent 76de070d78
commit cdf193024c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)