blob: ea819d3a24afeb9d8eb130f4d5d0c01b6e14571c (
plain)
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
|
{
description = "teawie moment";
nixConfig = {
extra-substituters = ["https://cache.mydadleft.me/teawiebot"];
extra-trusted-public-keys = ["teawiebot:vp7AaQ042O/3326DMMtLF4MOUa5/kCBAq+YApy5GWXA="];
};
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
naersk = {
url = "github:nix-community/naersk";
inputs.nixpkgs.follows = "nixpkgs";
};
proc-flake.url = "github:srid/proc-flake";
flake-root.url = "github:srid/flake-root";
nix2workflow = {
url = "github:getchoo/nix2workflow";
inputs.nixpkgs.follows = "nixpkgs";
};
pre-commit = {
url = "github:cachix/pre-commit-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nixpkgs-stable.follows = "nixpkgs";
};
};
outputs = {parts, ...} @ inputs:
parts.lib.mkFlake {inherit inputs;} {
imports = [
inputs.pre-commit.flakeModule
inputs.proc-flake.flakeModule
inputs.flake-root.flakeModule
inputs.nix2workflow.flakeModule
./parts/deployment.nix
./parts/dev.nix
./parts/packages.nix
./parts/workflow.nix
];
systems = [
"x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
"aarch64-darwin"
];
};
}
|