Files
Nomarchy/core/system/vm-guest.nix
Bernardo Magri bbdf34ced8 refactor: implement component-based architecture for enhanced maintainability
- Reorganize directory structure into core/, features/, and themes/
- Colocate application Nix logic, configs, scripts, and theme overrides
- Implement 'Inversion of Control' for theming: apps now pull theme-specific layouts
- Update flake.nix and shared library paths to match the new structure
- Document the new Feature-Centric architecture in README.md
2026-04-12 14:51:15 +01:00

18 lines
509 B
Nix

{ lib, ... }:
{
# Shared VM configuration
virtualisation.vmVariant = {
virtualisation.graphics = true;
virtualisation.qemu.options = [ "-device virtio-vga" ];
};
# Dummy hardware config for VM
fileSystems."/" = { device = "/dev/disk/by-label/nixos"; };
boot.loader.grub.device = "/dev/vda";
boot.initrd.availableKernelModules = [ "virtio_pci" "virtio_blk" "virtio_gpu" "virtio_net" "virtio_mmio" ];
# Force early KMS for Plymouth
boot.initrd.kernelModules = [ "virtio_gpu" ];
}