Files
nix-config/systems/vm/configuration.nix
2024-07-05 16:33:20 +02:00

40 lines
986 B
Nix

{ pkgs, config, lib, modulesPath, ... }: {
imports = [
#./vm-common.nix
(modulesPath + "/profiles/qemu-guest.nix")
#(modulesPath + "/profiles/minimal.nix")
];
age.identityPaths = [ /home/kopatz/.ssh/id_rsa ];
mainUser.layout = "de";
mainUser.variant = "us";
custom = {
user = {
name = "vm";
layout = "de";
variant = "us";
};
nix = {
settings.enable = true;
settings.optimise = false;
};
graphical = {
#i3.enable = true;
#hyprland.enable = true;
#lightdm.enable = true;
#sddm.enable = true;
#cosmic.enable = true;
};
};
virtualisation.vmVariant = {
#virtualisation.qemu.options = [
# "-device virtio-vga-gl"
# "-display sdl,gl=on,show-cursor=off"
# "-audio pa,model=hda"
# #"-full-screen"
# ];
#virtualisation.qemu.options = [ "-vga qxl" ];
#[ "-vga none" "-device virtio-gpu-gl-pci" "-display default,gl=on" ];
};
}