From 2211713693d36c88b0fd3446d490030f7b7da4a1 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sat, 9 Nov 2024 10:39:54 +0100 Subject: [PATCH] test-vm: Resize terminal to host terminal size --- hosts/test-vm/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/test-vm/configuration.nix b/hosts/test-vm/configuration.nix index 90dc570..f28867c 100644 --- a/hosts/test-vm/configuration.nix +++ b/hosts/test-vm/configuration.nix @@ -31,6 +31,11 @@ }; }; + # Resize terminal to host terminal size + environment.loginShellInit = '' + ${pkgs.xterm}/bin/resize + ''; + environment.interactiveShellInit = '' alias sd='sudo shutdown now' '';