Okay so the flake.nix appears to be AI-generated, and the flake.lock as well. This causes the flake to not work, I got this error while trying
killioiden@six ~/nix-flix (main)
❯ sudo nixos-rebuild switch --flake .#six
[sudo] password for killioiden:
error:
… while updating the lock file of flake 'git+file:///home/killioiden/nix-flix?ref=refs/heads/main&rev=aba12f97e84f1d5fd49d798308ca396793ae1089'
error: invalid SRI hash 'Vy12ghalO9X1K6PDcKmM7URBQRdkelmlmAC5XhUltA=', length 31 != expected length 32
Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '.#nixosConfigurations."six".config.system.build.nixos-rebuild' --no-link' returned non-zero exit status 1.
Okay so the
flake.nixappears to be AI-generated, and theflake.lockas well. This causes the flake to not work, I got this error while trying