From eb1ed985a8588ed3b1bc63deb0f0958e706b2e38 Mon Sep 17 00:00:00 2001 From: blahai Date: Sat, 26 Oct 2024 19:56:46 +0300 Subject: [PATCH] Global: add mullvad vpn --- modules/nixos/services/default.nix | 1 + modules/nixos/services/vpn.nix | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 modules/nixos/services/vpn.nix diff --git a/modules/nixos/services/default.nix b/modules/nixos/services/default.nix index 554524b..64fa3ea 100644 --- a/modules/nixos/services/default.nix +++ b/modules/nixos/services/default.nix @@ -2,5 +2,6 @@ { imports = [ ./cloudflared.nix + ./vpn.nix ]; } diff --git a/modules/nixos/services/vpn.nix b/modules/nixos/services/vpn.nix new file mode 100644 index 0000000..5bb93a7 --- /dev/null +++ b/modules/nixos/services/vpn.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: { + + services = { + mullvad-vpn = { + enable = true; + package = pkgs.mullvad-vpn; + }; + }; +}