Releases: zach-source/nix-packages
Releases · zach-source/nix-packages
nix-packages v0.1.2 - Fixed Home Manager Module Support
🏠 nix-packages v0.1.2 - Home Manager Module Fixed
🔧 Critical Fix Applied
- Fixed home-manager module scope: Moved homeManagerModules outside eachDefaultSystem
- Resolves access error: No more 'flake does not provide attribute homeManagerModules.opx'
- System-agnostic modules: Home-manager modules now work across all systems
- Proper flake structure: Follows Nix best practices for module exposure
🎯 Issue Resolved
Before: homeManagerModules nested inside system-specific outputs (broken)
After: homeManagerModules at top level using // operator (working)
📦 Installation (Now Working)
# Package installation
nix profile add github:zach-source/nix-packages/v0.1.2#opx
# Home Manager module (now accessible)
inputs.zach-utils.url = "github:zach-source/nix-packages/v0.1.2";
imports = [ inputs.zach-utils.homeManagerModules.opx ];🏗️ Home Manager Configuration
services.opx-authd = {
enable = true;
backend = "multi";
enableAuditLog = true;
sessionTimeout = 8;
auditLogRetentionDays = 90;
policy = {
allow = [
{
path = "/usr/bin/kubectl";
refs = [ "op://Production/k8s/*" ];
require_signed = true;
}
];
default_deny = true;
};
};✅ Verified Working
- Package builds: opx binaries install correctly
- Module accessible: homeManagerModules.opx now properly exposed
- Service configuration: Complete launchd/systemd integration
- Declarative policies: JSON policy configuration support
This release resolves the home-manager integration issues!
nix-packages v0.1.1 - Working opx package with GitHub binaries
🎉 nix-packages v0.1.1 - Fixed Release
🔧 Issues Resolved
- Fixed SHA256 hash format: Corrected invalid SRI hash error
- Fixed derivation structure: Proper handling of GitHub release archives
- Fixed archive unpacking: Custom unpack phase for root-level archive contents
- Verified working: Both opx and opx-authd binaries install and function correctly
📦 Installation
# Install to profile (now working!)
nix profile add github:zach-source/nix-packages/v0.1.1#opx
# Or run directly
nix run github:zach-source/nix-packages/v0.1.1#opx -- --help
# Development environment
nix develop github:zach-source/nix-packages/v0.1.1✅ Verified Working Features
- Binary installation: Both opx and opx-authd install correctly
- Functionality: Full help output and command structure available
- Architecture: ARM64 macOS binaries from GitHub releases
- No build required: Uses pre-compiled binaries, no CGO complexity
📋 Package Contents
- opx-authd: Multi-backend secret daemon (7.6MB)
- opx: Client CLI with all commands (6.8MB)
- Documentation: README and LICENSE included
Installation verified working on macOS ARM64 systems
nix-packages v0.1.0 - opx package with GitHub release binaries
🎉 nix-packages v0.1.0 - Initial Release
📦 Available Packages
opx - Multi-Backend Secret Daemon
- Uses pre-built binaries from GitHub releases (no build required)
- macOS ARM64 support with Security framework integration
- Complete daemon and client installation
🚀 Installation
# Install to profile
nix profile install github:zach-source/nix-packages#opx
# Or run directly
nix run github:zach-source/nix-packages#opx
# Development environment
nix develop github:zach-source/nix-packages🏠 Home Manager Module
{
inputs.zach-utils.url = "github:zach-source/nix-packages/v0.1.0";
imports = [ inputs.zach-utils.homeManagerModules.opx ];
services.opx-authd = {
enable = true;
backend = "multi";
enableAuditLog = true;
sessionTimeout = 8;
};
}📋 Features
- No build dependencies: Uses pre-compiled binaries from opx v0.1.2
- Fast installation: No CGO compilation required
- Service integration: Complete launchd/systemd configuration
- Declarative config: Policy and service options via home-manager