diff --git a/systems/x86_64-linux/drivebystation-nix/hardware/hardware-configuration.nix b/systems/x86_64-linux/drivebystation-nix/hardware/hardware-configuration.nix index ed4694a..1ab7414 100644 --- a/systems/x86_64-linux/drivebystation-nix/hardware/hardware-configuration.nix +++ b/systems/x86_64-linux/drivebystation-nix/hardware/hardware-configuration.nix @@ -23,6 +23,20 @@ boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback r8125 ]; boot.supportedFilesystems = [ "ntfs" ]; boot.blacklistedKernelModules = [ "r8169" ]; + + systemd.services.disable-realtek-eee = { + description = "Disable Realtek Energy Efficient Ethernet"; + wantedBy = [ "multi-user.target" ]; + after = [ "network.target" ]; + + serviceConfig = { + Type = "oneshot"; + ExecStart = "${pkgs.ethtool}/bin/ethtool --set-eee enp75s0 eee off"; + RemainAfterExit = true; + }; + }; + + fileSystems."/" = { device = "/dev/disk/by-uuid/563805a1-5277-4488-bbdd-c1a7ed37be76"; fsType = "ext4";