nix-config/modules/hyprland.nix
Donovan Glover 38e82be380
meta: Merge pipewire module with hyprland
Realistically if hyprland is being used then the user *probably* wants
audio as well, so merging them makes sense here.

This commit is a part of ultimately having a single module for "desktop"
usage.
2024-04-03 21:40:38 -04:00

40 lines
572 B
Nix

{ pkgs, ... }:
{
programs.hyprland.enable = true;
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5 = {
addons = with pkgs; [ fcitx5-mozc ];
waylandFrontend = true;
};
};
services.udisks2 = {
enable = true;
mountOnMedia = true;
};
services.xserver = {
enable = true;
excludePackages = [ pkgs.xterm ];
};
services.pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
};
environment.systemPackages = with pkgs; [
pulseaudio
];
}