add intelgputools

This commit is contained in:
Sakooooo 2023-07-17 17:40:53 +03:00
parent 809470036f
commit e34dc49c94
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 18 additions and 0 deletions

View file

@ -49,6 +49,7 @@
}; };
hardware = { hardware = {
nvidia.enable = true; nvidia.enable = true;
intelgputools.enable = true;
pipewire.enable = true; pipewire.enable = true;
bluetooth.enable = true; bluetooth.enable = true;
}; };

View file

@ -3,5 +3,6 @@
./nvidia ./nvidia
./pipewire ./pipewire
./bluetooth ./bluetooth
./intel
]; ];
} }

View file

@ -0,0 +1,16 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.hardware.intelgputools;
in
{
options.modules.hardware.intelgputools = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
intel-gpu-tools
];
};
}