fix(tlp): make it work lol
This commit is contained in:
parent
2f74b701a1
commit
f37121dce4
1 changed files with 17 additions and 0 deletions
|
@ -11,6 +11,23 @@
|
||||||
|
|
||||||
services.libinput.enable = true;
|
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 = {
|
services.tlp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
Loading…
Reference in a new issue