Write pins.json from theme-home.nix, so the dev config evaluates again #22
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-dev-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
nix build .#dev-config(and sodev/fjordxy-dev up) failed on main with an infinite recursion atnix/dev-config.nix:45, while evaluatingxdg.configFilefromnix/niri.nix.Cause.
1f95aeaaddedxdg.configFile."fjordxy/pins.json"tonix/niri.nix. That module is also evaluated bynix/dev-config.nix, outside home-manager, wherehome.packagesandxdg.stateHomeare the only stubbed home-manager options. The undeclared option surfaced as a recursion throughfjordxyConfigrather than as "option does not exist".Fix. Same approach as the ghostty config (see the comment above
home.packagesin niri.nix): the home-manager-only write leaves niri.nix. Thepins.jsonwrite and thedeskPinneddefinition search now live innix/theme-home.nix, next to thefjordxy-themeunit whose switcher reads the file. It is still gated onniri.enable. The dev config still stacks the same modules as before. I didn't add a stub forxdg.configFile, because that would have hidden the next home-manager leak.Verified
nix build .#dev-configsucceeds.nixosuser):pins.jsonis{}by default and{"desk_background":"#00000000"}when the consumer setslayout.background-color. Same as before.dev/fjordxy-dev up+shot(run insidenix developfor quickshell): the rail is drawn.QT_QUICK_BACKEND=software. This looks like an environment issue and is not related to this change.Unrelated, and not fixed here: evaluating the ISO's NixOS config currently fails with
The option `services.avahi.settings' does not exist(set innix/remote.nix).🤖 Generated with Claude Code
69b914846dtof67c0105b1