diff --git a/hosts/pinwheel/modules/mullvad/default.nix b/hosts/pinwheel/modules/mullvad/default.nix index 106b8c2..621b676 100644 --- a/hosts/pinwheel/modules/mullvad/default.nix +++ b/hosts/pinwheel/modules/mullvad/default.nix @@ -4,4 +4,16 @@ enable = true; package = pkgs.mullvad-vpn; }; + + age.secrets = { + "mullvad-device" = { + file = ../../../../secrets/pinwheel/mullvad-device.age; + path = "/etc/mullvad-vpn/device.json"; + }; + + "mullvad-account-history" = { + file = ../../../../secrets/pinwheel/mullvad-account-history.age; + path = "/etc/mullvad-vpn/account-history.json"; + }; + }; } diff --git a/secrets/pinwheel/mullvad-account-history.age b/secrets/pinwheel/mullvad-account-history.age new file mode 100644 index 0000000..a6c4b26 --- /dev/null +++ b/secrets/pinwheel/mullvad-account-history.age @@ -0,0 +1,7 @@ +age-encryption.org/v1 +-> ssh-ed25519 vxPbZg wpb2hDAYdugVkbO9NvmbGRIVpNVXFVmwxsMvBAlcwQU +9+lGabyPcvoiN8WHtktQyWiCkh+f2p3+qV6UBl1xqF4 +-> ssh-ed25519 ek+b7Q gMzlFMTDt5gsoo7YoKOpyMbRVlFkeXWsyXI0+YRDuH8 +tcUbLIlf1wP+Hy70hNAD2tqFO+DUxskLperuOZHDFus +--- lvXqjfpC+rTZxKZeBDSwAwsRZb8cIsErO4i1qQLQlvA +EÖ ÈcƨlÀÕ9à_X�3/&¿/³¨Ô�™bk&í·dŠ©õ•+0"lóå•P \ No newline at end of file diff --git a/secrets/pinwheel/mullvad-device.age b/secrets/pinwheel/mullvad-device.age new file mode 100644 index 0000000..f23c925 Binary files /dev/null and b/secrets/pinwheel/mullvad-device.age differ diff --git a/secrets/secrets.nix b/secrets/secrets.nix index a6d330f..cf626dc 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -6,6 +6,8 @@ let in { "pinwheel/syncthing-cert.age".publicKeys = [ pinwheel alex ]; "pinwheel/syncthing-key.age".publicKeys = [ pinwheel alex ]; + "pinwheel/mullvad-device.age".publicKeys = [ pinwheel alex ]; + "pinwheel/mullvad-account-history.age".publicKeys = [ pinwheel alex ]; "pinwheel/alex.pinwheel-sombrero.age".publicKeys = [ pinwheel alex ]; "pinwheel/alex.pinwheel-sombrero.pub.age".publicKeys = [ pinwheel sombrero alex ]; "pinwheel/alex.pinwheel-github.com.age".publicKeys = [ pinwheel alex ];