Files
picoforge/flake.nix
T

40 lines
853 B
Nix
Raw Normal View History

2026-01-23 00:03:54 +08:00
{
description = "PicoForge Dev Flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
};
2026-02-11 23:22:33 +05:30
outputs =
inputs@{ flake-parts, ... }:
2026-01-23 00:03:54 +08:00
flake-parts.lib.mkFlake { inherit inputs; } {
2026-02-11 23:22:33 +05:30
systems = [
"x86_64-linux"
"x86_64-darwin"
];
perSystem =
{
config,
self',
inputs',
pkgs,
system,
...
}:
{
packages = import ./default.nix { inherit pkgs; };
devShells.default = import ./shell.nix { inherit pkgs; };
};
2026-01-23 00:03:54 +08:00
};
2026-02-11 11:10:57 +08:00
nixConfig = {
extra-substituters = [
2026-02-11 23:22:33 +05:30
"https://librekeys.cachix.org"
2026-02-11 11:10:57 +08:00
];
extra-trusted-public-keys = [
2026-02-11 23:22:33 +05:30
"librekeys.cachix.org-1:q+NyQsZgHyIMhYCIxyfpGs5jMU0/WHK7JTYgVbN3Iuk="
2026-02-11 11:10:57 +08:00
];
};
2026-01-23 00:03:54 +08:00
}