Skip to content

error: attribute 'config' in selection path 'config.system.build.toplevel' not found #22

Description

@xyno-dev

After building the image and flashing it onto a microsd card, the pi boots! It runs perfectly fine and ssh works as expected.
However, when I go to rebuild the config using nix run github:serokell/deploy-rs .#zero2w -- --ssh-user [username] --hostname [ip], I get the following error:

🚀 ℹ️ [deploy] [INFO] Running checks for flake in .
warning: Git tree '/home/nixyfedora/nixos-pi-zero-2' is dirty
error:
       … while checking flake output 'nixosConfigurations'
         at «github:numtide/flake-utils/11707dc2f618dd54ca8739b309ec4fc024de578b?narHash=sha256-l0KFg5HjrsfsO/JpG%2Br7fRrqm12kzFHyUHqHCVpMMbI%3D»/lib.nix:43:9:
           42|       // {
           43|         ${key} = (attrs.${key} or { }) // {
             |         ^
           44|           ${system} = ret.${key};

       … while checking the NixOS configuration 'nixosConfigurations.aarch64-linux'
         at «github:numtide/flake-utils/11707dc2f618dd54ca8739b309ec4fc024de578b?narHash=sha256-l0KFg5HjrsfsO/JpG%2Br7fRrqm12kzFHyUHqHCVpMMbI%3D»/lib.nix:44:11:
           43|         ${key} = (attrs.${key} or { }) // {
           44|           ${system} = ret.${key};
             |           ^
           45|         };

       error: attribute 'config' in selection path 'config.system.build.toplevel' not found
🚀 ❌ [deploy] [ERROR] Failed to check deployment: Nix checking command resulted in a bad exit code: Some(1)

I am not sure what is causing this at all, and am completely stumped. Probably because of my limited knowledge on flakes and deploy-rs.

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