mirror of
https://github.com/oqyude/nixos.git
synced 2026-10-07 20:47:14 +03:00
b2718fd1e772bc976159a76a8d397310d98e6800
The path '/home/<user>/.config/opencode/server.env' was duplicated between users.nix (sops materialization) and home/modules/opencode.nix (programs.opencode.web.environmentFile). Drift between the two was a silent auth-bypass vector: if one moved, the systemd unit would either fail to find OPENCODE_SERVER_PASSWORD or skip EnvironmentFile entirely. Single source in lib/xlib/dirs.nix; both call sites now read from it.
I'm a super newbie who just posted my stuff here. Now maybe about intermediate
Languages
Nix
89.8%
Python
9.1%
Dockerfile
1.1%