Skip to content

Instantly share code, notes, and snippets.

error: infinite recursion encountered
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:512:28:
511| builtins.addErrorContext (context name)
512| (args.${name} or config._module.args.${name})
| ^
513| ) (lib.functionArgs f);
… while evaluating the module argument `pkgs' in "/etc/nixos/configuration.nix":
# Some copy & pasting from https://github.com/danielbarter/nixos-config/blob/eb2dbe4001fcc18825b0c146e1139ffff2bd0e8c/dotfiles/sway/config
# and from my ~/.config/i3/config
input "type:keyboard" {
xkb_layout us-gerextra
xkb_options caps:escape
}
no_focus [title="zoom" class="zoom"]
@jheidbrink
jheidbrink / journal
Last active September 30, 2025 11:19
systemd-journal-sway-coredump
Process 42824 (sway) of user 1000 dumped core.
Module /nix/store/m4h72h3mfl44bzv7ix0ggqqcxb98g1s0-sway-unwrapped-1.11/bin/sway without build-id.
Module libpciaccess.so.0 without build-id.
Module liblzma.so.5 without build-id.
Module libxml2.so.16 without build-id.
Module libstdc++.so.6 without build-id.
Module libdrm_intel.so.1 without build-id.
Module libdrm_amdgpu.so.1 without build-id.
Module libxshmfence.so.1 without build-id.