add intelgputools
This commit is contained in:
parent
809470036f
commit
e34dc49c94
3 changed files with 18 additions and 0 deletions
|
@ -49,6 +49,7 @@
|
|||
};
|
||||
hardware = {
|
||||
nvidia.enable = true;
|
||||
intelgputools.enable = true;
|
||||
pipewire.enable = true;
|
||||
bluetooth.enable = true;
|
||||
};
|
||||
|
|
|
@ -3,5 +3,6 @@
|
|||
./nvidia
|
||||
./pipewire
|
||||
./bluetooth
|
||||
./intel
|
||||
];
|
||||
}
|
||||
|
|
16
modules/hardware/intel/default.nix
Normal file
16
modules/hardware/intel/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue