- Add complete config.txt settings with u-boot boot lines + spi=on - Override sdImage.populateFirmwareCommands to use configtxt module output - Mount firmware partition and add activation script to sync config.txt - Load spi_bcm2835 and bcm2835_gpiomem kernel modules - Add udev rule for gpiomem subsystem (not just gpio) - Relax ProtectKernelTunables so service can access GPIO - Update turny flake input to rppal-based CS pin fix
19 lines
369 B
Nix
19 lines
369 B
Nix
{ inputs, config, ... }:
|
|
{
|
|
_module.args = {
|
|
pkgs-unstable = import inputs.nixpkgs-unstable {
|
|
system = config.nixpkgs.hostPlatform.system;
|
|
config = config.nixpkgs.config;
|
|
};
|
|
};
|
|
|
|
imports = [
|
|
./vlans.nix
|
|
./firewall.nix
|
|
./storage-box-mounts.nix
|
|
./temp-build-storage.nix
|
|
./services
|
|
inputs.agenix.nixosModules.default
|
|
];
|
|
}
|