So, I added the nix-flatpak input to my NixOS flake, rebuilt and switched to the new generation, everything seemed fine.
Then, I wanted to add the input to my home-manager flake too, since I will want some Flatpaks installed system-wide, and some only for specific users. Followed the instructions as best as I could, since the examples show importing the module inside a NixOS HM module, but I use HM standalone, and I ran into this error.
$ home-manager -v switch --flake ~/.config/home-manager/#andy3153
error:
… while updating the lock file of flake 'path:/home/andy3153/.config/home-manager?lastModified=1710550103&narHash=sha256-k7/smjAUtDKPYjwQYQ4l2AlW2Tdth/2F0LOlFyGvdHk%3D'
… while updating the flake input 'nix-flatpak'
… while fetching the input 'github:gmodena/nix-flatpak/v0.3.0'
error: failed to extract archive (Could not open /tmp/nix-10224-0/nix-flatpak-a243cb0522f6240c194b873dde68e25370b06034)
So, I added the
nix-flatpak
input to my NixOS flake, rebuilt and switched to the new generation, everything seemed fine.Then, I wanted to add the input to my
home-manager
flake too, since I will want some Flatpaks installed system-wide, and some only for specific users. Followed the instructions as best as I could, since the examples show importing the module inside a NixOS HM module, but I use HM standalone, and I ran into this error.This is my
home-manager
flake.What have I done wrong?