-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
175 lines (160 loc) · 5.63 KB
/
Copy pathflake.nix
File metadata and controls
175 lines (160 loc) · 5.63 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
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
description = "fbosch/nix";
# Uses dendritic pattern (https://vic.github.io/dendrix/)
# All modules are declared under flake.modules.nixos.* and flake.modules.homeManager.*
# Hosts are built by directly defining flake.modules.{nixos,darwin}."hosts/*" modules
# Custom outputs:
# - flake.meta: Project-wide metadata (user info, UI defaults, presets)
# - flake.modules: Module tree (nixos/*, homeManager/*, darwin/*)
# - flake.lib.resolve/resolveHm: Helpers for importing modules by string path
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules);
inputs = {
# Core infrastructure
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs-lib";
};
nixpkgs-lib.url = "github:nix-community/nixpkgs.lib";
import-tree.url = "github:vic/import-tree";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-darwin = {
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware.url = "github:nixos/nixos-hardware/master";
# Alternative kernel variants (hosts/rvn-pc)
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
# Package infrastructure (modules/flake-parts/nixpkgs.nix, modules/system/core.nix)
pkgs-by-name-for-flake-parts.url = "github:drupol/pkgs-by-name-for-flake-parts";
# Dotfiles (modules/dotfiles.nix)
dotfiles = {
url = "github:fbosch/dotfiles";
flake = false;
};
# Hyprland desktop environment (modules/desktop/hyprland.nix)
hyprland = {
url = "github:hyprwm/Hyprland?submodules=1";
inputs.nixpkgs.follows = "nixpkgs";
inputs.systems.follows = "dedupe_systems";
};
# hyprland-plugins = {
# url = "github:hyprwm/hyprland-plugins";
# inputs.hyprland.follows = "hyprland";
# };
# split-monitor-workspaces = {
# url = "github:Duckonaut/split-monitor-workspaces";
# inputs.hyprland.follows = "hyprland";
# };
hyprland-contrib = {
url = "github:hyprwm/contrib";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprlock = {
url = "github:hyprwm/hyprlock";
inputs.nixpkgs.follows = "nixpkgs";
inputs.systems.follows = "dedupe_systems";
};
hypridle = {
url = "github:hyprwm/hypridle";
inputs.nixpkgs.follows = "nixpkgs";
inputs.systems.follows = "dedupe_systems";
};
hyprsunset = {
url = "github:hyprwm/hyprsunset";
inputs.nixpkgs.follows = "nixpkgs";
inputs.systems.follows = "dedupe_systems";
};
hyprpaper = {
url = "github:hyprwm/hyprpaper";
inputs.nixpkgs.follows = "nixpkgs";
};
# SDDM theme
silentSDDM = {
url = "github:uiriansan/SilentSDDM";
inputs.nixpkgs.follows = "nixpkgs";
};
# Secrets management (modules/sops.nix)
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# Pre-commit hooks (modules/flake-parts/dev-shell.nix)
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# Nix expression tests (modules/flake-parts/nix-unit.nix)
nix-unit = {
url = "github:nix-community/nix-unit";
inputs.nixpkgs.follows = "nixpkgs";
};
# Applications
worktrunk = {
url = "github:max-sixty/worktrunk";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "dedupe_flake-utils";
};
nix-bwrapper = {
# modules/applications/browsers.nix
url = "https://flakehub.com/f/Naxdy/nix-bwrapper/1.*";
inputs.nixpkgs.follows = "nixpkgs";
};
lazy-apps = {
url = "sourcehut:~rycee/lazy-apps";
inputs.nixpkgs.follows = "nixpkgs";
inputs.pre-commit-hooks.follows = "pre-commit-hooks";
};
flatpaks.url = "github:gmodena/nix-flatpak"; # modules/applications/flatpak.nix
vicinae = {
# modules/applications/vicinae.nix
url = "github:vicinaehq/vicinae";
inputs.nixpkgs.follows = "nixpkgs";
};
winapps = {
# modules/applications/windows.nix
url = "github:winapps-org/winapps";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "dedupe_flake-utils";
flake-compat.follows = "dedupe_flake-compat";
};
};
comfyui-nix = {
url = "github:utensils/comfyui-nix";
inputs.flake-parts.follows = "flake-parts";
};
ags = {
url = "github:aylur/ags";
inputs.nixpkgs.follows = "nixpkgs";
};
# Boot theming
grub2-themes = {
url = "github:vinceliuice/grub2-themes";
inputs.nixpkgs.follows = "nixpkgs";
};
distro-grub-themes = {
url = "github:AdisonCavani/distro-grub-themes";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "dedupe_flake-utils";
};
# Inputs used only for deduplication via .follows
# These are targets of at least one <input>.inputs.<input>.follows above.
# If all .follows targeting these are removed, these inputs should be removed too.
# Prefixed with dedupe_ for easy identification.
dedupe_systems.url = "github:nix-systems/default";
dedupe_flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "dedupe_systems";
};
dedupe_flake-compat.url = "github:edolstra/flake-compat";
};
}