diff options
| author | Fuwn <[email protected]> | 2024-11-05 03:34:54 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-11-05 03:34:54 -0800 |
| commit | 085a08f50437fc7bf641b369a6b114f27c5f9c3e (patch) | |
| tree | 8d332bd33f77239b4c023196f46ac571dbd2bfe1 /modules/pc/networking | |
| parent | lock: tsutsumi (diff) | |
| download | nixos-config-085a08f50437fc7bf641b369a6b114f27c5f9c3e.tar.xz nixos-config-085a08f50437fc7bf641b369a6b114f27c5f9c3e.zip | |
pc: use sops for pia
Diffstat (limited to 'modules/pc/networking')
| -rw-r--r-- | modules/pc/networking/pia.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/pc/networking/pia.nix b/modules/pc/networking/pia.nix index d52dbf8..7344a24 100644 --- a/modules/pc/networking/pia.nix +++ b/modules/pc/networking/pia.nix @@ -1,10 +1,7 @@ -{ secrets, ... }: +{ config, ... }: { services.pia = { enable = true; - - authUserPass = { - inherit (secrets.pia) username password; - }; + authUserPassFile = config.sops.secrets.pia.path; }; } |