aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/modules
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2019-12-31 23:26:37 +0100
committerKatharina Fey <kookie@spacekookie.de>2019-12-31 23:26:37 +0100
commitc86fea6086c212ea489cfb023a5f5c9c8f188810 (patch)
tree6feffc30ad4a79e8dacaa35f5ba5f8fc50bed8bd /nixpkgs/nixos/modules
parent0a39541874d698e90eae035708f0e9f273b907d6 (diff)
nixos/mullvad: remove
Diffstat (limited to 'nixpkgs/nixos/modules')
-rw-r--r--nixpkgs/nixos/modules/services/networking/mullvad-vpn.nix32
1 files changed, 0 insertions, 32 deletions
diff --git a/nixpkgs/nixos/modules/services/networking/mullvad-vpn.nix b/nixpkgs/nixos/modules/services/networking/mullvad-vpn.nix
deleted file mode 100644
index 661c3b5085e..00000000000
--- a/nixpkgs/nixos/modules/services/networking/mullvad-vpn.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let
- cfg = config.services.mullvad-vpn;
- dir = "/var/lib/mullvad-vpn";
-in
-{
- options.services.mullvad-vpn = {
- enable = mkEnableOption "the Mullvad VPN daemon";
- };
-
- config = mkIf cfg.enable {
- systemd.services."mullvad-vpn" = {
- enable = true;
- wantedBy = [ "multi-user.target" ];
- environment =
- {
- MULLVAD_SETTINGS_DIR = "${dir}";
- # MULLVAD_RPC_SOCKET_PATH = "${dir}";
- };
- serviceConfig = {
- DynamicUser = true;
- RuntimeDirectory = "${dir}";
- ExecStart = ''
- ${pkgs.mullvad-vpn}/bin/mullvad-daemon --disable-log-to-file
- '';
- };
- };
- };
-}