From c0845067ef6fec1b168dc12c79fa7067d3a98e42 Mon Sep 17 00:00:00 2001 From: Jakob Lechner Date: Thu, 9 Oct 2025 14:03:56 +0200 Subject: [PATCH 1/3] Remove bootloader --- hosts/vm/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/vm/configuration.nix b/hosts/vm/configuration.nix index fb1d7eb..19a942f 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; From 8aa655b7e5275c40d32bc957e947efe0030f79d6 Mon Sep 17 00:00:00 2001 From: Jakob Lechner Date: Fri, 10 Oct 2025 11:01:25 +0200 Subject: [PATCH 2/3] Add targetHost --- hosts/default.nix | 1 + 1 file changed, 1 insertion(+) 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"; }; } From 00cb11370dba18e2e11eccb60d2b383890b21288 Mon Sep 17 00:00:00 2001 From: Jakob Lechner Date: Mon, 20 Oct 2025 12:09:52 +0200 Subject: [PATCH 3/3] Add gnome --- hosts/vm/configuration.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hosts/vm/configuration.nix b/hosts/vm/configuration.nix index 19a942f..5ff62ad 100644 --- a/hosts/vm/configuration.nix +++ b/hosts/vm/configuration.nix @@ -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"; }