zaphyra's git: nixfiles

zaphyra's nixfiles

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
{
  config,
  lib,
  ...
}:
{

  options.common.hardware.thunderbolt.enable = lib.mkEnableOption "thundebolt support";

  config = lib.mkIf config.common.hardware.thunderbolt.enable {
    boot.initrd.availableKernelModules = [ "thunderbolt" ];
    services.hardware.bolt.enable = true;
  };

}