summary refs log tree commit diff
path: root/flake.nix
blob: 2f3d5d308d42ae835e1d6e93c35b28322ea03406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  description = "DRM driver and NixOS module for goodtft MHS-3.5 Raspberry Pi displays";

  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";

  outputs = { self, nixpkgs }:
    let
      system = "aarch64-linux";
      pkgs = import nixpkgs { inherit system; };
    in
    {
      nixosModules.default = import ./module.nix;

      # standalone kernel module.
      # built against the default nixpkgs kernel, if you need it inside
      # of your kernel, use the nixos module above!
      packages.${system}.default =
        pkgs.linuxPackages.callPackage ./package.nix { };
    };
}