init flake

This commit is contained in:
Robin Appelman 2024-07-08 20:28:15 +02:00
commit a6d41bbaa3
17 changed files with 623 additions and 0 deletions

31
flake.nix Normal file
View file

@ -0,0 +1,31 @@
{
inputs = {
utils.url = "github:numtide/flake-utils";
nixpkgs.url = "nixpkgs/release-24.05";
};
outputs = {
self,
nixpkgs,
utils,
}:
utils.lib.eachDefaultSystem (system: let
overlays = [
(import ./overlay.nix)
];
pkgs = (import nixpkgs) {
inherit system overlays;
};
inherit (pkgs) lib;
in rec {
devShells.default = pkgs.mkShell {
};
packages = {
inherit (pkgs) packetry cynthion cynthion-udev;
};
})
// {
overlays.default = import ./overlay.nix;
};
}