g
This commit is contained in:
parent
86c314c301
commit
79ffd2d2a2
|
@ -101,7 +101,7 @@ in {
|
|||
serviceConfig = {
|
||||
type = "oneshot";
|
||||
ExecStart = pkgs.writeShellScript "wgconf.sh" ''
|
||||
${pkgs.wireguard-tools}/bin/wg-quick up /mnt/de-ber-wg-005.conf
|
||||
${pkgs.wireguard-tools}/bin/wg-quick up /mnt/wg.conf
|
||||
'';
|
||||
RemainAfterExit = "yes";
|
||||
};
|
||||
|
@ -152,7 +152,11 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = [pkgs.wireguard-tools pkgs.tcpdump];
|
||||
environment.systemPackages = with pkgs; [
|
||||
wireguard-tools
|
||||
tcpdump
|
||||
mullvad
|
||||
];
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue