From fd31675cac9581696e16df960109be01f8b5225a Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sat, 9 Nov 2024 10:39:28 +0100 Subject: [PATCH] test-vm: Add alias of shutting down the VM --- hosts/test-vm/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/test-vm/configuration.nix b/hosts/test-vm/configuration.nix index 2ff717f..90dc570 100644 --- a/hosts/test-vm/configuration.nix +++ b/hosts/test-vm/configuration.nix @@ -31,6 +31,10 @@ }; }; + environment.interactiveShellInit = '' + alias sd='sudo shutdown now' + ''; + environment.systemPackages = [ ]; system.stateVersion = "24.05";