From f6ef515f8061b9d0b987ba08af6a7d055858602b Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 6 Jun 2023 10:32:31 -0400 Subject: [PATCH] fish: Add abbreviation for nixos-rebuild build-vm --- modules/fish-starship/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/fish-starship/default.nix b/modules/fish-starship/default.nix index 6d96832e..5a36d2c3 100644 --- a/modules/fish-starship/default.nix +++ b/modules/fish-starship/default.nix @@ -58,6 +58,7 @@ jis = "recode shift_jis..utf8"; # Easily convert shift_jis-encoded files to utf8 utf16 = "recode utf16..utf8"; # Rarely, some files from Japan are utf16 instead jp = "LANG=ja_JP.UTF-8 LC_ALL=ja_JP.UTF-8"; + vm = "cd ~/nix-config && nixos-rebuild build-vm --flake . && ./result/bin/run-nixos-vm && trash put result nixos.qcow2"; c = "tput reset"; # Clear the terminal completely e = "exit";