-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathflake.nix
123 lines (101 loc) · 3.62 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
description = "ri7's nix darwin system";
outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"aarch64-darwin"
"aarch64-linux"
"x86_64-linux"
];
imports = [
./nix
];
};
inputs = {
# utilities for Flake
flake-parts.url = "github:hercules-ci/flake-parts";
ez-configs.url = "github:ehllie/ez-configs";
ez-configs.inputs.nixpkgs.follows = "nixpkgs";
ez-configs.inputs.flake-parts.follows = "flake-parts";
### -- nix related tools
process-compose-flake.url = "github:Platonic-Systems/process-compose-flake";
services-flake.url = "github:juspay/services-flake";
## -- nixpkgs
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
nixpkgs-stable.url = "github:NixOS/nixpkgs/release-24.11";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nixpkgs.follows = "nixpkgs-unstable";
### -- Nix Infra / DevOps
microvm.url = "github:astro/microvm.nix?rev=1e746a8987eb893adc8dd317b84e73d72803b650";
microvm.inputs.nixpkgs.follows = "nixpkgs";
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
clan-core.url = "github:clan-lol/clan-core";
clan-core.inputs.nixpkgs.follows = "nixpkgs";
clan-core.inputs.flake-parts.follows = "flake-parts";
clan-core.inputs.sops-nix.follows = "sops-nix";
clan-core.inputs.disko.follows = "disko";
## -- Platform
#### ---- MacOS
nix-darwin.url = "github:LnL7/nix-darwin";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
#### ---- Home
home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
#### ---- Android
nix-on-droid.url = "github:nix-community/nix-on-droid";
nix-on-droid.inputs.nixpkgs.follows = "nixpkgs";
nix-on-droid.inputs.home-manager.follows = "home-manager";
#### ---- nixvim
nixvim.url = "github:nix-community/nixvim";
nixvim.inputs.nixpkgs.follows = "nixpkgs";
nixvim.inputs.nix-darwin.follows = "nix-darwin";
nixvim.inputs.home-manager.follows = "home-manager";
nixvim.inputs.flake-parts.follows = "flake-parts";
## -- Languages
ocaml-overlay.url = "github:nix-ocaml/nix-overlays";
ocaml-overlay.inputs.nixpkgs.follows = "nixpkgs";
server-reason-react = {
url = "github:ml-in-barcelona/server-reason-react";
flake = false;
};
quickjs-ml = {
url = "github:ml-in-barcelona/quickjs.ml?submodules=1";
flake = false;
};
styled-ppx = {
url = "github:davesnx/styled-ppx?rev=2b69b67ab10244aed612005bd127031f16289cc7";
flake = false;
};
iamb.url = "github:ulyssa/iamb";
iamb.inputs.nixpkgs.follows = "nixpkgs";
# secret management
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
# utilities
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs";
# vimPlugins from flake inputs
# prefix "vimPlugins_"
# e.g: rescript-nvim to be vimPlugins_rescript-nvim
# e.g usage: programs.neovim.plugins = p: [p.rescript-nvim] or [pkgs.vimPlugins.rescript-nvim];
vimPlugins_vim-rescript = {
url = "github:rescript-lang/vim-rescript";
flake = false;
};
vimPlugins_lackluster = {
url = "github:slugbyte/lackluster.nvim";
flake = false;
};
# others
nix-env = {
url = "github:lilyball/nix-env.fish";
flake = false;
};
sketchybar-app-font = {
url = "github:kvndrsslr/sketchybar-app-font";
flake = false;
};
};
}