1
0
forked from extern/nix-config
donovanglover-nix-config/host/virtualization/default.nix

35 lines
1001 B
Nix
Raw Normal View History

2023-05-17 15:23:38 +02:00
{ pkgs, lib, ... }:
{
virtualisation.vmVariant = {
virtualisation = {
memorySize = 8192;
cores = 4;
};
virtualisation.qemu.options =
[ "-device virtio-vga-gl" "-display sdl,gl=on" ];
services.xserver.desktopManager.gnome.enable = true;
services.xserver.displayManager.gdm.enable = true;
2023-05-24 16:54:43 +02:00
services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "user";
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@tty1".enable = false;
2023-05-17 15:23:38 +02:00
i18n.inputMethod = lib.mkDefault {
enabled = "ibus";
ibus.engines = with pkgs.ibus-engines; [ mozc ];
};
services.gnome.core-utilities.enable = false;
environment.gnome.excludePackages = [ pkgs.gnome-tour ];
services.pipewire.enable = lib.mkForce false;
services.mullvad-vpn.enable = lib.mkForce false;
programs.hyprland.enable = lib.mkForce false;
services.greetd.enable = lib.mkForce false;
2023-05-17 15:23:38 +02:00
};
}