From 232ec312d1425e12923db9c016234c5725963109 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Fri, 20 Sep 2024 18:00:01 +0200 Subject: [PATCH] remove snapserver --- configuration.nix | 14 +------------- programs/mopidy.nix | 3 --- programs/zsh.nix | 1 - 3 files changed, 1 insertion(+), 17 deletions(-) diff --git a/configuration.nix b/configuration.nix index d625ab7..2d0d14f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,7 +7,7 @@ { imports = [ # Include the results of the hardware scan. - /etc/nixos/hardware-configuration.nix + ./hardware-configuration.nix ]; # Bootloader. @@ -139,18 +139,6 @@ localuser = null; }; - services.snapserver = { - enable = true; - codec = "flac"; - openFirewall = true; - streams = { - mopidy = { - type = "pipe"; - location = "/run/snapserver/mopidy"; - }; - }; - }; - # Allow unfree packages nixpkgs.config.allowUnfree = true; diff --git a/programs/mopidy.nix b/programs/mopidy.nix index e6d2fd0..6bece7c 100644 --- a/programs/mopidy.nix +++ b/programs/mopidy.nix @@ -5,9 +5,6 @@ enable = true; extensionPackages = with pkgs; [ mopidy-youtube mopidy-local mopidy-mpd mopidy-mpris mopidy-iris ]; settings = { - audio = { - output = "tee name=t ! queue ! autoaudiosink t. ! audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! filesink location=/run/snapserver/mopidy"; - }; http = { hostname = "::"; }; diff --git a/programs/zsh.nix b/programs/zsh.nix index 0dfe1b2..bf3eb63 100644 --- a/programs/zsh.nix +++ b/programs/zsh.nix @@ -10,7 +10,6 @@ history.path = "${config.xdg.dataHome}/zsh/history"; initExtra = '' alias hsw='home-manager switch' - alias pwConnect='pw-link Mopidy:output_FL Snapcast:playback_FL && pw-link Mopidy:output_FR Snapcast:playback_FR' ''; oh-my-zsh = { enable = true;