mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-03 15:41:02 +01:00
home-environment: add link for current profile
This link is needed to make the `delete-older-than` option for `nix-collect-garbage` work as expected.
This commit is contained in:
parent
119c7b2538
commit
6794efdf68
2 changed files with 3 additions and 0 deletions
|
|
@ -276,6 +276,7 @@ in
|
|||
|
||||
if [[ "$oldGenPath" != "$newGenPath" ]] ; then
|
||||
$DRY_RUN_CMD ln -Tsf $VERBOSE_ARG "$newGenPath" "$newGenProfilePath"
|
||||
$DRY_RUN_CMD ln -Tsf $VERBOSE_ARG "$newGenProfilePath" "$genProfilePath"
|
||||
$DRY_RUN_CMD ln -Tsf $VERBOSE_ARG "$newGenPath" "$newGenGcPath"
|
||||
linkNewGen
|
||||
cleanOldGen
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue