desktop is building I guess, idk, need to start commiting stuff eventually lmao
This commit is contained in:
21
modules/nixos/hardware/default.nix
Normal file
21
modules/nixos/hardware/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ lib, system, ... }:
|
||||
let
|
||||
isArm = builtins.match "aarch64*" system != null;
|
||||
in
|
||||
{
|
||||
hardware = {
|
||||
# Bluetooth
|
||||
bluetooth.enable = lib.mkDefault true;
|
||||
|
||||
i2c.enable = lib.mkDefault true;
|
||||
|
||||
# Enable all firmware
|
||||
enableAllFirmware = lib.mkForce true;
|
||||
|
||||
# Enable graphics
|
||||
graphics = {
|
||||
enable = lib.mkDefault true;
|
||||
enable32Bit = lib.mkDefault (!isArm);
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user