Fix vesktop gain

Fix wg mtu
This commit is contained in:
muon 2024-08-28 22:33:26 +00:00
parent fc8fc85fbe
commit a66db93e43
2 changed files with 13 additions and 3 deletions

View file

@ -1,4 +1,14 @@
{ pkgs, lib, config, ... }: { { pkgs, lib, config, ... }:
let
vesktop-nogain = (pkgs.vesktop.overrideAttrs (previousAttrs: {
patches = previousAttrs.patches ++ [
(builtins.fetchurl {
url = "https://codeberg.org/muon/gists/raw/branch/main/micfix.patch";
sha256 = "18zmq68m5mx3s924iqfbmm8a7r8qbjnw86hvvax2vg8w94g7mrqp";
})
];
}));
in {
options.mods.social.enable = options.mods.social.enable =
lib.mkEnableOption "enables social media clients"; lib.mkEnableOption "enables social media clients";
@ -7,7 +17,7 @@
# Communication # Communication
kotatogram-desktop kotatogram-desktop
signal-desktop signal-desktop
vesktop vesktop-nogain
# Video # Video
freetube freetube

View file

@ -30,7 +30,7 @@
wg0 = { wg0 = {
address = [ "10.0.0.2/24" "fdc9:281f:04d7:9ee9::2/64" ]; address = [ "10.0.0.2/24" "fdc9:281f:04d7:9ee9::2/64" ];
dns = [ "10.0.0.1" "fdc9:281f:04d7:9ee9::1" ]; dns = [ "10.0.0.1" "fdc9:281f:04d7:9ee9::1" ];
mtu = 1280; mtu = 1500;
privateKeyFile = "/home/muon/wireguard-keys/private"; privateKeyFile = "/home/muon/wireguard-keys/private";
peers = [ peers = [