-
Notifications
You must be signed in to change notification settings - Fork 43
/
flake.nix
70 lines (57 loc) · 2.42 KB
/
flake.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
inputs.chaotic.url = "github:chaotic-cx/nyx/4e242b5d229673461aa8f98adea8460475f68e2a";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.agenix.url = "github:ryantm/agenix";
inputs.agenix.inputs.nixpkgs.follows = "nixpkgs";
inputs.poetry2nix.url = "github:nix-community/poetry2nix";
inputs.poetry2nix.inputs.nixpkgs.follows = "nixpkgs";
inputs.analytics-ingest.url = "github:dolphin-emu/analytics-ingest";
inputs.analytics-ingest.inputs.nixpkgs.follows = "nixpkgs";
inputs.analytics-ingest.inputs.poetry2nix.follows = "poetry2nix";
inputs.central.url = "github:dolphin-emu/central";
inputs.central.inputs.nixpkgs.follows = "nixpkgs";
inputs.central.inputs.poetry2nix.follows = "poetry2nix";
inputs.fifoci.url = "github:dolphin-emu/fifoci";
inputs.fifoci.inputs.nixpkgs.follows = "nixpkgs";
inputs.fifoci.inputs.poetry2nix.follows = "poetry2nix";
inputs.netplay-index.url = "github:dolphin-emu/netplay-index";
inputs.netplay-index.inputs.nixpkgs.follows = "nixpkgs";
inputs.netplay-index.inputs.poetry2nix.follows = "poetry2nix";
inputs.cargo2nix.url = "github:cargo2nix/cargo2nix/main";
inputs.cargo2nix.inputs.nixpkgs.follows = "nixpkgs";
inputs.rust-overlay.url = "github:oxalica/rust-overlay";
inputs.rust-overlay.inputs.nixpkgs.follows = "nixpkgs";
inputs.discord-bot.url = "github:dolphin-emu/discord-bot";
inputs.discord-bot.inputs.nixpkgs.follows = "nixpkgs";
inputs.discord-bot.inputs.cargo2nix.follows = "cargo2nix";
inputs.discord-bot.inputs.rust-overlay.follows = "rust-overlay";
outputs = { self, nixpkgs, chaotic, flake-utils, analytics-ingest, central, fifoci, netplay-index, discord-bot, ... }@attrs: {
colmena = {
meta.nixpkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [
analytics-ingest.overlay
central.overlay
fifoci.overlay
netplay-index.overlay
discord-bot.overlay
];
};
meta.specialArgs = attrs;
"altair.dolphin-emu.org" = import ./machines/altair;
"deneb.dolphin-emu.org" = import ./machines/deneb;
};
} // (flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
};
in rec {
devShells.redmine-extra-deps-update = with pkgs; mkShell {
buildInputs = [ bundix bundler ];
inherit redmine;
};
})
);
}