NixOS/hardware/default.nix

12 lines
363 B
Nix
Raw Permalink Normal View History

{ lib, ... }:
let
settings = import ./../settings.nix;
in
2023-12-14 22:15:17 +00:00
{
# Optionally import modules for specific hardware
2023-12-15 22:02:33 +00:00
imports = [ ./common.nix ]
++ lib.optionals settings.hardware.amdgpu [ ./amdgpu.nix ]
++ lib.optionals settings.hardware.intelgpu [ ./intelgpu.nix ]
++ lib.optionals settings.hardware.nvidiagpu [ ./nvidiagpu.nix ];
2023-12-14 22:15:17 +00:00
}