Files
voron/flake.nix
T
2026-10-02 14:37:07 +02:00

27 lines
806 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-hardware = {
url = "github:NixOS/nixos-hardware/master";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, nixos-hardware, ... }: {
nixosConfigurations.voron = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
nixos-hardware.nixosModules.raspberry-pi-5
({ lib, ... }: {
system.stateVersion = "26.05";
# The pinned Raspberry Pi kernel does not build the ZFS module.
boot.supportedFilesystems.zfs = lib.mkForce false;
hardware.raspberry-pi.firmware.uboot.enable = true;
})
./configuration.nix
];
};
};
}