mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
add flake.nix
This commit is contained in:
parent
611059a329
commit
cba0fd9410
2 changed files with 59 additions and 0 deletions
17
flake.nix
Normal file
17
flake.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
description = "Kubernetes resource builder using nix";
|
||||
|
||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let pkgs = nixpkgs.legacyPackages.${system}; in
|
||||
rec {
|
||||
packages.kubenix = pkgs.callPackage ./default.nix {
|
||||
inherit pkgs;
|
||||
nixosPath = "${nixpkgs}/nixos";
|
||||
};
|
||||
defaultPackage = packages.kubenix;
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue