feat: add mullvad

This commit is contained in:
Felix Schröter 2020-05-22 18:16:21 +02:00
parent dfe16651ab
commit 35d682dd05
No known key found for this signature in database
GPG key ID: A12D7C9D2FD34458
5 changed files with 20 additions and 0 deletions

View file

@ -6,6 +6,7 @@ with pkgs;
./shell
./editors
./desktop
./vpn.nix
./git.nix
./keybase.nix
./signal.nix

View file

@ -7,6 +7,7 @@ with pkgs;
./editors
./desktop
./desktop/monitors.nix
./vpn.nix
./git.nix
./keybase.nix
./signal.nix

12
home/vpn.nix Normal file
View file

@ -0,0 +1,12 @@
{ config, pkgs, ... }:
with pkgs;
{
home.packages = with pkgs; [
mullvad-vpn
];
# autostart
xdg.configFile."autostart/mullvad-vpn.desktop".source =
"${mullvad-vpn}/share/applications/mullvad-vpn.desktop";
}

View file

@ -4,6 +4,7 @@
imports = [
./i18n.nix
./nix.nix
./vpn.nix
];
environment.systemPackages = with pkgs; [

5
system/vpn.nix Normal file
View file

@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
services.mullvad-vpn.enable = true;
}