storopoli / flakes

NixOS/MacOS Nix Minimalist-Hardened-Privacy-oriented Configs
MIT License
48 stars 5 forks source link

Error flake does not provide attribute #47

Closed Dandeptraibodoiwa closed 8 months ago

Dandeptraibodoiwa commented 8 months ago

image

Hello, It's me again. i quite confused in this step: 7. Migrate all the custom hardware-configuration.nix from /mnt/etc/nixos into /mnt/etc/nixos/flakes/linux/system.nix and /mnt/etc/nixos/flakes/linux/filesystem.nix

Following this step, I did cp /mnt/etc/nixos/hardware-configuration.nix to /mnt/etc/nixos/flakes/linux/system.nix and /mnt/etc/nixos/flakes/linux/filesystem.nix

in the photo at /mnt/etc/nixos there is image

After usingnixos-install --no-root-passwd --flake .#laptop ( After the error, I tried .#linux But it's still like that ).

Looking forward to your help,

storopoli commented 8 months ago

When I say migrate I mean "carefully go over the contents of the target file and add stuff from the original file", not a blind cp original target.

I tried .#linux

Theres is no host named linux so this is expected to fail.

Dandeptraibodoiwa commented 8 months ago

Ok. I will try again.

storopoli commented 8 months ago

Seems that it was fixed. I'll close this. Feel free to reach out if you need additional help.