!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

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

You have reached the beginning of time (for this room).


SenderMessageTime
12 Aug 2025
@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 @fosdem changed their display name from matthewcroughan @ WHY2025 (DECT: 8793) to matthewcroughan.17:10:22

Show newer messages


Back to Room ListRoom Version: 10