Changed and added system aliased
This commit is contained in:
parent
7632f5516f
commit
996d9c545b
1 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue