-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
60 lines (49 loc) · 1.35 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
{
description = "Noel's home configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nix-hardware.url = "github:nixos/nixos-hardware";
nixgl.url = "github:nix-community/nixGL?ref=main";
nixgl.inputs.nixpkgs.follows = "nixpkgs";
ntk = {
url = "github:nilium/dot-nix/lib";
inputs.nixpkgs.follows = "nixpkgs";
};
crane = {
url = "github:ipetkov/crane";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
fex = {
url = "sourcehut:~nilium/go-fex";
inputs.nixpkgs.follows = "nixpkgs";
};
sql = {
url = "sourcehut:~nilium/sql";
inputs.nixpkgs.follows = "nixpkgs";
};
helix = {
url = "github:helix-editor/helix/24.07";
inputs.nixpkgs.follows = "nixpkgs";
inputs.crane.follows = "crane";
};
};
outputs = inputs @ {ntk, ...}: (
ntk.lib.merge inputs [
# Modules
./packages # Shared packages
./nixos # Most NixOS modules
./home # Most home-manager modules
# Machines
./sirin # sirin, x86_64-linux
./dolya # dolya, aarch64-darwin
./veles # veles, x86_64-linux
# Common outputs
./dot-shell.nix # devShells
./formatter.nix # Formatter
]
);
}