mirror of
https://gitlab.com/TECHNOFAB/nixible.git
synced 2026-02-02 11:25:08 +01:00
38 lines
838 B
Nix
38 lines
838 B
Nix
|
|
{
|
||
|
|
outputs = {
|
||
|
|
flake-parts,
|
||
|
|
systems,
|
||
|
|
...
|
||
|
|
} @ inputs:
|
||
|
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
||
|
|
imports = [
|
||
|
|
"@repo_path@/lib/flakeModule.nix"
|
||
|
|
];
|
||
|
|
systems = import systems;
|
||
|
|
flake = {};
|
||
|
|
perSystem = _: {
|
||
|
|
nixible = {
|
||
|
|
"hello".playbook = [
|
||
|
|
{
|
||
|
|
name = "Hello World";
|
||
|
|
hosts = "localhost";
|
||
|
|
tasks = [
|
||
|
|
{
|
||
|
|
name = "Say hello";
|
||
|
|
debug.msg = "Hello from Nixible!";
|
||
|
|
}
|
||
|
|
];
|
||
|
|
}
|
||
|
|
];
|
||
|
|
"test".playbook = [];
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
|
||
|
|
inputs = {
|
||
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||
|
|
systems.url = "github:nix-systems/default-linux";
|
||
|
|
};
|
||
|
|
}
|