changes
This commit is contained in:
@@ -7,6 +7,11 @@
|
||||
let
|
||||
hostName = "music-bedroom";
|
||||
snapserverHost = "snapcast.cloonar.com";
|
||||
# customNixpkgs = fetchTarball {
|
||||
# url = "https://github.com/NixOS/nixpkgs/archive/refs/tags/23.11.tar.gz";
|
||||
# sha256 = "sha256:1ndiv385w1qyb3b18vw13991fzb9wg4cl21wglk89grsfsnra41k";
|
||||
# };
|
||||
# pkgs = import customNixpkgs {};
|
||||
in
|
||||
{
|
||||
nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||
@@ -39,7 +44,7 @@ in
|
||||
};
|
||||
networking.firewall.logRefusedConnections = false;
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_rpi3;
|
||||
# boot.kernelPackages = pkgs.linuxPackages_rpi3;
|
||||
# hardware.deviceTree.enable = true;
|
||||
# hardware.deviceTree.overlays = [ {
|
||||
# name = "hifiberry-dacplus";
|
||||
@@ -47,10 +52,46 @@ in
|
||||
# } ];
|
||||
|
||||
hardware.deviceTree.filter = "bcm2708-rpi-zero*.dtb"; # This line does not change anything in this case
|
||||
hardware.deviceTree.enable = true;
|
||||
hardware.deviceTree.overlays = [
|
||||
{
|
||||
name = "hifiberry-dacplusadc";
|
||||
dtboFile = "${pkgs.device-tree_rpi.overlays}/hifiberry-dacplus.dtbo";
|
||||
# dtsText = ''
|
||||
# /dts-v1/;
|
||||
# /plugin/;
|
||||
#
|
||||
# / {
|
||||
# compatible = "brcm,bcm2835";
|
||||
#
|
||||
# fragment@0 {
|
||||
# target = <&i2s>;
|
||||
# __overlay__ {
|
||||
# status = "okay";
|
||||
# };
|
||||
# };
|
||||
#
|
||||
# fragment@1 {
|
||||
# target-path = "/";
|
||||
# __overlay__ {
|
||||
# dacplus_codec: dacplus-codec {
|
||||
# #sound-dai-cells = <0>;
|
||||
# compatible = "hifiberry,hifiberry-dacplus";
|
||||
# status = "okay";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
#
|
||||
# fragment@2 {
|
||||
# target = <&sound>;
|
||||
# __overlay__ {
|
||||
# compatible = "hifiberry,hifiberry-dacplus";
|
||||
# i2s-controller = <&i2s>;
|
||||
# status = "okay";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# '';
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user