Skip to content

Commit

Permalink
finished for now..
Browse files Browse the repository at this point in the history
  • Loading branch information
user committed May 26, 2024
1 parent ac4d609 commit 711a30e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
14 changes: 14 additions & 0 deletions rpi-4/REAMDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

getting an initial build with: https://github.com/Robertof/nixos-docker-sd-image-builder

useful repo: https://git.2li.ch/Nebucatnetzer/nixos/src/commit/1a3c748c8e5466359c92cfd1d81954199c5d69be/modules/hardware/raspi4


nix flake init --experimental-features 'nix-command flakes'

Expand All @@ -19,3 +21,15 @@ just wait for fucking 5 seconds until the audio server has started...
...need to run.. to make it work after autostart?:
pactl list modules | grep module-native-protocol-tcp



todo:
rpi audio: fiverr guy schreiben (sobald 2. gehalt da ist)
-> er soll bluetooth einrichten
und den autostart fixen

ich bin zu blöd dafür

vllt noch pipewire etc. mach es schön


13 changes: 9 additions & 4 deletions rpi-4/config/nixos/misc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,17 @@
boot.extraModulePackages = [ ];
boot.kernelParams = [ ];

hardware.enableRedistributableFirmware = true;
hardware.pulseaudio = {

hardware = {
bluetooth.enable = true;
#deviceTree.filter = "bcm2711-rpi-*.dtb"; ??

enableRedistributableFirmware = true;
pulseaudio = {
extraConfig = "load-module module-native-protocol-tcp port=4713 listen=0.0.0.0 auth-anonymous=true";
enable = true;
};

};
};


environment.systemPackages = with pkgs; [
Expand Down

0 comments on commit 711a30e

Please sign in to comment.