-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
executable file
·58 lines (55 loc) · 1.38 KB
/
flake.nix
File metadata and controls
executable file
·58 lines (55 loc) · 1.38 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
{
description = "dev";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
flake-utils.url = "github:numtide/flake-utils";
dev-env = {
url = "github:devnw/dev-env";
inputs = {
nixpkgs.follows = "nixpkgs";
unstable.follows = "unstable";
flake-utils.follows = "flake-utils";
};
};
};
outputs =
{
self,
nixpkgs,
dev-env,
flake-utils,
...
}:
let
flakeForSystem =
nixpkgs: system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShell = pkgs.mkShell {
shellHook = '''';
env = { };
packages =
(with dev-env.packages.${system}; [
commonPackages
])
++ (with pkgs; [
]);
};
};
in
flake-utils.lib.eachDefaultSystem (system: flakeForSystem nixpkgs system);
nixConfig = {
extra-substituters = [
"https://oss-devnw.cachix.org"
"https://oss-spyder.cachix.org"
"https://oss-codepros.cachix.org"
];
extra-trusted-public-keys = [
"oss-devnw.cachix.org-1:iJblmQB0mX8MTEqkKJv3piJK3mimEbHpgU1+FSeRuGY="
"oss-spyder.cachix.org-1:CMypXJpvr7z6IGQdIGDHgZBaZX7JSX9AuPErD/in01g="
"oss-codepros.cachix.org-1:dP82KzkIxKQp+kS1RgxasR9JYlFdy4W9y7heHeD5h34="
];
};
}