ops/nixos: pipewire for everyone
This commit is contained in:
parent
4b2c0f7fa8
commit
f463055acf
2 changed files with 10 additions and 13 deletions
|
@ -21,7 +21,16 @@ in
|
||||||
services.pcscd.enable = true;
|
services.pcscd.enable = true;
|
||||||
|
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
hardware.pulseaudio.enable = true;
|
hardware.pulseaudio.enable = false;
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
jack.enable = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
|
||||||
|
media-session.enable = true;
|
||||||
|
};
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
services.dbus.packages = [ depot.nix.pkgs.flameshot ];
|
services.dbus.packages = [ depot.nix.pkgs.flameshot ];
|
||||||
|
|
|
@ -187,18 +187,6 @@ in {
|
||||||
hardware.acpilight.enable = true;
|
hardware.acpilight.enable = true;
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
|
|
||||||
# TODO(lukegb): finish evaluating pipewire
|
|
||||||
hardware.pulseaudio.enable = lib.mkForce false;
|
|
||||||
services.pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
alsa.support32Bit = true;
|
|
||||||
jack.enable = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
|
|
||||||
media-session.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Define a user account.
|
# Define a user account.
|
||||||
users.users.lukegb = {
|
users.users.lukegb = {
|
||||||
extraGroups = [ "wheel" "networkmanager" "libvirtd" "lxd" "video" ];
|
extraGroups = [ "wheel" "networkmanager" "libvirtd" "lxd" "video" ];
|
||||||
|
|
Loading…
Reference in a new issue