Skip to content

fix: gate ZNC secret on service being enabled - #362

Merged
stackptr merged 1 commit into
mainfrom
fix/zeta-znc-activation
Mar 11, 2026
Merged

stackptr merged 1 commit into
mainfrom
fix/zeta-znc-activation

Conversation

@stackptr

@stackptr stackptr commented Mar 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Wraps the ZNC agenix secret in lib.mkIf config.services.znc.enable so it's only created when ZNC is actually enabled
  • Fixes activation failure on zeta: chown: invalid user: 'znc:znc' caused by agenix trying to set ownership to the znc user which doesn't exist when the service is disabled

Test plan

  • Rebuild zeta and verify activation succeeds without the chown error

🤖 Generated with Claude Code

The agenix secret for ZNC was unconditionally setting owner/group to
znc:znc, but with services.znc.enable = false the znc user doesn't
exist, causing activation to fail with "chown: invalid user: 'znc:znc'".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stackptr
stackptr enabled auto-merge (squash) March 11, 2026 15:10
@stackptr
stackptr merged commit 856a5db into main Mar 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant