diff --git a/hosts/default.nix b/hosts/default.nix index f50aaec..b80d9a5 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -31,5 +31,6 @@ in }; vm = { system = "x86_64-linux"; + targetHost = "192.168.122.110"; }; } diff --git a/hosts/vm/configuration.nix b/hosts/vm/configuration.nix index fb1d7eb..12165f9 100644 --- a/hosts/vm/configuration.nix +++ b/hosts/vm/configuration.nix @@ -10,13 +10,7 @@ in htop ]; - boot = { - loader.grub.devices = [ "/dev/vda" ]; - initrd = { - enable = true; - systemd.enable = true; - }; - }; + boot.loader.grub.enable = false; services.getty.autologinUser = "root"; @@ -36,5 +30,16 @@ in }; security.sudo.wheelNeedsPassword = false; + + services.xserver = { + enable = true; + desktopManager.gnome.enable = true; + displayManager.gdm = { + enable = true; + autoSuspend = false; + }; + exportConfiguration = true; + }; + system.stateVersion = "25.05"; }