Compare commits

...

4 commits

Author SHA1 Message Date
Antoine Martin 74d04c4ed4 talos: explicitely enable wifi powersave
this way I know what to toggle if I want to switch it off in the future
2024-03-04 16:24:00 +01:00
Antoine Martin 3d10eef3ac flake: override power-profiles-daemon
0.20 from unstable brings a lot of improvements over 0.13 from 23.11 for
newer AMD laptops
2024-03-04 16:05:01 +01:00
Antoine Martin 2ec0602006 talos: set Wi-Fi regulatory domain 2024-03-04 16:04:50 +01:00
Antoine Martin 6e8253fd89 talos: switch to kernel 6.7 2024-03-04 14:23:27 +01:00
2 changed files with 10 additions and 2 deletions

View file

@ -93,6 +93,8 @@
inherit system;
config.allowUnfree = true;
};
power-profiles-daemon = self.unstable.power-profiles-daemon;
})
agenix.overlays.default

View file

@ -18,7 +18,10 @@
hardware.amdgpu.opencl = false;
boot.kernelPackages = pkgs.linuxPackages_6_6;
boot.kernelPackages = pkgs.linuxPackages_6_7;
# Set Wi-Fi regulatory domain. Currently always set to '00' (world), and could
# lead to bad Wi-Fi performance
boot.kernelParams = ["cfg80211.ieee80211_regdom=FR"];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot = {
@ -41,7 +44,10 @@
networking.domain = "alarsyo.net";
# Pick only one of the below networking options.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
networking.networkmanager = {
enable = true;
wifi.powersave = true;
}
# Set your time zone.
time.timeZone = "Europe/Paris";