Initial commit

This commit is contained in:
EatThePooh 2025-12-03 18:48:46 +07:00
commit 8bfb2256f8
7 changed files with 239 additions and 0 deletions

23
example/flake.nix Normal file
View file

@ -0,0 +1,23 @@
{
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;
};
};
}