mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-03 19:42:10 +02:00
private internet access (vpn)
This commit is contained in:
10
nixos/pia.nix
Normal file
10
nixos/pia.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ config, ... }: {
|
||||
services.pia.enable = true;
|
||||
|
||||
# Alternatively, you can use the `authUserPassFile` attribute if you are using
|
||||
# a Nix secrets manager. Here's an example using sops-nix.
|
||||
#
|
||||
# The secret you provide to `authUserPassFile` should be a multiline string with
|
||||
# a single username on the first line a single password on the second line.
|
||||
services.pia.authUserPassFile = "/home/hadi/.config/pia/pia.ovpn";
|
||||
}
|
||||
Reference in New Issue
Block a user