Changed and added system aliased

This commit is contained in:
William 2024-03-24 08:30:13 -03:00
parent 7632f5516f
commit 996d9c545b

View file

@ -39,12 +39,14 @@
fish = { fish = {
functions = { functions = {
rebuild = sysrebuild =
"sudo nixos-rebuild switch --flake '/home/user/Projects/personal/nix-config#'"; "sudo nixos-rebuild switch --flake '/home/user/Projects/personal/nix-config#'";
rebuild-boot = sysrebuild-boot =
"sudo nixos-rebuild boot --flake '/home/user/Projects/personal/nix-config#'"; "sudo nixos-rebuild boot --flake '/home/user/Projects/personal/nix-config#'";
update = sysupdate =
"nix flake update --commit-lock-file /home/user/Projects/personal/nix-config"; "nix flake update --commit-lock-file /home/user/Projects/personal/nix-config";
syscleanup =
"sudo nix-collect-garbage -d; sudo nix store optimise; sudo /run/current-system/bin/switch-to-configuration boot";
code = '' code = ''
wezterm cli split-pane --top --percent=75 -- hx wezterm cli split-pane --top --percent=75 -- hx
wezterm cli activate-pane-direction up wezterm cli activate-pane-direction up