!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

531 Members
About system administration for running NixOS systems in production. Declaratively manage your operations. | Room recommendations: #networking:nixos.org138 Servers

Load older messages


SenderMessageTime
12 Aug 2025
@hexa:lossy.networkhexathe default is 10000:59:20
@c4lliope:matrix.orgc4lliopeI need a method of exploring the closures to see why00:59:22
@hexa:lossy.networkhexanix why-depends00:59:47
@hexa:lossy.networkhexaor nix-tree01:00:12
@c4lliope:matrix.orgc4lliope 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:lossy.networkhexaok, so your system closures are generally anchored by gcroots01:01:07
@hexa:lossy.networkhexathey are in /nix/var/nix/gcroots01:01:18
@hexa:lossy.networkhexawell, not only your system closures01:01:32
@hexa:lossy.networkhexaalso result-symlinks that are still floating around01:01:53
@c4lliope:matrix.orgc4lliopeoh dang there are so many gcroots. so damn many01:03:03
@c4lliope:matrix.orgc4lliopeI'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:lossy.networkhexahaha, enjoy01:08:15
@hexa:lossy.networkhexa2005 here 😄 01:08:38
@c4lliope:matrix.orgc4lliopeeh, 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:matrix.orgc4lliope ahhhhhhh
libreoffice does not appear at all in sudo nix-tree.
01:16:10
@c4lliope:matrix.orgc4lliope nor cef. 01:16:28
@hexa:lossy.networkhexanix-tree by default loads the current system closure01:17:36
@c4lliope:matrix.orgc4lliope I see... fan intensifies 01:20:54
@c4lliope:matrix.orgc4lliopeoh dang, I realize my current profile is 17 GB and my store is 186 GB01:22:49
@c4lliope:matrix.orgc4lliopeI really assumed the gc would handle this. More to learn, yay.01:23:14
@c4lliope:matrix.orgc4lliopeI've always been fascinated by these mechanisms so this is amazing.01:23:49
@c4lliope:matrix.orgc4lliope

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:lossy.networkhexapersistent tmp? 😲 01:36:15
@c4lliope:matrix.orgc4lliope 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:lossy.networkhexahttps://github.com/NixOS/nix/issues/520701:41:13
@hexa:lossy.networkhexalix has this fixed01:41:23
@hexa:lossy.networkhexaapparently nix 2.30.0 tries to keep deleting01:42:20
@c4lliope:matrix.orgc4lliopedude you're a real paladin here, I feel like a wolf-child stumbling into civilization.01:42:22
@c4lliope:matrix.orgc4lliope boot.tmp.cleanOnBoot = true; - see ya on the other side. 01:46:09
@c4lliope:matrix.orgc4lliope 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

Show newer messages


Back to Room ListRoom Version: 10