-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathflake.nix
More file actions
33 lines (28 loc) · 907 Bytes
/
Copy pathflake.nix
File metadata and controls
33 lines (28 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
description = "Kubernetes management with nix";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
import-tree.url = "github:vic/import-tree";
systems.url = "github:nix-systems/default";
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
devshell = {
url = "github:numtide/devshell";
inputs.nixpkgs.follows = "nixpkgs";
};
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { flake-parts, import-tree, ... }@inputs:
flake-parts.lib.mkFlake { inherit inputs; } (import-tree ./flake)
# nixosModules.kubenix is an attrset of modules (kubenix.modules.k8s, .testing, ...),
# not a single NixOS module.
// {
nixosModules.kubenix = import ./modules;
};
}