From a326873c6a9577c6f71d5789bd2d24b5f6bcfd0c Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 6 Jun 2023 10:33:51 -0400 Subject: [PATCH] fish: Add abbreviation for nixos-rebuild switch --- 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 5a36d2c..647b763 100644 --- a/modules/fish-starship/default.nix +++ b/modules/fish-starship/default.nix @@ -59,6 +59,7 @@ 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"; + sw = "cd ~/nix-config && sudo nixos-rebuild switch --flake ."; c = "tput reset"; # Clear the terminal completely e = "exit";