Initial commit
This commit is contained in:
commit
8bfb2256f8
7 changed files with 239 additions and 0 deletions
23
example/flake.nix
Normal file
23
example/flake.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue