-
Notifications
You must be signed in to change notification settings - Fork 3
/
default.nix
46 lines (46 loc) · 1.15 KB
/
default.nix
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
{ _compat ? import ./flake-compat.nix
, nixpkgs ? _compat.inputs.nixpkgs
, overlays ? [ ]
, config ? { }
, system ? builtins.currentSystem
}:
import nixpkgs {
inherit system;
overlays = [
(_: _: { nixpkgsRev = nixpkgs.rev; })
(_: _: { _std = _compat.inputs.nix-std.lib; })
_compat.inputs.poetry2nix.overlays.default
# _compat.inputs.pnpm2nix.overlays.default
(_: _: { treefmt-nix = _compat.inputs.treefmt-nix.lib; })
(_: _: { inherit (_compat.inputs) uv2nix; })
(_: prev: { inherit (import _compat.inputs.pog { pkgs = prev; }) _ pog; })
(_: prev: { inherit (import _compat.inputs.hex { pkgs = prev; }) hex hexcast nixrender; })
(_: _: {
machines = {
nixos = [
"andromeda"
"edge"
"luna"
"milkyway"
"neptune"
"phobos"
"proteus"
"terra"
"titan"
];
darwin = [
"charon"
"m1max"
"pluto"
"styx"
];
};
})
] ++ (import ./overlays.nix) ++ overlays;
config = {
allowUnfree = true;
permittedInsecurePackages = [
"nodejs-16.20.2"
];
} // config;
}