-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
94 lines (87 loc) · 2.56 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
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
{
outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
flake.nixConfig = {
extra-substituters = [ "https://leana8959.cachix.org" ];
extra-trusted-substituters = [ "https://leana8959.cachix.org" ];
extra-trusted-public-keys = [
"leana8959.cachix.org-1:CxQSAp8lcgMv8Me459of0jdXRW2tcyeYRKTiiUq8z0M="
];
};
imports = [
./nix/configurations
./nix/deploy
./nix/homeModules
./nix/nixosModules
./nix/darwinModules
./nix/flakeModules
./nix/disko
./nix/overlays
./nix/packages
./nix/pre-commit
./nix/devShells
];
systems = [
"aarch64-darwin"
"aarch64-linux"
"x86_64-darwin"
"x86_64-linux"
];
perSystem =
{ pkgs, ... }:
{
formatter = pkgs.nixfmt-rfc-style;
};
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05";
home-manager = {
url = "github:nix-community/home-manager/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-darwin = {
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
nur.url = "github:nix-community/nur";
flake-parts.url = "github:hercules-ci/flake-parts";
agenix.url = "github:ryantm/agenix/0.15.0";
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs-stable";
inputs.nixpkgs-stable.follows = "nixpkgs-stable";
};
deploy-rs = {
url = "github:serokell/deploy-rs";
inputs.nixpkgs.follows = "nixpkgs-stable";
};
disko = {
url = "github:nix-community/disko?ref=v1.8.0";
inputs.nixpkgs.follows = "nixpkgs-stable";
};
# packages
wallpapers.url = "git+https://git.earth2077.fr/leana/wallpapers";
wired-notify = {
url = "github:Toqozz/wired-notify/0.10.6";
inputs.nixpkgs.follows = "nixpkgs-stable";
};
audio-lint = {
url = "git+https://git.earth2077.fr/leana/audio-lint";
inputs.nixpkgs.follows = "nixpkgs-stable";
};
hbrainfuck = {
url = "git+https://git.earth2077.fr/leana/hbrainfuck";
inputs.nixpkgs.follows = "nixpkgs-stable";
};
prop-solveur = {
url = "git+https://git.earth2077.fr/leana/prop_solveur";
inputs.nixpkgs.follows = "nixpkgs-stable";
};
hoot = {
url = "git+https://git.earth2077.fr/leana/hoot";
inputs.nixpkgs.follows = "nixpkgs-stable";
};
};
}