feat(zsh): switch to nh clean in shell aliases

This commit is contained in:
etwas 2024-12-19 14:28:39 +01:00
parent 231dab358f
commit 5fbefa9a74
Signed by: etwas
SSH key fingerprint: SHA256:bHhIeAdn/2k9jmOs6+u6ox98VYmoHUN3HfnpV2w8Ws0

View file

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