From 1feb8d154a63270e4fb1e1965725b2cccaa0ff10 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 24 May 2022 17:32:41 +0200 Subject: [PATCH] flake.nix: enhance usability of *-vm packages --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index de8ed1eb..31d6e0b9 100644 --- a/flake.nix +++ b/flake.nix @@ -239,7 +239,12 @@ } ]; }; boot.isContainer = lib.mkForce false; + users.users.root.password = ""; fileSystems."/".fsType = lib.mkForce "tmpfs"; + services.getty.helpLine = '' + Log in as "root" with an empty password. + Use "reboot" to shut qemu down. + ''; } ]; })