Athena-OS / athena-nix

Athena OS Nix configuration files focused on Cybersecurity. Learn, practice and enjoy with any hacking tool!
https://athenaos.org
MIT License
96 stars 8 forks source link

[BUG]: Cannot install within Proxmox LXC due to lack of hardware-configuration.nix #12

Open V3ntus opened 1 week ago

V3ntus commented 1 week ago

Athena OS version

96cbc3401678af07075cf4048f00cea781577fad

Which environment or technology are you using?

Kernel version

6.8.4-3-pve

Involved software

N/A

Repro steps

  1. Install NixOS on Proxmox with a generated LXC image
  2. Clone the athena-nix repo
  3. Run nixos-rebuild --flake .#runtime --impure

Expected behavior

Athena installs correctly

Actual behavior

error:
       Failed assertions:
       - The ‘fileSystems’ option does not specify your root file system.

This occurs due to a lack of hardware-configuration.nix (currently an empty attrset on my machine).

Diagnostic logs

No response

V3ntus commented 1 week ago

I believe this can be resolved by populating fileSystems with results found in mount(8) or /dev/disk/by-..., but I'm just going to proceed with a VM instead of an LXC. It does not look like there's an official headless installation procedure just yet.