feat: update flake.lock, add eye-protection.nix

This commit is contained in:
Ryan Yin
2023-12-16 22:15:09 +08:00
parent ab5a68ce9d
commit 20b6aa07af
12 changed files with 130 additions and 61 deletions
+7 -1
View File
@@ -33,12 +33,18 @@ upp:
history:
nix profile history --profile /nix/var/nix/profiles/system
repl:
nix repl -f flake:nixpkgs
eye:
systemctl --user start gammastep.service
gc:
# remove all generations older than 7 days
sudo nix profile wipe-history --profile /nix/var/nix/profiles/system --older-than 7d
# garbage collect all unused nix store entries
sudo nix store gc --debug
# sudo nix store gc --debug
############################################################################
#