mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 17:53:17 +01:00
38e82be380
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.
40 lines
572 B
Nix
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
|
|
];
|
|
}
|