chore: add scanner hardware config for Nixstation

This commit is contained in:
Thiago Sposito 2025-11-14 12:12:07 -03:00
parent d8323c4eb3
commit 0c89e3f89e
Signed by: thiago
GPG key ID: 3065EA73A976D430

View file

@ -1,6 +1,7 @@
{ config { config
, lib , lib
, modulesPath , modulesPath
, pkgs
, ... , ...
}: }:
@ -54,6 +55,7 @@
}; };
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware = { hardware = {
# sane.extraBackends = [ pkgs.epsonscan2 ];
cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
enableRedistributableFirmware = true; enableRedistributableFirmware = true;
bluetooth.enable = true; bluetooth.enable = true;