ocd/example/flake.nix
2025-12-03 22:46:21 +07:00

23 lines
562 B
Nix

{
description = "Usage example";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
# replace with "github:voleum-org/ocd"
ocd.url = "path:../";
};
outputs = inputs@{ flake-parts, ocd, ...}:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
ocd.flakeModule
];
systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
perSystem = { config, pkgs, ... }: {
ocd.enable = true;
};
};
}