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; adb.enable = true;
flashrom.enable = true; flashrom.enable = true;
nix-ld.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 = '' services.journald.extraConfig = ''
@ -75,9 +75,16 @@
}; };
networking.firewall.checkReversePath = "loose"; networking.firewall.checkReversePath = "loose";
services.resolved.enable = true; 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; networking.useDHCP = false;
services.networkd-dispatcher = { services.networkd-dispatcher = {
@ -85,7 +92,7 @@
rules."50-tailscale" = { rules."50-tailscale" = {
onState = ["routable"]; onState = ["routable"];
script = '' 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; hardware.bluetooth.enable = true;
services.blueman.enable = true; services.blueman.enable = true;
networking.networkmanager = { #networking.networkmanager = {
enable = true; # enable = true;
wifi.backend = "iwd"; # wifi.backend = "iwd";
}; #};
# Set your time zone. # Set your time zone.
time.timeZone = "Europe/London"; time.timeZone = "Europe/London";
@ -271,6 +278,8 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
hyprlock hyprlock
file
libsecret
wget wget
jmtpfs jmtpfs
nautilus nautilus