mirror of
https://github.com/larstvei/nix-config.git
synced 2025-09-17 12:30:13 +00:00
27 lines
634 B
Nix
27 lines
634 B
Nix
{
|
|
imports = [
|
|
../../modules/base
|
|
../../modules/nixos
|
|
];
|
|
|
|
home-manager.users.larstvei.imports = [
|
|
../../modules/home/minimal
|
|
../../modules/desktop
|
|
];
|
|
|
|
networking.hostName = "larstvei-vm";
|
|
|
|
# VM-friendly bits
|
|
services.qemuGuest.enable = true; # qemu-guest-agent
|
|
services.spice-vdagentd.enable = true; # better clipboard/display if using SPICE
|
|
|
|
# In VMs Hyprland can benefit from this
|
|
environment.sessionVariables.WLR_NO_HARDWARE_CURSORS = "1";
|
|
|
|
# Use EFI boot in the image
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
system.stateVersion = "25.05";
|
|
}
|