nixos/modules/hardware/intel/default.nix
2024-08-01 16:24:09 +04:00

15 lines
305 B
Nix

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