mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 16:15:33 -05:00
Moving Basic Audio Config To nixos Module
This commit is contained in:
parent
5f885a1746
commit
aaf47f1d84
7 changed files with 91 additions and 28 deletions
|
|
@ -1,21 +1,6 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
# Enable sound with pipewire.
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
# If you want to use JACK applications, uncomment this
|
||||
#jack.enable = true;
|
||||
|
||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||
# no need to redefine it in your config for now)
|
||||
#media-session.enable = true;
|
||||
};
|
||||
# Enable a passthrough from kim's line in port to her optical output.
|
||||
systemd.user.services.pipewire-patching = {
|
||||
enable = true;
|
||||
description = "pipewire patches";
|
||||
|
|
|
|||
|
|
@ -53,6 +53,9 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
|
||||
# Enable hardware features
|
||||
audio.enable = true;
|
||||
|
||||
services.openssh.enable = true;
|
||||
services.flatpak.enable = true;
|
||||
# Apps
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue