nixos/modules/hardware/intel/default.nix

17 lines
307 B
Nix
Raw Normal View History

2023-07-17 18:40:53 +04:00
{ 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
];
};
}