do shit to make endcord work

This commit is contained in:
alyx 2025-07-04 10:59:15 +01:00
parent ed806791e3
commit 082b9327bb
No known key found for this signature in database

View file

@ -60,7 +60,7 @@
adb.enable = true;
flashrom.enable = true;
nix-ld.enable = true;
nix-ld.libraries = with pkgs; [xorg.libxcb libao xorg.libX11 libusb1 cargo rustc pkg-config cacert];
nix-ld.libraries = with pkgs; [xorg.libxcb libao xorg.libX11 libusb1 cargo rustc pkg-config cacert libpulseaudio libsecret file];
};
services.journald.extraConfig = ''
@ -75,9 +75,16 @@
};
networking.firewall.checkReversePath = "loose";
services.resolved.enable = true;
networking.useNetworkd = true;
networking.interfaces.enp0s31f6.useDHCP = true;
systemd.network.enable = true;
systemd.network.networks."enp0s25" = {
matchConfig.Name = "enp0s25";
networkConfig.DHCP = "yes";
};
networking.useDHCP = false;
services.networkd-dispatcher = {
@ -85,7 +92,7 @@
rules."50-tailscale" = {
onState = ["routable"];
script = ''
"${pkgs.ethtool} NETDEV=$(ip -o route get 8.8.8.8 | cut -f 5 -d " ") | -K enp0s31f6 rx-udp-gro-forwarding on rx-gro-list off"
"${pkgs.ethtool} NETDEV=$(ip -o route get 8.8.8.8 | cut -f 5 -d " ") | -K enp0s25 rx-udp-gro-forwarding on rx-gro-list off"
'';
};
};
@ -146,10 +153,10 @@
hardware.bluetooth.enable = true;
services.blueman.enable = true;
networking.networkmanager = {
enable = true;
wifi.backend = "iwd";
};
#networking.networkmanager = {
# enable = true;
# wifi.backend = "iwd";
#};
# Set your time zone.
time.timeZone = "Europe/London";
@ -271,6 +278,8 @@
environment.systemPackages = with pkgs; [
hyprlock
file
libsecret
wget
jmtpfs
nautilus