-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
97 lines (70 loc) · 2.64 KB
/
flake.nix
File metadata and controls
97 lines (70 loc) · 2.64 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
description = "tilde";
nixConfig = {
extra-experimental-features = "nix-command flakes";
extra-substituters = [
"https://cache.e10.camp/tilde"
"https://tilde.cachix.org"
"https://nix-community.cachix.org"
"https://numtide.cachix.org"
];
extra-trusted-public-keys = [
"tilde:Urwh7kyCsSsNmV1gu4sMYFVZCI0ZPwEXjxxtNH06G8U="
"tilde.cachix.org-1:vjup2ixrsWKk+v8FXCqusKWBRwU0l7EzumjnMV4n2Vg="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE="
];
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-25.11-darwin";
nixpkgs-master.url = "github:nixos/nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts";
nix-darwin.url = "github:nix-darwin/nix-darwin/nix-darwin-25.11";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager/release-25.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
flake-root.url = "github:srid/flake-root";
haumea.url = "github:nix-community/haumea";
haumea.inputs.nixpkgs.follows = "nixpkgs";
treefmt.url = "github:numtide/treefmt-nix";
treefmt.inputs.nixpkgs.follows = "nixpkgs";
tilde-secrets.url = "git+ssh://git@github.com/ethnt/tilde-secrets";
emacs-overlay.url = "github:nix-community/emacs-overlay";
emacs-overlay.inputs.nixpkgs.follows = "nixpkgs";
pragmatapro.url = "git+ssh://git@github.com/ethnt/pragmatapro";
pragmatapro.inputs.nixpkgs.follows = "nixpkgs";
pragmatapro.inputs.flake-parts.follows = "flake-parts";
flake-compat.url = "github:edolstra/flake-compat";
flake-compat.flake = false;
};
outputs = inputs@{ self, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ];
imports = [
./lib
./modules/packages
./modules/overlays
./modules/core/secrets.nix
./modules/core/flake-root.nix
./modules/development/shell.nix
./modules/development/treefmt.nix
./modules/darwin/default.nix
./modules/home/default.nix
./modules/profiles/default.nix
./modules/suites/default.nix
./hosts
./users
];
perSystem = { system, ... }: {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
overlays = with inputs; [
self.overlays.default
pragmatapro.overlays.default
emacs-overlay.overlays.default
];
config.allowUnfree = true;
};
};
};
}