mirror of
https://gitlab.com/TECHNOFAB/nixible.git
synced 2026-02-02 03:15:09 +01:00
feat: switch from flake-parts and devenv to rensa ecosystem
This commit is contained in:
parent
0a0d354962
commit
dcb87e8c3e
21 changed files with 649 additions and 652 deletions
37
tests/fixtures/flake_parts/flake.nix
vendored
Normal file
37
tests/fixtures/flake_parts/flake.nix
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue