blob: f2ac92f9f9c36266dbf1b71be9a371aa80ba5eec (
plain)
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
|
# heavily inspired by https://github.com/ryan4yin/nix-config
{
description = "Master flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-old.url = "github:nixos/nixpkgs/nixos-24.11";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.05";
nixpkgs-darwin.url = "github:nixos/nixpkgs/nixpkgs-25.05-darwin";
nixpkgs-unfree.url = "github:numtide/nixpkgs-unfree?ref=nixos-unstable";
nix-darwin = {
url = "github:lnl7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-utils.url = "github:numtide/flake-utils";
nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
nixos-hardware.url = "github:nixos/nixos-hardware/master";
#secure book
lanzaboote.url = "github:nix-community/lanzaboote";
# choose files to wipe on reboot
impermanence.url = "github:nix-community/impermanence";
nixpkgs-wayland = {
url = "github:nix-community/nixpkgs-wayland";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};
claude-desktop = {
url = "git:file:/home/y/code/nix/claude-desktop-linux-flake";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
agenix = {
url = "github:yaxitech/ragenix";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-gaming.url = "github:fufexan/nix-gaming";
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
git-hooks = {
url = "github:cachix/git-hooks.nix";
};
# haumea = {
# url = "github:nix-community/haumea";
# };
microvm = {
url = "github:astro/microvm.nix";
};
nixos-cn = {
url = "github:nixos-cn/flakes";
# 强制 nixos-cn 和该 flake 使用相同版本的 nixpkgs
inputs.nixpkgs.follows = "nixpkgs";
};
nur.url = "github:nix-community/NUR";
wrapper-manager.url = "github:viperML/wrapper-manager";
flake-parts.url = "github:hercules-ci/flake-parts";
homix = {
url = "github:homix-community/homix";
};
kmonad.url = "github:kmonad/kmonad?dir=nix";
helix.url = "github:helix-editor/helix";
waybar = {
url = "github:alexays/waybar";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-mailserver = {
url = "gitlab:simple-nixos-mailserver/nixos-mailserver";
inputs.nixpkgs.follows = "nixpkgs";
};
windsurf = {
url = "path:/home/y/nixconf/derivations/windsurf";
inputs.nixpkgs.follows = "nixpkgs";
};
yek = {
url = "path:/home/y/nixconf/derivations/yek";
inputs.nixpkgs.follows = "nixpkgs";
};
############# non flakes ############
polybar-themes = {
url = "github:adi1090x/polybar-themes";
flake = false;
};
########### secrets #################
# mysecrets = {
# url = "git+ssh://git@git.sortug.com/polwex/nix-secrets.git";
# flake = false;
# };
########### this fucking guy ########
nixos-rk3588.url = "github:ryan4yin/nixos-rk3588";
devenv = {
url = "github:cachix/devenv";
};
zen-browser = {
url = "github:youwen5/zen-browser-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
openai-codex = {
url = "github:openai/codex";
inputs.nixpkgs.follows = "nixpkgs";
};
# quickshell = {
# # remove ?ref=v0.1.0 to track the master branch
# url = "git+https://git.outfoxxed.me/outfoxxed/quickshell?ref=v0.1.0";
# # THIS IS IMPORTANT
# # Mismatched system dependencies will lead to crashes and other issues.
# inputs.nixpkgs.follows = "nixpkgs";
# };
# determinate systems patched nix. supposedly for enterprise
# determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
};
outputs = inputs: import ./outputs.nix inputs;
}
|