chore: format repo using treefmt-nix and nixfmt-rfc-style

This commit is contained in:
Andre committed 2025-06-04 12:35:54 -04:00
1 parent fc7c471412
commit 51e51e6014
266 files changed
+3721 -2733

No files matched your search

+11 -5
View File
@@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
let
cfg = config.hardware.raspberry-pi."4".audio;
@@ -38,9 +43,10 @@ in
# set tsched=0 in pulseaudio config to avoid audio glitches
# see https://wiki.archlinux.org/title/PulseAudio/Troubleshooting#Glitches,_skips_or_crackling
hardware.pulseaudio.configFile = lib.mkOverride 990 (pkgs.runCommand "default.pa" {} ''
sed 's/module-udev-detect$/module-udev-detect tsched=0/' ${config.hardware.pulseaudio.package}/etc/pulse/default.pa > $out
'');
hardware.pulseaudio.configFile = lib.mkOverride 990 (
pkgs.runCommand "default.pa" { } ''
sed 's/module-udev-detect$/module-udev-detect tsched=0/' ${config.hardware.pulseaudio.package}/etc/pulse/default.pa > $out
''
);
};
}