2023-09-29 23:46:34 -04:00
|
|
|
{ pkgs, ... }:
|
2023-06-19 01:36:50 -04:00
|
|
|
|
|
|
|
{
|
|
|
|
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-09-29 23:46:34 -04:00
|
|
|
# give permanent path to keyboard XF86* binds
|
|
|
|
SUBSYSTEMS=="input", ATTRS{id/product}=="0006", ATTRS{id/vendor}=="0000", SYMLINK += "video-bus"
|
2023-10-12 14:06:36 -04:00
|
|
|
|
|
|
|
# give permanent path to touchpad
|
|
|
|
SUBSYSTEMS=="input", ATTRS{id/product}=="01e0", ATTRS{id/vendor}=="27c6", ATTRS{name}=="GXTP5140:00 27C6:01E0 Touchpad", SYMLINK += "touchpad"
|
2023-09-29 23:46:34 -04:00
|
|
|
'';
|
2023-06-19 01:36:50 -04:00
|
|
|
|
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.
|
2023-09-29 23:46:34 -04:00
|
|
|
printing = {
|
|
|
|
enable = true;
|
|
|
|
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-10-13 12:37:32 -04:00
|
|
|
|
|
|
|
zramSwap.enable = true;
|
2023-06-19 01:36:50 -04:00
|
|
|
}
|