Files
nixos-configs/hosts/pinwheel/modules/mullvad/default.nix
2024-07-19 12:00:52 +02:00

20 lines
432 B
Nix

{ pkgs, ... }:
{
services.mullvad-vpn = {
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";
};
};
}