2023-06-19 01:36:50 -04:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
hardware.bluetooth = {
|
|
|
|
enable = true;
|
|
|
|
powerOnBoot = true;
|
|
|
|
};
|
|
|
|
|
2023-09-26 13:32:24 -04:00
|
|
|
# enable brightness control for swayosd
|
|
|
|
programs.light.enable = true;
|
|
|
|
|
|
|
|
services = {
|
|
|
|
|
|
|
|
udev.extraRules = ''
|
2023-06-19 01:36:50 -04:00
|
|
|
# give permanent path to keyboard XF86* binds
|
|
|
|
SUBSYSTEMS=="input", ATTRS{id/product}=="0006", ATTRS{id/vendor}=="0000", SYMLINK += "video-bus"
|
|
|
|
'';
|
|
|
|
|
2023-09-26 13:32:24 -04:00
|
|
|
fwupd.enable = true;
|
2023-06-19 01:36:50 -04:00
|
|
|
|
2023-09-26 13:32:24 -04:00
|
|
|
# Enable CUPS to print documents.
|
|
|
|
printing.enable = true;
|
|
|
|
printing.drivers = with pkgs; [
|
|
|
|
hplip
|
|
|
|
];
|
2023-06-19 01:36:50 -04:00
|
|
|
|
2023-09-26 13:32:24 -04:00
|
|
|
pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
jack.enable = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
};
|
2023-06-19 01:36:50 -04:00
|
|
|
|
2023-09-26 13:32:24 -04:00
|
|
|
upower.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
hardware = {
|
|
|
|
pulseaudio.enable = false;
|
|
|
|
sensor.iio.enable = true;
|
|
|
|
opengl.enable = true;
|
|
|
|
opengl.driSupport32Bit = true;
|
|
|
|
uinput.enable = true;
|
2023-06-19 01:36:50 -04:00
|
|
|
};
|
2023-06-24 04:59:54 -04:00
|
|
|
|
2023-09-12 08:02:35 -04:00
|
|
|
virtualisation = {
|
|
|
|
libvirtd.enable = true;
|
2023-09-21 17:10:55 -04:00
|
|
|
waydroid.enable = true;
|
2023-09-12 08:02:35 -04:00
|
|
|
};
|
2023-06-19 01:36:50 -04:00
|
|
|
}
|