summaryrefslogtreecommitdiff
path: root/modules/pc/networking
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-11-05 03:34:54 -0800
committerFuwn <[email protected]>2024-11-05 03:34:54 -0800
commit085a08f50437fc7bf641b369a6b114f27c5f9c3e (patch)
tree8d332bd33f77239b4c023196f46ac571dbd2bfe1 /modules/pc/networking
parentlock: tsutsumi (diff)
downloadnixos-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.nix7
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;
};
}