mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
README.md: add section for NixOS (#65)
This commit is contained in:
parent
76de070d78
commit
cdf193024c
12
README.md
12
README.md
@ -85,6 +85,18 @@ Relatively manual process for now:
|
|||||||
fakeroot dpkg-buildpackage -uc -us -sa 2>&1 | tee ../build.log
|
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)
|
## [License](./LICENSE)
|
||||||
|
Loading…
Reference in New Issue
Block a user