forked from supabase/postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
54 lines (52 loc) · 1.94 KB
/
flake.nix
File metadata and controls
54 lines (52 loc) · 1.94 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
{
description = "Prototype tooling for deploying PostgreSQL";
nixConfig = {
extra-substituters = [ "https://nix-postgres-artifacts.s3.amazonaws.com" ];
extra-trusted-public-keys = [
"nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI="
];
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
nix2container.url = "github:nlewo/nix2container";
nix2container.inputs.nixpkgs.follows = "nixpkgs";
nix2container.inputs.flake-utils.follows = "flake-utils";
nix-editor.url = "github:snowfallorg/nix-editor";
nix-editor.inputs.utils.follows = "flake-utils";
nix-editor.inputs.nixpkgs.follows = "nixpkgs";
rust-overlay.url = "github:oxalica/rust-overlay";
rust-overlay.inputs.nixpkgs.follows = "nixpkgs";
nix-fast-build.url = "github:Mic92/nix-fast-build";
nix-fast-build.inputs.flake-parts.follows = "flake-parts";
nix-fast-build.inputs.nixpkgs.follows = "nixpkgs";
nix-fast-build.inputs.treefmt-nix.follows = "treefmt-nix";
flake-parts.url = "github:hercules-ci/flake-parts";
treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
git-hooks.url = "github:cachix/git-hooks.nix";
git-hooks.inputs.nixpkgs.follows = "nixpkgs";
nixpkgs-go124.url = "github:Nixos/nixpkgs/d2ac4dfa61fba987a84a0a81555da57ae0b9a2b0";
nixpkgs-pgbackrest.url = "github:nixos/nixpkgs/nixos-unstable-small";
};
outputs =
{ flake-utils, ... }@inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } (_: {
systems = with flake-utils.lib; [
system.x86_64-linux
system.aarch64-linux
system.aarch64-darwin
];
imports = [
nix/apps.nix
nix/checks.nix
nix/config.nix
nix/devShells.nix
nix/fmt.nix
nix/hooks.nix
nix/nixpkgs.nix
nix/packages
nix/overlays
];
});
}