mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-14 22:03:24 +01:00
got error when trying to nixos-install --root /mnt --flake .#ai --no-root-password --show-trace #32
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xBLACKICEx on GitHub (Feb 23, 2024).
i am beginner of nixos try to Deploying nixos-installer and flow the execute cmd and i got errors when i execute
nixos-install --root /mnt --flake .#ai --no-root-password --show-trace # instlall-1errors at first launch:
Details
[nix-shell:~/nix-config/nixos-installer]$ nixos-install --root /mnt --flake .#ai --no-root-password --show-trace # instlall-1
warning: Git tree '/home/nixos/nix-config' is dirty
warning: updating lock file '/home/nixos/nix-config/nixos-installer/flake.lock':
• Updated input 'nixos-hardware':
'github:NixOS/nixos-hardware/7763c6fd1f299cb9361ff2abf755ed9619ef01d6' (2023-12-13)
→ 'github:NixOS/nixos-hardware/3f7d0bca003eac1a1a7f4659bbab9c8f8c2a0958' (2024-02-22)
warning: Git tree '/home/nixos/nix-config' is dirty
mktemp: failed to create directory via template ‘/mnt/tmp.XXXXXXXXXX’: Permission denied
[nix-shell:~/nix-config/nixos-installer]$ sudo nixos-install --root /mnt --flake .#ai --no-root-password --show-trace # instlall-1
warning: Git tree '/home/nixos/nix-config' is dirty
copying channel...
building the flake in git+file:///home/nixos/nix-config?dir=nixos-installer...
warning: Git tree '/home/nixos/nix-config' is dirty
error:
… while calling the 'seq' builtin
OS
nixos kde-plasma version 23.11 USB iso boot
hardware
PC intel i5 + NVIDIA 1060
so i only modified nix-config/hosts/idols_ai/hardware-configuration.nix
/dev/disk/by-uuid/xxx
my disk info
@ryan4yin commented on GitHub (Feb 23, 2024):
@ryan4yin commented on GitHub (Feb 23, 2024):
Please write your own configuration from scratch, and use my configuration and documentation for reference only.
@Swaiguy commented on GitHub (Jul 20, 2024):
Hey Ryan, I've spent the past couple of weeks learning and adapting your nixos configuration, and have stumbled upon and issue i have no idea how to fix myself.
Its from the nix-installer flake ~ The attribute Nuenv doesnt work and thats probable because as you say, you havent done a pure install in a while.