-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
80 lines (80 loc) · 2.7 KB
/
flake.nix
File metadata and controls
80 lines (80 loc) · 2.7 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
inputs = {
# keep-sorted start block=yes
direnv-instant = {
url = "github:mic92/direnv-instant";
inputs.nixpkgs.follows = "nixpkgs";
inputs.treefmt-nix.follows = "treefmt-nix";
inputs.flake-parts.follows = "flake-parts";
};
# Patch for emacs-direnv that doesn't block the editor while loading
emacs-direnv-async = {
url = "github:wbolster/emacs-direnv/pull/82/head";
flake = false;
};
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-darwin = {
url = "github:nix-darwin/nix-darwin/nix-darwin-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-darwin-flake-module.inputs.nixpkgs.follows = "nixpkgs";
# For flakeModules for darwinModules and darwinConfigurations
nix-darwin-flake-module.url = "github:nix-darwin/nix-darwin/pull/1690/head";
nixpkgs-steam.url = "github:nixos/nixpkgs/pull/499915/head";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
nocommit = {
url = "github:shunueda/nocommit";
inputs.nixpkgs.follows = "nixpkgs";
inputs.treefmt-nix.follows = "treefmt-nix";
inputs.flake-parts.follows = "flake-parts";
inputs.systems.follows = "systems";
};
sops-nix = {
url = "github:mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
systems.url = "github:nix-systems/default";
tools = {
url = "github:anteriorcore/tools";
inputs.nixpkgs.follows = "nixpkgs";
inputs.treefmt-nix.follows = "treefmt-nix";
inputs.flake-parts.follows = "flake-parts";
inputs.systems.follows = "systems";
};
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# keep-sorted end
};
outputs =
inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = import inputs.systems;
imports = [
# keep-sorted start
./hosts/anterior/darwin-configuration.nix
./hosts/personal/darwin-configuration.nix
./modules/darwin/common.nix
./modules/darwin/linux-builder.nix
./modules/home/common.nix
./modules/home/ghq.nix
./modules/home/screen.nix
./nix/misc.nix
./nix/treefmt.nix
inputs.home-manager.flakeModules.home-manager
inputs.nix-darwin-flake-module.flakeModules.default
inputs.tools.flakeModules.checkBuildAll
inputs.treefmt-nix.flakeModule
# keep-sorted end
];
};
}