Repository navigation
Expand file tree
/
Copy pathflake.nix
More file actions
59 lines (55 loc) · 1.3 KB
/
Copy pathflake.nix
File metadata and controls
59 lines (55 loc) · 1.3 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
# TODO switch nixie back to master or release (testing out a new refactor)
nixie.url = "github:khuedoan/nixie/pull-based-install";
};
outputs =
{
nixpkgs,
nixpkgs-unstable,
nixie,
...
}:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
# TODO use cf on nixpkgs stable
inherit (nixpkgs-unstable.legacyPackages.${system}) cf mdbook mdbook-mermaid;
in
{
packages.${system}.cf = cf;
formatter.${system} = pkgs.nixfmt-tree;
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
cf
nixie.packages.${system}.default
just
(python3.withPackages (ps: [
ps.hvac
ps.kanidm
ps.pyyaml
ps.requests
]))
go
golangci-lint
gotestsum
jq
kanidm_1_11
kubectl
kubernetes-helm
mdbook
mdbook-mermaid
nixfmt-tree
ruff
nixos-anywhere
nixos-rebuild
openssh
opentofu
terragrunt
velero
];
};
};
}