-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
145 lines (116 loc) · 3.21 KB
/
Copy pathflake.nix
File metadata and controls
145 lines (116 loc) · 3.21 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
{
description = "arroz.nix - Reusable desktop rice configurations for NixOS";
inputs = {
# Derive nixpkgs from mix-nix for cache coherence
# This ensures mix.nix packages use cached builds
nixpkgs.follows = "mix-nix/nixpkgs";
## NixOS ##
flake-parts.url = "github:hercules-ci/flake-parts";
# Core dependency for lib.fs.*, theme, monitors
mix-nix = {
url = "github:tophc7/mix.nix";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
## Theming ##
stylix = {
url = "github:danth/stylix";
inputs.nixpkgs.follows = "nixpkgs";
};
matugen = {
url = "github:InioX/Matugen";
inputs.nixpkgs.follows = "nixpkgs";
};
## Dank Material Shell ##
quickshell = {
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
inputs.nixpkgs.follows = "nixpkgs";
};
dankMaterialShell = {
url = "github:AvengeMedia/DankMaterialShell";
inputs.nixpkgs.follows = "nixpkgs";
};
dms-actions = {
url = "github:AvengeMedia/dms-plugins";
flake = false;
};
dms-easyeffects = {
url = "github:jonkristian/dms-easyeffects";
flake = false;
};
dms-display-settings = {
url = "github:Lucyfire/dms-plugins";
flake = false;
};
dms-nix-monitor = {
url = "github:antonjah/nix-monitor";
flake = false;
};
dms-quick-tote = {
url = "github:JDKamalakar/DMS-Quick_Tote";
flake = false;
};
dms-clipboard-plus = {
url = "github:Dadangdut33/dms-plugins";
flake = false;
};
dms-github-heatmap = {
url = "github:JDKamalakar/DMS-GitHub_HeatMap";
flake = false;
};
dms-amd-gpu-monitor = {
url = "github:JDKamalakar/DMS-AMD_GPU_Monitor_Revive";
flake = false;
};
dms-cat-widget = {
url = "github:xi-ve/cat-dms";
flake = false;
};
dms-plugins = {
url = "git+https://git.ryot.foo/toph/dms-plugins";
inputs.nixpkgs.follows = "nixpkgs";
};
anker-c200 = {
url = "git+https://git.ryot.foo/toph/anker-powerconf-c200-linux";
inputs.nixpkgs.follows = "nixpkgs";
};
## Niri Ecosystem ##
niri = {
url = "github:tophc7/niri-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
vicinae = {
url = "github:vicinaehq/vicinae";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
inputs@{ flake-parts, ... }:
let
# Reuse mix.nix extended lib (provides lib.fs.*, lib.hosts.*, etc.)
lib = inputs.mix-nix.lib;
in
flake-parts.lib.mkFlake
{
inherit inputs;
specialArgs = { inherit lib; };
}
{
systems = [
"x86_64-linux"
"aarch64-linux"
];
# Expose extended lib as flake output
flake.lib = lib;
}
# Direct flake outputs - bypass flake-parts to avoid conflicts with mix.nix
# Capture arroz's inputs in closures so they're available when imported by consumers
// {
flakeModules = {
default = import ./parts/default.nix { arrozInputs = inputs; };
hosts = import ./parts/hosts.nix { arrozInputs = inputs; };
};
};
}