fix(tlp): make it work lol

This commit is contained in:
Ahurac 2024-10-21 09:12:36 +02:00
parent 2f74b701a1
commit f37121dce4

View file

@ -11,6 +11,23 @@
services.libinput.enable = true;
nixpkgs.overlays = [
(final: prev: {
tlp = prev.tlp.overrideAttrs (old: {
makeFlags = (old.makeFlags or [ ]) ++ [
"TLP_ULIB=/lib/udev"
"TLP_NMDSP=/lib/NetworkManager/dispatcher.d"
"TLP_SYSD=/lib/systemd/system"
"TLP_SDSL=/lib/systemd/system-sleep"
"TLP_ELOD=/lib/elogind/system-sleep"
"TLP_CONFDPR=/share/tlp/deprecated.conf"
"TLP_FISHCPL=/share/fish/vendor_completions.d"
"TLP_ZSHCPL=/share/zsh/site-functions"
];
});
})
];
services.tlp = {
enable = true;
settings = {