Home Manager module for pruning old node_modules folders
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add finegrained timing settings for different folders #1

open opened by matthew-hre.com

more of a nice-to-have than a need-to-have... would be nice to set different settings for different targets / roots. for example, prune my targets dirs weekly, but only touch node_modules monthly, etc

not sure how this would even be structured... rough idea is:

rules = [
  {
    roots = [ "$HOME/Projects" ];
    target = "node_modules";
    frequency = "monthly";
  }
  {
    roots = [ "$HOME/university" ];
    target = "node_modules";
    frequency = "weekly";
  }
  {
    roots = [ "$HOME" ];
    target = ".cache";
    frequency = "weekly";
  }
];

not sure how this would play with the existing config...

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:jb2t76xy3xkgzeddixkzvntp/sh.tangled.repo.issue/3ml2xyqbhbn22