forked from poz/niksos
ssh and mullvad changes
This commit is contained in:
parent
8d6502a77b
commit
92fbbafc3e
5 changed files with 12 additions and 3 deletions
|
@ -52,7 +52,6 @@
|
|||
telegram-desktop
|
||||
livecaptions
|
||||
gimp
|
||||
mullvad-vpn
|
||||
helvum
|
||||
ddccontrol
|
||||
ddccontrol-db
|
||||
|
|
|
@ -123,7 +123,6 @@ in
|
|||
};
|
||||
};
|
||||
blueman.enable = true;
|
||||
mullvad-vpn.enable = true;
|
||||
};
|
||||
|
||||
hardware = {
|
||||
|
|
|
@ -2,6 +2,7 @@ _: {
|
|||
imports = [
|
||||
./configuration.nix
|
||||
./hardware-configuration.nix
|
||||
./mullvad.nix
|
||||
./mullvad
|
||||
./ssh
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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 ''
|
|
@ -3,6 +3,8 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [ ./ssh-agent.nix ];
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
|
|
Loading…
Reference in a new issue