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