!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

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

Load older messages


SenderMessageTime
12 Aug 2025
@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
@c4lliope:matrix.orgc4lliopeseems like I can make do based on: https://nixos.org/guides/nix-pills/11-garbage-collector.html01:54:32
@iridiscencia:arcticfoxes.net@iridiscencia:arcticfoxes.net left the room.01:54:47
@c4lliope:matrix.orgc4lliope
➜ disc size /
╭───┬──────┬───────────┬──────────┬───────────┬───────────╮
│ # │ bind │   label   │   used   │   open    │   size    │
├───┼──────┼───────────┼──────────┼───────────┼───────────┤
│ 0 │ /    │ /dev/dm-0 │ 53.5 GiB │ 169.6 GiB │ 235.1 GiB │
╰───┴──────┴───────────┴──────────┴───────────┴───────────╯
02:02:59
@c4lliope:matrix.orgc4lliopehuzzah praise be.02:03:34
@c4lliope:matrix.orgc4lliopenow to load up on https://microvm-nix.github.io/microvm.nix images02:04:24
@josh:joshuayuen.meJosh joined the room.16:09:48
@jean-paul.:matrix.orgjean-paul. joined the room.19:04:13
@jean-paul.:matrix.orgjean-paul.

How do I convince nix to use a GitHub token for downloading stuff from GitHub? I keep getting rate limited on CI. I already have access-tokens = github.com=... in ~/.config/nix/nix.conf which seems like it should be enough but clearly isn't.

How do I even tell whether it's trying to use a token for authentication or not?

19:04:50
@jean-paul.:matrix.orgjean-paul. The only thing I can figure out is to put the credentials in /etc/nix/netrc. No variation of access-tokens works as far as I can tell. 20:01:27
@scrumplex:duckhub.ioScrumplex

netrc is going to be your best bet really as its widely supported by a lot of tools, not just curl.

Something along the lines of

machine github.com
login your_username
password ghp_...

machine api.github.com
login your_username
password ghp_...
20:42:13
@scrumplex:duckhub.ioScrumplex I am pretty sure access-tokens in nix.conf only affects the builtin fetchers primarly used by the flake subsystem 20:43:43
@jean-paul.:matrix.orgjean-paul.It'd be nice if that were actually documented. The nix.conf docs really make it sound like it's for anything.20:59:37
13 Aug 2025
@jean-paul.:matrix.orgjean-paul.

Cool, 9% of the time:

/etc/nix/netrc" (line 2, column 9):
unexpected 'a'
expecting comment, "machine", "default", "macdef" or end of input
Exited with code exit status 1
11:29:15
@adam:robins.wtf@adam:robins.wtf joined the room.14:37:12
@adam:robins.wtf@adam:robins.wtfLast message 19-Mar 😆14:38:16
@hlad:hlad.org@hlad:hlad.org left the room.16:08:00
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan @ WHY2025 (DECT: 8793) to matthewcroughan.17:10:22
14 Aug 2025
@adam:robins.wtf@adam:robins.wtfAhh my message was clearly wrong. Thanks matrix for backfilling all the mod events instantly and then doing the chat events later12:16:59
@adam:robins.wtf@adam:robins.wtfhttps://blog.nginx.org/blog/native-support-for-acme-protocol12:51:12
@adam:robins.wtf@adam:robins.wtfi'm not a big nginx user, and think our acme implementation is good enough, but could be interesting to some12:52:56
@magic_rb:matrix.redalder.orgmagic_rbThats exciting, brings it closer to caddy, caddy is still a bit slower than nginx i think13:36:07

Show newer messages


Back to Room ListRoom Version: 10