diff --git a/hosts/default.nix b/hosts/default.nix index b80d9a5..f50aaec 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -31,6 +31,5 @@ in }; vm = { system = "x86_64-linux"; - targetHost = "192.168.122.110"; }; } diff --git a/hosts/vm/configuration.nix b/hosts/vm/configuration.nix index 12165f9..fb1d7eb 100644 --- a/hosts/vm/configuration.nix +++ b/hosts/vm/configuration.nix @@ -10,7 +10,13 @@ in htop ]; - boot.loader.grub.enable = false; + boot = { + loader.grub.devices = [ "/dev/vda" ]; + initrd = { + enable = true; + systemd.enable = true; + }; + }; services.getty.autologinUser = "root"; @@ -30,16 +36,5 @@ 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"; }