Skip to content

Commit f2d9c71

Browse files
authored
Migrate from flake-utils to flake-parts (#21)
* refactor: migrate from flake-utils to flake-parts - Replace flake-utils with flake-parts for better modularity - Restructure flake.nix to use flake-parts' module system - Keep all existing functionality intact (packages, apps, checks, etc) - Maintain platform-specific constraints for CUDA and Docker images - Update flake.lock with new dependencies * docs: add CHANGELOG and improve flake.nix documentation - Add CHANGELOG.md following Keep a Changelog format - Add clarifying comments to flake.nix explaining cross-platform pkgs instances - Pin nixpkgs to known-good revision (avoids test failures in newer versions) * docs: improve flake architecture documentation - Add comment explaining supported systems and CUDA availability - Version CHANGELOG entry as v0.7.0-2 for flake-parts migration - Note improved inline documentation in changelog
1 parent 5bf597a commit f2d9c71

File tree

3 files changed

+378
-216
lines changed

3 files changed

+378
-216
lines changed

CHANGELOG.md

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.7.0-2] - 2025-01-10
9+
10+
### Changed
11+
- Migrated from `flake-utils` to `flake-parts` for better modularity and composability
12+
- Restructured `flake.nix` to use flake-parts module system with `perSystem` and `flake` attributes
13+
- Improved inline documentation for flake architecture
14+
15+
## [0.7.0-1] - 2025-01-04
16+
17+
### Added
18+
- `services.comfyui.cudaCapabilities` option for NixOS module to specify CUDA compute capabilities
19+
20+
### Fixed
21+
- Bundle fonts and patch Comfyroll for NixOS compatibility (#18)
22+
23+
## [0.7.0] - 2024-12-28
24+
25+
### Changed
26+
- Update ComfyUI to v0.7.0 with PyTorch optimizations (#16)
27+
28+
### Fixed
29+
- Disable albumentations tests to fix build issues
30+
31+
## [0.6.0] - 2024-12-15
32+
33+
### Added
34+
- InsightFace/PuLID support on macOS Apple Silicon (#14)
35+
- Pure Nix template input files for workflow templates
36+
- CUDA architecture-specific builds with unified GPU support (Pascal through Hopper)
37+
- Cachix push script for CI caching improvements
38+
- `enableManager` option in NixOS module
39+
- `requiresMounts` option with auto-detect home directory in NixOS module
40+
- CUDA support in overlay and NixOS module
41+
- Shellcheck to dev dependencies and flake checks
42+
- GitHub issue templates
43+
- FlakeHub publishing workflow
44+
45+
### Changed
46+
- Refactored to pure Nix flake architecture (#12)
47+
- Switch Docker builds from buildLayeredImage to buildImage for better compatibility
48+
- Unify CUDA builds to use all GPU architectures in single build
49+
- Consolidate CI build and cache into single job
50+
51+
### Fixed
52+
- Use pre-built PyAV wheels for FFmpeg 8.x compatibility
53+
- CPU fallback and cross-platform Docker builds
54+
- Skip Linux-only custom nodes on macOS
55+
- Make Linux-only packages conditional on platform
56+
- Patch rgthree-comfy for Nix store compatibility
57+
- Various CI improvements for CUDA builds and Cachix caching
58+
59+
### Documentation
60+
- Add NixOS/nix-darwin package installation instructions
61+
- Add 'Why a Nix Flake?' section explaining project rationale
62+
- Update README with macOS platform and ComfyUI Manager integration info
63+
- Add AGENTS.md for AI coding assistants
64+
65+
## [0.5.1] - 2024-11-20
66+
67+
### Added
68+
- comfy-cli wrapper script for CLI access
69+
- Podman instructions alongside Docker
70+
71+
### Changed
72+
- Update to ComfyUI v0.5.1
73+
74+
### Fixed
75+
- Docker model_downloader and pip availability
76+
- Docker container improvements for persistence and dependencies
77+
- Add glib and libGL to LD_LIBRARY_PATH for OpenCV support
78+
- Prevent ComfyUI-Manager from updating model_downloader node
79+
80+
## [0.4.0] - 2024-11-10
81+
82+
### Added
83+
- Multi-arch Docker builds (x86_64 and aarch64) (#8)
84+
- Auto-download template inputs feature
85+
- Proper `--base-directory` support for custom data locations (#7)
86+
- Complete Docker support with CI/CD and public registry (#5)
87+
- Cross-platform Linux support
88+
89+
### Changed
90+
- Modernize with ComfyUI v0.3.76 and flake improvements (#3)
91+
- Rename project from nix-comfyui to comfyui-nix
92+
- Code quality overhaul and modernization (#6)
93+
94+
### Fixed
95+
- Docker container HOME environment and cross-compilation support (#10)
96+
- Code review security and robustness concerns (#9)
97+
- Replace deprecated substituteAll with replaceVars
98+
- Symlink verification errors on startup
99+
100+
## [0.3.0] - 2024-10-15
101+
102+
### Added
103+
- Modular script architecture for launcher
104+
- Model downloader with detailed progress reporting
105+
- Persistence for models, workflows, and generated images
106+
107+
### Changed
108+
- Reorganize custom_nodes and patches into src directory structure
109+
- Convert launcher into modular script architecture
110+
111+
## [0.2.0] - 2024-10-01
112+
113+
### Added
114+
- ComfyUI-Manager integration
115+
- Python 3.12 environment with full dependency management
116+
117+
### Fixed
118+
- Memory handling for SDXL models on Apple Silicon
119+
- Advanced model loading patches for Apple Silicon
120+
121+
## [0.1.0] - 2024-09-15
122+
123+
### Added
124+
- Initial Nix flake setup for ComfyUI
125+
- Python 3.12 support
126+
- Apple Silicon (M-series) support
127+
- Basic persistence for user data
128+
129+
[0.7.0-2]: https://github.com/utensils/comfyui-nix/compare/v0.7.0-1...v0.7.0-2
130+
[0.7.0-1]: https://github.com/utensils/comfyui-nix/compare/v0.7.0...v0.7.0-1
131+
[0.7.0]: https://github.com/utensils/comfyui-nix/compare/v0.6.0...v0.7.0
132+
[0.6.0]: https://github.com/utensils/comfyui-nix/compare/v0.5.1...v0.6.0
133+
[0.5.1]: https://github.com/utensils/comfyui-nix/compare/v0.4.0...v0.5.1
134+
[0.4.0]: https://github.com/utensils/comfyui-nix/compare/v0.3.0...v0.4.0
135+
[0.3.0]: https://github.com/utensils/comfyui-nix/compare/v0.2.0...v0.3.0
136+
[0.2.0]: https://github.com/utensils/comfyui-nix/compare/v0.1.0...v0.2.0
137+
[0.1.0]: https://github.com/utensils/comfyui-nix/releases/tag/v0.1.0

flake.lock

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)