feat: add rebuild alias using $HOSTNAME
This commit is contained in:
@@ -17,6 +17,9 @@
|
|||||||
programs.bash = {
|
programs.bash = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
|
shellAliases = {
|
||||||
|
rebuild = "cd /etc/nixos && sudo git pull && sudo nixos-rebuild switch --flake .#$(hostname)";
|
||||||
|
};
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
EDITOR = "vim";
|
EDITOR = "vim";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user