mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-22 03:52:53 +00:00
add hardware
This commit is contained in:
parent
97bd1adc9e
commit
495a6e127b
3 changed files with 10 additions and 6 deletions
|
@ -18,12 +18,6 @@
|
|||
# Enable Bluetooth
|
||||
|
||||
# Allow non-free firmware
|
||||
hardware.firmware = with pkgs; [firmwareLinuxNonfree];
|
||||
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [vaapiIntel vaapiVdpau libvdpau-va-gl intel-media-driver];
|
||||
};
|
||||
|
||||
# Bootloader.
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
./bluetooth
|
||||
./bootloader
|
||||
./filesystem
|
||||
./hardware
|
||||
./kernel
|
||||
];
|
||||
}
|
||||
|
|
9
modules/nixos/hardware/default.nix
Normal file
9
modules/nixos/hardware/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
hardware = {
|
||||
firmware = with pkgs; [firmwareLinuxNonfree];
|
||||
opengl = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [vaapiIntel vaapiVdpau libvdpau-va-gl intel-media-driver];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue