ssh and mullvad changes

This commit is contained in:
jacekpoz 2023-07-20 13:41:31 +02:00
parent 8d6502a77b
commit 92fbbafc3e
5 changed files with 12 additions and 3 deletions

View file

@ -52,7 +52,6 @@
telegram-desktop
livecaptions
gimp
mullvad-vpn
helvum
ddccontrol
ddccontrol-db

View file

@ -123,7 +123,6 @@ in
};
};
blueman.enable = true;
mullvad-vpn.enable = true;
};
hardware = {

View file

@ -2,6 +2,7 @@ _: {
imports = [
./configuration.nix
./hardware-configuration.nix
./mullvad.nix
./mullvad
./ssh
];
}

View file

@ -3,6 +3,14 @@
pkgs,
...
}: {
environment.systemPackages = with pkgs; [ mullvad-vpn mullvad ];
services.mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn;
enableExcludeWrapper = false;
};
systemd.services."mullvad-daemon".postStart = let
mullvad = config.services.mullvad-vpn.package;
in ''

View file

@ -3,6 +3,8 @@
pkgs,
...
}: {
imports = [ ./ssh-agent.nix ];
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;