remove snapserver
This commit is contained in:
parent
47285cff49
commit
232ec312d1
|
@ -7,7 +7,7 @@
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
/etc/nixos/hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
@ -139,18 +139,6 @@
|
||||||
localuser = null;
|
localuser = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.snapserver = {
|
|
||||||
enable = true;
|
|
||||||
codec = "flac";
|
|
||||||
openFirewall = true;
|
|
||||||
streams = {
|
|
||||||
mopidy = {
|
|
||||||
type = "pipe";
|
|
||||||
location = "/run/snapserver/mopidy";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
extensionPackages = with pkgs; [ mopidy-youtube mopidy-local mopidy-mpd mopidy-mpris mopidy-iris ];
|
extensionPackages = with pkgs; [ mopidy-youtube mopidy-local mopidy-mpd mopidy-mpris mopidy-iris ];
|
||||||
settings = {
|
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 = {
|
http = {
|
||||||
hostname = "::";
|
hostname = "::";
|
||||||
};
|
};
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
history.path = "${config.xdg.dataHome}/zsh/history";
|
history.path = "${config.xdg.dataHome}/zsh/history";
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
alias hsw='home-manager switch'
|
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 = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue