Skip to content

[HM] [Flake] The option `home-manager.users.nightly.programs.nvf' does not exist.Β #615

@pog5

Description

@pog5

⚠️ Please verify that this bug has NOT been reported before.

  • I checked all existing issues and didn't find a similar issue

Description

No response

πŸ‘Ÿ Reproduction steps

  1. Get my flake at this git commit: https://github.com/pog5/flake/tree/4422b4794de455620147ac23e8b86525b49d99dd
  2. sudo nixos-rebuild switch --flake (path to the folder where you cloned the repo)
  3. The error occurs.

πŸ‘€ Expected behavior

I expected nvf to be integrated with my system and for it to be available via the nvim (and vi command as I configured it).

πŸ˜“ Actual Behavior

The build fails, either due to "`home-manager.users.nightly.programs.nvf' does not exist." or because of infinite recursion.

πŸ’» Metadata

  • system: "x86_64-linux" - host os: Linux 6.12.12, NixOS, 25.05 (Warbler), 25.05.20250208.a79cfe0 - multi-user?: yes - sandbox: yes - version: nix-env (Lix, like Nix) 2.92.0 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/nightly/.config/nix/nix.conf:/nix/store/a0c3vx6b8lhwwmy20xw07gqgm9d7gq7k-kglobalacceld-6.2.5/etc/xdg/nix/nix.conf:/nix/store/a0c3vx6b8lhwwmy20xw07gqgm9d7gq7k-kglobalacceld-6.2.5/etc/xdg/nix/nix.conf:/home/nightly/.config/kdedefaults/nix/nix.conf:/nix/store/5i3frmphrhv7mhjrixs1piqk9h9h9rq3-plasma-workspace-6.2.5/etc/xdg/nix/nix.conf:/nix/store/a0c3vx6b8lhwwmy20xw07gqgm9d7gq7k-kglobalacceld-6.2.5/etc/xdg/nix/nix.conf:/nix/store/csczs3h35yhgniyrx1z70263sfbplzp8-baloo-6.10.0/etc/xdg/nix/nix.conf:/nix/store/5i3frmphrhv7mhjrixs1piqk9h9h9rq3-plasma-workspace-6.2.5/etc/xdg/nix/nix.conf:/nix/store/a0c3vx6b8lhwwmy20xw07gqgm9d7gq7k-kglobalacceld-6.2.5/etc/xdg/nix/nix.conf:/nix/store/csczs3h35yhgniyrx1z70263sfbplzp8-baloo-6.10.0/etc/xdg/nix/nix.conf:/home/nightly/.config/kdedefaults/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/nightly/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/nightly/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/nightly/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/r7dh04pv6v6hc3w2v97423im7khkgd2s-lix-2.92.0/share - channels(root): "nixos" - nixpkgs: /nix/store/j33wzkzndh41cyyy7i18bqm1srlv84cq-source

πŸ“ Relevant log output

building the system configuration...
error:
       … while calling the 'head' builtin
         at /nix/store/j33wzkzndh41cyyy7i18bqm1srlv84cq-source/lib/attrsets.nix:1574:11:
         1573|         || pred here (elemAt values 1) (head values) then
         1574|           head values
             |           ^
         1575|         else

       … while evaluating the attribute 'value'
         at /nix/store/j33wzkzndh41cyyy7i18bqm1srlv84cq-source/lib/modules.nix:846:9:
          845|     in warnDeprecation opt //
          846|       { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          847|         inherit (res.defsFinal') highestPrio;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: The option `home-manager.users.nightly.programs.nvf' does not exist. Definition values:
       - In `/nix/store/81k7qg8z177ncqiiwzq3417yb5qyym4z-source/machine/users/nightly/homemgr/programs/neovim.nix':
           {
             enable = true;
             enableManpages = true;
             settings = {
               vim = {
           ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions