kiosk/flake.nix

28 lines
678 B
Nix
Raw Normal View History

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";
nixos-hardware.url = "github:NixOS/nixos-hardware";
2024-11-15 18:26:11 -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
nixos-hardware.nixosModules.raspberry-pi-4
2024-11-15 18:26:11 -05:00
{
sdImage.compressImage = false;
}
];
};
};
}