hosts/legion: finalise

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-04-23 16:42:07 +03:00
parent 38193c62ec
commit 1f3d819061
3 changed files with 13 additions and 12 deletions

View File

@ -1,4 +1,12 @@
{config, ...}: {
{
config,
lib,
...
}: {
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"nvidia-x11"
];
services.xserver.videoDrivers = ["nvidia"];
hardware = {
nvidia-container-toolkit.enable = true;

View File

@ -1,7 +0,0 @@
{
powerManagement.enable = true;
powerManagement.powertop.enable = true;
services.power-profiles-daemon.enable = true;
services.thermald.enable = true;
services.upower.enable = true;
}