!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

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

Load older messages


SenderMessageTime
5 Aug 2025
@berrij:fairydust.spaceBerriJ joined the room.08:24:01
@axelkar:matrix.orgAxel Karjalainen joined the room.18:44:49
@kfiz:matrix.sopado.dekfiz set a profile picture.20:14:27
6 Aug 2025
@vidariondr:matrix.orgvidariondr set a profile picture.18:30:50
7 Aug 2025
@jyap:matrix.org@jyap:matrix.org left the room.01:21:00
@sbc64:matrix.org@sbc64:matrix.org left the room.09:58:11
@bun:nixfox.caCherrybun 🍒 (they/them) changed their profile picture.23:33:57
8 Aug 2025
@0x4a6f:nixos.dev0x4A6F joined the room.06:31:46
9 Aug 2025
@seapat:matrix.org@seapat:matrix.org set a profile picture.14:23:59
10 Aug 2025
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan to matthewcroughan @ WHY2025 (DECT: 8793).11:27:46
11 Aug 2025
@bun:nixfox.caCherrybun 🍒 (they/them) changed their profile picture.01:14:59
12 Aug 2025
@c4lliope:matrix.orgc4lliope

hi, I could really use help on a nix machine where I have many old packages in the store - mainly multiple copies of libreoffice and cef, which I haven't used in months. I run nix-collect-garbage a bunch and I finally ran dust on the root to see where the problem is:

1.3G   │       ┌── libreoffice                                      │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │     ┌─┴ lib                                                │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │   ┌─┴ 24k8smf6i1fiq7x5zp1qkqhm4zy5kidh-libreoffice-7.6.7.2 │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │   │   ┌── libreoffice                                      │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │   │ ┌─┴ lib                                                │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │   ├─┴ 8c43345jxrqkn74h3cqaiiakx5p2031w-libreoffice-7.6.7.2 │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │   │   ┌── libreoffice                                      │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │   │ ┌─┴ lib                                                │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │   ├─┴ yxz4jmv9yn4qvmxg9za0jjymcpj3ngab-libreoffice-7.6.7.2 │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.2G   │   │ ┌── lib                                                │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │   ├─┴ lasyr763kngl0njvcvzxcz1lylxkic4j-cef-binary-121.3.13 │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.2G   │   │ ┌── lib                                                │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │   ├─┴ rm4lpai2xd1d35lbsvx3drvsp0g95n5j-cef-binary-121.3.13 │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.2G   │   │ ┌── lib                                                │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │   ├─┴ dzsff307h34si4d6fxxnzrwj9rzbycjh-cef-binary-121.3.13 │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.2G   │   │ ┌── lib                                                │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │   ├─┴ ic7wgx3fk2hsv111scp03pgfv6d8fm8r-cef-binary-121.3.13 │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.2G   │   │ ┌── lib                                                │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │   ├─┴ gfvf13zm42ihkg772bphpydgk2slwqb1-cef-binary-121.3.13 │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.2G   │   │ ┌── lib                                                │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │   ├─┴ gba4zl0igykjxfdrrk2klffbmblswkvj-cef-binary-121.3.13 │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.4G   │   │   ┌── libreoffice                                      │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.4G   │   │ ┌─┴ lib                                                │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.4G   │   ├─┴ ap25q0f690fpmhgg957w0pwcb6k0m278-libreoffice-24.2.7.2│█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.4G   │   │   ┌── libreoffice                                      │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.4G   │   │ ┌─┴ lib                                                │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.4G   │   ├─┴ yhmw5ffiz531z04sachzbhysjljcscya-libreoffice-24.2.7.2│█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.4G   │   │   ┌── libreoffice                                      │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.4G   │   │ ┌─┴ lib                                                │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.4G   │   ├─┴ xlfxk2fpiz174g6a0iqcfkxi0yc8s0zn-libreoffice-24.2.7.2│█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │   │   ┌── libcef.so                                        │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.3G   │   │ ┌─┴ Release                                            │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.4G   │   ├─┴ aq25mfhik3jbq8l0vf8l812jig5ym1r6-cef-binary-127.3.5  │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.4G   │   │   ┌── libreoffice                                      │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.4G   │   │ ┌─┴ lib                                                │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
1.4G   │   ├─┴ kfln3cfd26rgszjycrzs3nddxdlins3z-libreoffice-24.8.7.2│█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │   1%
181G   │ ┌─┴ store                                                  │██████████████████████     │  84%
181G   ├─┴ nix                                                      │██████████████████████     │  84%
215G ┌─┴ /                                                          │██████████████████████████ │ 100%

Is there any reason these would not be cleaned up by garbage collection? I really need to rebuild this machine because my store partition is far too small to handle this. Hope there is a reason or method to learn about the cache invalidation rules here.

00:57:09
@c4lliope:matrix.orgc4lliope*I'm sure libreoffice is unused, unsure if something depends on cef.00:58:51
@hexa:lossy.networkhexaactive system closures that reference it00:58:52
@hexa:lossy.networkhexaset configurationLimit for your bootloader00:59:00
@c4lliope:matrix.orgc4lliopeuh.00:59:13
@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

Show newer messages


Back to Room ListRoom Version: 10