2024-11-15 18:26:11 -05:00
|
|
|
{
|
|
|
|
description = "My standard flake-parts devshell template";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
|
|
rpi-nix.url = "github:nix-community/raspberry-pi-nix";
|
2024-11-21 11:27:28 -05:00
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
2024-11-15 18:26:11 -05:00
|
|
|
};
|
|
|
|
|
2024-11-21 11:27:28 -05:00
|
|
|
outputs = { nixpkgs, rpi-nix, nixos-hardware, ... }: {
|
2024-11-15 18:26:11 -05:00
|
|
|
|
|
|
|
nixosConfigurations.kiosk = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "aarch64-linux";
|
|
|
|
modules = [
|
|
|
|
./base.nix
|
|
|
|
./kiosk.nix
|
|
|
|
|
|
|
|
rpi-nix.nixosModules.raspberry-pi
|
|
|
|
rpi-nix.nixosModules.sd-image
|
2024-11-21 11:27:28 -05:00
|
|
|
nixos-hardware.nixosModules.raspberry-pi-4
|
2024-11-15 18:26:11 -05:00
|
|
|
{
|
|
|
|
sdImage.compressImage = false;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|