From c828cf290d7e698137eabd2208b52ee03e591c66 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 15 Jun 2021 14:32:29 +0800 Subject: [PATCH] rpi-server: disable audio --- nixops/rpi-server.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/nixops/rpi-server.nix b/nixops/rpi-server.nix index 6919d9a..202a7e3 100644 --- a/nixops/rpi-server.nix +++ b/nixops/rpi-server.nix @@ -13,9 +13,6 @@ boot.loader.raspberryPi = pkgs.lib.mkIf rpi4 { enable = true; version = 4; - firmwareConfig = '' - dtparam=audio=on - ''; }; boot.kernelParams = ["cma=64M"]; # work around https://github.com/raspberrypi/linux/issues/3208 boot.kernelPackages = if rpi4 then pkgs.linuxPackages_rpi4 else pkgs.linuxPackages_rpi3; @@ -138,13 +135,7 @@ hardware.sane.enable = true; hardware.sane.extraBackends = [ pkgs.hplip ]; - sound.enable = true; - hardware.pulseaudio.enable = true; - hardware.pulseaudio.systemWide = true; - hardware.pulseaudio.tcp.enable = true; - hardware.pulseaudio.tcp.anonymousClients.allowedIpRanges = ["192.168.1.0/24"]; - - networking.firewall.allowedTCPPorts = [ 631 4713 ]; + networking.firewall.allowedTCPPorts = [ 631 ]; networking.firewall.interfaces.wlan0.allowedUDPPorts = [ 53 67 ]; nix.binaryCachePublicKeys = ["nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="];