Flake doesn't provide attribute aarch64

I am trying to use the nix-minecraft flake so that i could manager a fabric minecraft server. I am very new to nix flakes and overlays so i don’t really understand how they work at all. I’ve copied the example on the nix-minecraft project. However when i run nixos-rebuild i get

error: flake ‘git+file:///etc/nixos’ does not provide attribute ‘packages.aarch64-linux.nixosConfigurations.“MOTHER”.config.system.build.nixos-rebuild’, ‘legacyPackages.aarch64-linux.nixosConfigurations.“MOTHER”.config.system.build.nixos-rebuild’ or ‘nixosConfigurations.“MOTHER”.config.system.build.nixos-rebuild’

my config

It seems as if you are running nixos-rebuild on a host with the hostname MOTHER but only have eli in the flake.

Unrelated to your issue but fyi: your used nixpkgs in the flake is heavily outdated.

Recommend to switch to an active stable, otherwise I’d not recommend to do anything Internet facing with your system.

And you should use nixos-* refs not release-*

1 Like