Add raspberrypi-utils overlay for handling dropped attributes
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# nixpkgs unstable dropped several Raspberry Pi attrs; nixos-raspberrypi modules still
|
||||
# reference them but ship derivations under pkgs/raspberrypi/.
|
||||
{ inputs, ... }: {
|
||||
nixpkgs.overlays = [
|
||||
(final: _prev:
|
||||
let
|
||||
rp = "${inputs.nixos-raspberrypi}/pkgs/raspberrypi";
|
||||
in
|
||||
{
|
||||
raspberrypi-utils = final.callPackage "${rp}/raspberrypi-utils.nix" { };
|
||||
raspberrypi-udev-rules = final.callPackage "${rp}/udev-rules.nix" { };
|
||||
})
|
||||
];
|
||||
}
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
self.nixosModules."client-services"
|
||||
./_private/platform.nix
|
||||
./_private/raspberrypi-utils-overlay.nix
|
||||
./_private/wifi-brcmfmac.nix
|
||||
./_private/services.nix
|
||||
./_private/cockpit.nix
|
||||
|
||||
Reference in New Issue
Block a user