feat(zsh): switch to nh clean in shell aliases
This commit is contained in:
parent
231dab358f
commit
5fbefa9a74
1 changed files with 2 additions and 2 deletions
|
|
@ -7,8 +7,8 @@
|
||||||
|
|
||||||
autocd = true;
|
autocd = true;
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
os-update = "sudo nix-env -p /nix/var/nix/profiles/system --delete-generations +15 && nh os switch /home/rhea/nix-config/";
|
os-update = "nh clean all -K 7d --keep 14 && nh os switch /home/rhea/nix-config/";
|
||||||
os-upgrade = "cd ~/nix-config && sudo nix-env -p /nix/var/nix/profiles/system --delete-generations +15 && nix flake update && nh os switch /home/rhea/nix-config/";
|
os-upgrade = "cd ~/nix-config && nh clean all -K 7d --keep 14 && nix flake update && nh os switch /home/rhea/nix-config/";
|
||||||
light-off = "echo -n \"{\\\"id\\\":1,\\\"method\\\":\\\"setState\\\",\\\"params\\\":{\\\"state\\\":false}}\" | nc -u -w 1 192.168.178.28 38899";
|
light-off = "echo -n \"{\\\"id\\\":1,\\\"method\\\":\\\"setState\\\",\\\"params\\\":{\\\"state\\\":false}}\" | nc -u -w 1 192.168.178.28 38899";
|
||||||
clr = "clear";
|
clr = "clear";
|
||||||
power-saver = "powerprofilesctl set power-saver";
|
power-saver = "powerprofilesctl set power-saver";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue