1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

packages: remove attic and add home-manager

This commit is contained in:
Ryan Cao 2023-11-13 19:55:46 +08:00
parent f13c9e18a6
commit 6e3d8b2a9f
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
5 changed files with 28 additions and 92 deletions

View file

@ -1,6 +1,6 @@
switch:
darwin-rebuild switch --flake . --verbose --show-trace
delete-old:
sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations old && nix run home-manager#home-manager -- expire-generations now
sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations old && home-manager expire-generations now
gc:
nix store gc