-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
60 lines (51 loc) · 1.29 KB
/
Copy pathflake.nix
File metadata and controls
60 lines (51 loc) · 1.29 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
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";
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";
sql.url = "sourcehut:~nilium/sql";
helix.url = "github:helix-editor/helix/25.07.1";
};
outputs = inputs @ {nixpkgs, ...}: let
ntk' = ./lib;
ntk = import ntk' {
inherit nixpkgs;
systems = [
"x86_64-linux"
"aarch64-linux"
"aarch64-darwin"
];
};
in (
ntk.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
./zosim
# Common outputs
./dot-shell.nix # devShells
./formatter.nix # Formatter
{
outputs.lib = ntk;
}
]
);
}