From 96a163f3ff7f162e1166d475b0c53e5c5d81d9b4 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 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hosts/vm/configuration.nix b/hosts/vm/configuration.nix index fb1d7eb..0bb3f5d 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"; From 82359ace8209a2e1b63a5fe57ca90af94bebae35 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 e808aa4d67ccdf5c8e581f007ec2ca9fb27170f4 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 0bb3f5d..12165f9 100644 --- a/hosts/vm/configuration.nix +++ b/hosts/vm/configuration.nix @@ -30,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"; }