-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
145 lines (122 loc) · 3.51 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
description = "crolbar's NixOS & Home Manager configuration";
outputs = inputs:
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
systems = ["x86_64-linux" "aarch64-linux"];
imports = [
./lib
./home
./hosts
./devShell.nix
./checks
./templates
];
};
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
hm = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs = {
nixpkgs.follows = "nixpkgs";
};
};
hyprland = {
type = "git";
url = "https://github.com/hyprwm/Hyprland";
ref = "refs/tags/v0.43.0";
submodules = true;
};
yazi.url = "github:sxyazi/yazi";
# not sure how caching works exacly but with my testing I find out that:
# If in the input flake the nixpkgs are overritten for all other inputs (not 100% sure but in pkgs that I don't override them it always triggers compilation)
# and in your flake (in which you use the flake as an input) you don't override nixpkgs
# you will be able to use the cache but if you overrite nixpkgs there is a chance that the
# store hash will change only because you overrite them and you will not be able to use the cache.
dapu.url = "github:crolbar/dapu";
matm.url = "github:crolbar/matm";
tt-rs.url = "github:crolbar/tt-rs";
npassm.url = "github:crolbar/npassm";
gazi.url = "github:crolbar/gazi";
gql.url = "github:crolbar/gql";
lobster = {
url = "github:justchokingaround/lobster";
inputs = {
nixpkgs.follows = "nixpkgs";
};
};
nvim_conf = {
url = "git+file:./home/cli/neovim/nvim";
flake = false;
};
swww = {
url = "github:LGFae/swww";
inputs.nixpkgs.follows = "nixpkgs";
};
zellij.url = "github:a-kenji/zellij-nix";
schizofox = {
url = "github:schizofox/schizofox";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
};
};
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
darkmatter-grub-theme = {
url = "gitlab:VandalByte/darkmatter-grub-theme";
inputs.nixpkgs.follows = "nixpkgs";
};
anyrun = {
url = "github:anyrun-org/anyrun";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
};
};
microfetch = {
url = "github:notashelf/microfetch";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-gaming = {
url = "github:fufexan/nix-gaming";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
};
};
wezterm = {
url = "github:wez/wezterm?dir=nix";
inputs = {
nixpkgs.follows = "nixpkgs";
rust-overlay.follows = "rust-overlay";
};
};
leftwm.url = "github:leftwm/leftwm";
ristate = {
url = "github:crolbar/ristate";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
rust-overlay.follows = "rust-overlay";
};
};
agenix = {
url = "github:ryantm/agenix";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "hm";
darwin.follows = "";
};
};
};
}