https://github.com/sagikazarmark/nix-garden
Nix flake for Garden
https://github.com/sagikazarmark/nix-garden
Last synced: 7 months ago
JSON representation
Nix flake for Garden
- Host: GitHub
- URL: https://github.com/sagikazarmark/nix-garden
- Owner: sagikazarmark
- License: mit
- Created: 2023-08-10T16:32:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-05T17:48:41.000Z (about 2 years ago)
- Last Synced: 2025-03-06T18:52:46.947Z (7 months ago)
- Language: Nix
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nix flake for [Garden](https://garden.io)
[](https://builtwithnix.org)
This is a flake for installing Garden from its [binary distribution channel](https://github.com/garden-io/garden/releases/tag/0.13.10).
I'm working on a more "native" installation method (tracked in [this](https://github.com/garden-io/garden/issues/4935) issue) and hope to submit the results in nixpkgs.
## Usage
```nix
{
description = "Your flake";inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
garden.url = "github:sagikazarmark/nix-garden";
};outputs = { self, nixpkgs, flake-utils, garden, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in {
devShell = pkgs.mkShell {
buildInputs = [ garden.packages.${system}.garden ];
};
});
}
```## License
The project is licensed under the [MIT License](LICENSE).