Remove version lock for shairport-sync
The current version in nixpkgs is newer than the one we are currently locking, the nqptp fix was also already in nixpkgs. Co-authored-by: c6ristian <c6ristian@christian.moe>
This commit is contained in:
parent
9d9b8ede02
commit
af7fc33d66
5 changed files with 4 additions and 53 deletions
modules/services/audio
|
@ -12,7 +12,6 @@ in
|
|||
imports = [
|
||||
./librespot.nix
|
||||
./mpd.nix
|
||||
./networking.nix
|
||||
./pipewire.nix
|
||||
./shairport-sync.nix
|
||||
];
|
||||
|
|
|
@ -23,7 +23,7 @@ in
|
|||
After = [ "network-online.target" "pipewire.service" ];
|
||||
};
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.librespot}/bin/librespot --name '${config.ccchh.services.audio.name}' --device-type speaker --bitrate 320 --enable-volume-normalisation --disable-audio-cache --disable-credential-cache --quiet";
|
||||
ExecStart = "${pkgs.librespot}/bin/librespot --name '${config.ccchh.services.audio.name}' --device-type speaker --bitrate 320 --enable-volume-normalisation --disable-audio-cache --disable-credential-cache";
|
||||
User = "librespot";
|
||||
Group = "librespot";
|
||||
};
|
||||
|
@ -34,7 +34,7 @@ in
|
|||
users.librespot = {
|
||||
isSystemUser = true;
|
||||
group = "librespot";
|
||||
extraGroups = [ "pipewire" ];
|
||||
extraGroups = [ "pipewire" "audio" ];
|
||||
};
|
||||
groups.librespot = { };
|
||||
};
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
cfg = config.ccchh.services.audio;
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
config = mkIf cfg.enable {
|
||||
# Disable IPv6, since Shairport-Sync doesn't work with IPv6. Unclear why.
|
||||
networking.enableIPv6 = false;
|
||||
};
|
||||
}
|
|
@ -20,7 +20,7 @@ in
|
|||
arguments = "-o pw -v";
|
||||
};
|
||||
|
||||
users.users.shairport.extraGroups = [ "pipewire" ];
|
||||
users.users.shairport.extraGroups = [ "pipewire" "audio" ];
|
||||
|
||||
environment.etc.shairport-sync-config = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue