feat(zsh): add Allow Unfree as env var to rebuild things

This commit is contained in:
etwas 2024-12-29 17:23:37 +01:00
parent 7b6ab3bc4d
commit aca6382e03
Signed by: etwas
SSH key fingerprint: SHA256:bHhIeAdn/2k9jmOs6+u6ox98VYmoHUN3HfnpV2w8Ws0

View file

@ -7,8 +7,8 @@
autocd = true;
shellAliases = {
os-update = "nh clean all -K 7d --keep 14 && 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/";
os-update = "nh clean all -K 7d --keep 14 && export NIXPKGS_ALLOW_UNFREE=1 && nh os switch /home/rhea/nix-config/";
os-upgrade = "cd ~/nix-config && nh clean all -K 7d --keep 14 && export NIXPKGS_ALLOW_UNFREE=1 && 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";
clr = "clear";
power-saver = "powerprofilesctl set power-saver";