1
0
forked from extern/nix-config

fish: Add abbreviation for nixos-rebuild switch

This commit is contained in:
Donovan Glover 2023-06-06 10:33:51 -04:00
parent f6ef515f80
commit a326873c6a
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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";