44 lines
957 B
Nix
44 lines
957 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
hardware.bluetooth = {
|
|
enable = true;
|
|
powerOnBoot = true;
|
|
};
|
|
|
|
services.blueman.enable = 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;
|
|
|
|
virtualisation = {
|
|
waydroid.enable = true;
|
|
lxd.enable = true;
|
|
};
|
|
}
|