apply rpi config error fix

This commit is contained in:
cy 2025-01-23 18:30:37 -05:00
parent af950da1f5
commit 00e6f6267b
3 changed files with 23 additions and 0 deletions

17
flake.lock generated
View file

@ -962,6 +962,22 @@
"type": "github"
}
},
"nixpkgs-rpi": {
"locked": {
"lastModified": 1737645144,
"narHash": "sha256-QPTPf1ccrGTIgKA+/a3MIqrKiUbxhUSRUCQll86kUl8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d4e529a24b66b0341f2b866c5abe3ad8a96be2d7",
"type": "github"
},
"original": {
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d4e529a24b66b0341f2b866c5abe3ad8a96be2d7",
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1724316499,
@ -1225,6 +1241,7 @@
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_5",
"nixpkgs-garage": "nixpkgs-garage",
"nixpkgs-rpi": "nixpkgs-rpi",
"nixvim": "nixvim",
"nvim-github-theme": "nvim-github-theme",
"rust-overlay": "rust-overlay",

View file

@ -69,6 +69,7 @@
inputs.flake-compat.follows = "flake-compat";
};
nixos-hardware.url = "github:nixos/nixos-hardware";
nixpkgs-rpi.url = "github:nixos/nixpkgs/d4e529a24b66b0341f2b866c5abe3ad8a96be2d7";
nixpkgs-garage.url = "github:cything/nixpkgs/garage-module"; # unmerged PR

View file

@ -1,6 +1,8 @@
{
modulesPath,
pkgs,
lib,
inputs,
...
}:
{
@ -71,4 +73,7 @@
boot.loader.generic-extlinux-compatible.mirroredBoots = [
{ path = "/boot/firmware"; }
];
# remove this after https://github.com/NixOS/nixpkgs/pull/375165 lands on unstable
boot.kernelPackages = lib.mkForce inputs.nixpkgs-rpi.legacyPackages.aarch64-linux.linuxKernel.packages.linux_rpi3;
}