-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
flake.nix
65 lines (59 loc) · 2.32 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
{
description = "A somewhat huge NixOS/nix-darwin/home-manager configuration using Nix Flakes.";
nixConfig.commit-lockfile-summary = "flake: bump inputs";
outputs =
inputs:
inputs.parts.lib.mkFlake { inherit inputs; } {
systems = [
"aarch64-darwin"
"x86_64-linux"
];
imports = [
./modules/parts
./overlays
./hosts
./users
];
};
inputs = {
# Flake inputs
agenix.url = "github:ryantm/agenix";
emacs.url = "github:nix-community/emacs-overlay";
darwin.url = "github:lnl7/nix-darwin";
determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/0.1";
home.url = "github:nix-community/home-manager";
nil.url = "github:oxalica/nil";
nix.url = "github:nixos/nix";
nix-colors.url = "github:Misterio77/nix-colors";
nix-index-database.url = "github:Mic92/nix-index-database";
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
nixos-wsl.url = "github:nix-community/nixos-wsl";
nixpkgs-f2k.url = "github:fortuneteller2k/nixpkgs-f2k";
nixfmt.url = "github:NixOS/nixfmt";
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
nvim.url = "github:nix-community/neovim-nightly-overlay";
parts.url = "github:hercules-ci/flake-parts";
statix.url = "github:nerdypepper/statix";
lix.url = "git+https://git.lix.systems/lix-project/lix.git";
# nix-parallel.url = "github:DeterminateSystems/nix-src/multithreaded-eval";
# Non-flake inputs
# Nixpkgs branches
master.url = "github:nixos/nixpkgs/master";
stable.url = "github:nixos/nixpkgs/release-23.05";
unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
# Default Nixpkgs for packages and modules
nixpkgs.follows = "master";
# Minimize duplicate instances of inputs
agenix.inputs.nixpkgs.follows = "nixpkgs";
agenix.inputs.darwin.follows = "darwin";
darwin.inputs.nixpkgs.follows = "nixpkgs";
emacs.inputs.nixpkgs.follows = "nixpkgs";
home.inputs.nixpkgs.follows = "nixpkgs";
nix.inputs.nixpkgs.follows = "nixpkgs";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
nix-minecraft.inputs.nixpkgs.follows = "nixpkgs";
nixos-wsl.inputs.nixpkgs.follows = "nixpkgs";
nixpkgs-f2k.inputs.nixpkgs.follows = "nixpkgs";
statix.inputs.nixpkgs.follows = "nixpkgs";
};
}