fufexan / dotfiles

NixOS system config & Home-Manager user config
MIT License
730 stars 42 forks source link

Build VM Configuration for those who want to try out the Nix-OS config ? #41

Open lalishansh opened 1 month ago

lalishansh commented 1 month ago

I Ran nixos-rebuild build-vm --flake '.#io' to build a VM out of this NixOS config.

after some time (its 4.5 GB download for those who have limited bandwidth), it gave me blank screen.

followed Hyprland on NixOS vm/QEMU

to add

    -device virtio-vga-gl \
    -display sdl,gl=on,show-cursor=on \

in run-io-vm.sh (by copying it to local file and making it executable)

The Inputs are not working. NOTE: i have Nvidia GPU, but i also have Radeon iGPU

fufexan commented 1 month ago

The Inputs are not working.

What do you mean by this?

lalishansh commented 1 month ago

Keyboard input, trying to enter password etc. Note: i modified config for initialPassword

fufexan commented 1 month ago

I don't normally use VMs, so I don't know what the issue could be. Do configs with other compositors work?

lalishansh commented 1 month ago

I've used the Aylur's dotfiles for the same and it works. (after commenting gnome-secrets but that's not important).

Edit: build-vm is awesome for testing configs (one of the awesome features i like about NixOS)