nixos/modules/hardware/intel/default.nix
2023-07-17 17:40:53 +03:00

16 lines
307 B
Nix

{ 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
];
};
}