More bluetooth & audio.

This commit is contained in:
Gabriel Ebner 2019-02-18 19:47:58 +01:00
parent 990d5de3c8
commit ee25b7e75e
2 changed files with 6 additions and 6 deletions

7
i3.nix

@ -123,7 +123,6 @@
services.telepathy.enable = true; services.telepathy.enable = true;
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
services.upower.enable = config.powerManagement.enable; services.upower.enable = config.powerManagement.enable;
hardware.bluetooth.enable = true;
programs.dconf.enable = true; programs.dconf.enable = true;
services.flatpak.extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; services.flatpak.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
# Needed for themes and backgrounds # Needed for themes and backgrounds
@ -133,6 +132,11 @@
"${glib_networking.out}/lib/gio/modules" "${glib_networking.out}/lib/gio/modules"
"${gvfs}/lib/gio/modules" ]; "${gvfs}/lib/gio/modules" ];
hardware.bluetooth = {
enable = true;
package = pkgs.bluezFull;
};
hardware.pulseaudio = { hardware.pulseaudio = {
enable = true; enable = true;
zeroconf.discovery.enable = true; zeroconf.discovery.enable = true;
@ -140,6 +144,7 @@
flat-volumes = "no"; flat-volumes = "no";
}; };
package = pkgs.pulseaudioFull; package = pkgs.pulseaudioFull;
extraModules = [ pkgs.pulseaudio-modules-bt ];
}; };
} }

@ -109,9 +109,4 @@
}; };
systemd.services.wireguard-wg0.wantedBy = pkgs.lib.mkOverride 10 []; systemd.services.wireguard-wg0.wantedBy = pkgs.lib.mkOverride 10 [];
hardware.bluetooth = {
enable = true;
package = pkgs.bluezFull;
};
} }