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..5ff62ad 100644 --- a/hosts/vm/configuration.nix +++ b/hosts/vm/configuration.nix @@ -11,7 +11,7 @@ in ]; boot = { - loader.grub.devices = [ "/dev/vda" ]; + loader.grub.enable = false; initrd = { enable = true; systemd.enable = true; @@ -36,5 +36,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"; }