Repository navigation
Expand file tree
/
Copy pathflake.nix
More file actions
70 lines (62 loc) · 1.66 KB
/
Copy pathflake.nix
File metadata and controls
70 lines (62 loc) · 1.66 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
60
61
62
63
64
65
66
67
68
69
70
{
description = "Leon's Public Flake parts.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
nixos-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-parts = {
url = "github:hercules-ci/flake-parts";
};
nuschtosSearch = {
url = "github:NuschtOS/search";
inputs.nixpkgs.follows = "nixpkgs";
};
notnft = {
url = "github:chayleaf/notnft";
inputs.nixpkgs.follows = "nixpkgs";
};
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } (
{
self,
lib,
...
}:
{
flake.lib = import ./lib { inherit lib; };
perSystem =
{
lib,
system,
...
}:
{
_module.args.pkgs = import self.inputs.nixpkgs {
inherit system;
};
_module.args.pkgsUnstable = import self.inputs.nixos-unstable {
inherit system;
};
_module.args.lh.lib = import ./lib { inherit lib; };
};
imports = [
./modules/part.nix
./packages/part.nix
./parts/nix-develop.nix
./parts/options-search.nix
./parts/treefmt.nix
inputs.treefmt-nix.flakeModule
];
systems = [
# Dont beg me to support macOS, I wont. fork this and add it yourself if you want it. Any PR adding macOS support will be closed without comment.
"x86_64-linux"
"aarch64-linux"
];
}
);
}