nixos/tlp: explicitly set wantedBy for tlp-pd (#477860)

This commit is contained in:
Aleksana
2026-01-10 12:08:13 +00:00
committed by GitHub
+6
View File
@@ -172,6 +172,12 @@ in
# won't fail due to the save dir not existing.
serviceConfig.StateDirectory = "tlp";
};
services.tlp-pd = lib.mkIf cfg.pd.enable {
# have to define again because [Install] in included file not honored
# https://github.com/NixOS/nixpkgs/issues/81138
wantedBy = [ "graphical.target" ];
};
};
};
}