mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 15:07:44 -05:00
Fixed Pipewire Patch Script
This commit is contained in:
parent
e92487487e
commit
7978215b70
2 changed files with 4 additions and 3 deletions
|
|
@ -17,13 +17,14 @@
|
|||
#media-session.enable = true;
|
||||
};
|
||||
systemd.user.services.pipewire-patching = {
|
||||
enable = true;
|
||||
description = "pipewire patches";
|
||||
|
||||
wantedBy = [ "default.target" ];
|
||||
|
||||
script = ''
|
||||
pw-link "alsa_output.pci-0000_0e_00.4.iec958-stereo:playback_FL" "alsa_input.pci-0000_0e_00.4.analog-stereo:capture_FL"
|
||||
pw-link "alsa_output.pci-0000_0e_00.4.iec958-stereo:playback_FR" "alsa_input.pci-0000_0e_00.4.analog-stereo:capture_FR"
|
||||
pw-link alsa_input.pci-0000_0e_00.4.analog-stereo:capture_FL alsa_output.pci-0000_0e_00.4.iec958-stereo:playback_FL
|
||||
pw-link alsa_input.pci-0000_0e_00.4.analog-stereo:capture_FR alsa_output.pci-0000_0e_00.4.iec958-stereo:playback_FR
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
users.users.annika = {
|
||||
isNormalUser = true;
|
||||
description = "Annika Merris";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "audio" ];
|
||||
};
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
system.stateVersion = "23.11";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue