| 12 Aug 2025 |
hexa | the default is 100 | 00:59:20 |
c4lliope | I need a method of exploring the closures to see why | 00:59:22 |
hexa | nix why-depends | 00:59:47 |
hexa | or nix-tree | 01:00:12 |
c4lliope | Yeah! And I get the idea behind the configLimit but with nix-collect-garbage --old, there is only one configuration at all. | 01:00:27 |
hexa | ok, so your system closures are generally anchored by gcroots | 01:01:07 |
hexa | they are in /nix/var/nix/gcroots | 01:01:18 |
hexa | well, not only your system closures | 01:01:32 |
hexa | also result-symlinks that are still floating around | 01:01:53 |
c4lliope | oh dang there are so many gcroots. so damn many | 01:03:03 |
c4lliope | I'm on generation 1000+ so I should have learned this ages ago, thank you!
I can already see the difference, should plug in before the fan takes off. | 01:06:57 |
hexa | haha, enjoy | 01:08:15 |
hexa | 2005 here 😄 | 01:08:38 |
c4lliope | eh, configurationLimit=8 helped some but not too much. still a few libreoffices hanging around. I'll run through nix-tree, thanks for the quick help! | 01:12:05 |
c4lliope | ahhhhhhh libreoffice does not appear at all in sudo nix-tree. | 01:16:10 |
c4lliope | nor cef. | 01:16:28 |
hexa | nix-tree by default loads the current system closure | 01:17:36 |
c4lliope | I see... fan intensifies | 01:20:54 |
c4lliope | oh dang, I realize my current profile is 17 GB and my store is 186 GB | 01:22:49 |
c4lliope | I really assumed the gc would handle this. More to learn, yay. | 01:23:14 |
c4lliope | I've always been fascinated by these mechanisms so this is amazing. | 01:23:49 |
c4lliope | oh it's all dev shells:
➜ | ls /tmp/nix-
/tmp/nix-104175-0/ /tmp/nix-104180-0/ /tmp/nix-1512-0/ /tmp/nix-1521-0/
/tmp/nix-19751-0/ /tmp/nix-19756-0/ /tmp/nix-201408-0/ /tmp/nix-201413-0/
/tmp/nix-207111-0/ /tmp/nix-207119-0/ /tmp/nix-211432-0/ /tmp/nix-211437-0/
/tmp/nix-22878-0/ /tmp/nix-22883-0/ /tmp/nix-231193-0/ /tmp/nix-231198-0/
/tmp/nix-71082-0/ /tmp/nix-71107-0/ /tmp/nix-develop-101590-0/ /tmp/nix-develop-102057-0/
/tmp/nix-develop-102406-0/ /tmp/nix-develop-105737-0/ /tmp/nix-develop-106395-0/ /tmp/nix-develop-106774-0/
/tmp/nix-develop-10686-0/ /tmp/nix-develop-107029-0/ /tmp/nix-develop-10716-0/ /tmp/nix-develop-107259-0/
/tmp/nix-develop-107805-0/ /tmp/nix-develop-108268-0/ /tmp/nix-develop-108496-0/ /tmp/nix-develop-108521-0/
/tmp/nix-develop-108842-0/ /tmp/nix-develop-10900-0/ /tmp/nix-develop-109019-0/ /tmp/nix-develop-109291-0/
/tmp/nix-develop-109889-0/ /tmp/nix-develop-110375-0/ /tmp/nix-develop-11091-0/ /tmp/nix-develop-112557-0/
/tmp/nix-develop-11348-0/ /tmp/nix-develop-11434-0/ /tmp/nix-develop-114543-0/ /tmp/nix-develop-11457-0/
/tmp/nix-develop-11498-0/ /tmp/nix-develop-11549-0/ /tmp/nix-develop-11557-0/ /tmp/nix-develop-11564-0/
/tmp/nix-develop-117147-0/ /tmp/nix-develop-11717-0/ /tmp/nix-develop-11835-0/ /tmp/nix-develop-11876-0/
/tmp/nix-develop-120400-0/ /tmp/nix-develop-12069-0/ /tmp/nix-develop-120930-0/ /tmp/nix-develop-121094-0/
/tmp/nix-develop-12173-0/ /tmp/nix-develop-121744-0/ /tmp/nix-develop-121888-0/ /tmp/nix-develop-122456-0/
/tmp/nix-develop-12269-0/ /tmp/nix-develop-122763-0/ /tmp/nix-develop-123602-0/ /tmp/nix-develop-12544-0/
/tmp/nix-develop-125805-0/ /tmp/nix-develop-12676-0/ /tmp/nix-develop-127242-0/ /tmp/nix-develop-127499-0/
/tmp/nix-develop-12767-0/ /tmp/nix-develop-127811-0/ /tmp/nix-develop-128142-0/ /tmp/nix-develop-129319-0/
| 01:34:12 |
hexa | persistent tmp? 😲 | 01:36:15 |
c4lliope | uh no... there are 1664 tmp folders and the oldest is 2025-07-20 I prefix nearly all my commands with nd, nix develop | 01:40:16 |
hexa | https://github.com/NixOS/nix/issues/5207 | 01:41:13 |
hexa | lix has this fixed | 01:41:23 |
hexa | apparently nix 2.30.0 tries to keep deleting | 01:42:20 |
c4lliope | dude you're a real paladin here, I feel like a wolf-child stumbling into civilization. | 01:42:22 |
c4lliope | boot.tmp.cleanOnBoot = true; - see ya on the other side. | 01:46:09 |
c4lliope | sure, the tmp files are cleaned up, no real difference. I did find a reference in a random gcroot to libreoffice - of the hundreds of gcroots here, how do I responsibly erase a bunch? | 01:52:18 |