Commit 9daab62
committed
refactor(nix): migrate from flake-utils to flake-parts
Replace flake-utils with flake-parts for a more modular and type-safe
Nix flake configuration. flake-parts uses the NixOS module system
pattern, providing better extensibility and composability.
Key changes:
- Replace flake-utils input with flake-parts
- Use mkFlake with perSystem pattern instead of eachDefaultSystem
- Explicitly declare supported systems (x86_64-linux, aarch64-linux,
aarch64-darwin)
- Remove x86_64-darwin from supported systems as it is no longer needed
Benefits of flake-parts:
- NixOS-style module system for flake configuration
- Type-safe options with better error messages
- Support for advanced features like partitions and flakeModules
- More maintainable structure for complex flake configurations1 parent a9ce5b8 commit 9daab62
2 files changed
Lines changed: 35 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | | - | |
31 | | - | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
0 commit comments