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 ./shell
./editors ./editors
./desktop ./desktop
./vpn.nix
./git.nix ./git.nix
./keybase.nix ./keybase.nix
./signal.nix ./signal.nix

View file

@ -7,6 +7,7 @@ with pkgs;
./editors ./editors
./desktop ./desktop
./desktop/monitors.nix ./desktop/monitors.nix
./vpn.nix
./git.nix ./git.nix
./keybase.nix ./keybase.nix
./signal.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 = [ imports = [
./i18n.nix ./i18n.nix
./nix.nix ./nix.nix
./vpn.nix
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

5
system/vpn.nix Normal file
View file

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