00:22
jtojnar has joined #nix-darwin
00:34
ryanartecona has quit [Quit: ryanartecona]
01:56
jtojnar has quit [Ping timeout: 246 seconds]
01:59
jtojnar has joined #nix-darwin
02:56
jtojnar has quit [Quit: jtojnar]
02:57
jtojnar has joined #nix-darwin
03:32
Lisanna has joined #nix-darwin
04:19
Lisanna has quit [Quit: Lisanna]
04:24
ryanartecona has joined #nix-darwin
04:28
ryanartecona has quit [Ping timeout: 240 seconds]
04:30
philr has quit [Ping timeout: 264 seconds]
04:32
disasm has quit [Quit: WeeChat 2.0]
05:15
disasm has joined #nix-darwin
05:17
disasm has quit [Client Quit]
05:19
disasm has joined #nix-darwin
05:19
disasm has quit [Client Quit]
05:19
disasm has joined #nix-darwin
05:19
disasm has quit [Client Quit]
05:20
disasm has joined #nix-darwin
05:29
<
johnw >
hmm.. lots of stuff not building with GHC 8.4; I guess that's to be expected for a month or so
05:37
zzamboni has joined #nix-darwin
05:55
zzamboni has quit [Quit: Leaving.]
07:12
zzamboni has joined #nix-darwin
07:26
jtojnar has quit [Quit: jtojnar]
07:27
jtojnar has joined #nix-darwin
07:48
philr has joined #nix-darwin
08:01
philr has quit [Quit: WeeChat 2.0.1]
08:35
jtojnar has quit [Quit: jtojnar]
09:11
<
elasticdog >
is there a process to fix the signed binary caches error: `warning: unknown setting 'signed-binary-caches'` after upgrading to 2.0? I've already restarted my launchctl for the nix-daemon
09:12
<
elasticdog >
...and /etc/nix/nix.conf seems to have to new settings in place
09:18
__Sander__ has joined #nix-darwin
09:47
<
sphalerite >
elasticdog: remove the signed-binary-caches setting. That is all :)
09:49
<
elasticdog >
sphalerite: so nix on darwin should purposefully ignore the signing?
09:49
<
sphalerite >
no, it's just that the signed-binary-caches setting was replaced with the require-sigs setting
09:52
<
elasticdog >
sphalerite: ahh, gotcha. thank you
09:57
dustinm- has quit [Write error: Connection reset by peer]
10:00
dustinm has joined #nix-darwin
10:11
zzamboni has quit [Quit: Leaving.]
11:00
zzamboni has joined #nix-darwin
11:05
zzamboni has quit [Ping timeout: 260 seconds]
11:06
zzamboni has joined #nix-darwin
11:12
disasm has quit [Quit: WeeChat 2.0]
12:14
disasm has joined #nix-darwin
12:19
Peng_156 has joined #nix-darwin
12:19
Peng_156 has quit [Remote host closed the connection]
13:01
periklis has joined #nix-darwin
15:02
zzamboni has quit [Quit: Leaving.]
15:03
zzamboni has joined #nix-darwin
15:08
periklis has quit [Ping timeout: 256 seconds]
15:20
ryanartecona has joined #nix-darwin
15:52
jtojnar has joined #nix-darwin
15:54
zzamboni has quit [Quit: Leaving.]
15:55
scode_ has joined #nix-darwin
15:55
gaqzi_ has joined #nix-darwin
15:56
dmj`_ has joined #nix-darwin
15:56
_rvl_ has joined #nix-darwin
15:57
ben has joined #nix-darwin
15:58
zzamboni has joined #nix-darwin
15:58
zzamboni has quit [Client Quit]
16:00
philr has joined #nix-darwin
16:02
LangeOortjes has joined #nix-darwin
16:03
ben______ has quit [*.net *.split]
16:03
gaqzi has quit [*.net *.split]
16:03
dmj` has quit [*.net *.split]
16:03
scode has quit [*.net *.split]
16:03
LangeO_ortjes has quit [*.net *.split]
16:03
_rvl has quit [*.net *.split]
16:03
cransom has quit [*.net *.split]
16:03
gaqzi_ is now known as gaqzi
16:03
scode_ is now known as scode
16:03
dmj`_ is now known as dmj`
16:09
cransom has joined #nix-darwin
16:26
ryanartecona has quit [Quit: ryanartecona]
16:32
ryanartecona has joined #nix-darwin
16:53
ryanartecona has quit [Quit: ryanartecona]
16:58
Sonarpulse has joined #nix-darwin
17:29
philr has quit [Ping timeout: 260 seconds]
17:42
__Sander__ has quit [Quit: Konversation terminated!]
17:52
contrapumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:14
contrapumpkin has joined #nix-darwin
18:16
zzamboni has joined #nix-darwin
18:29
zzamboni has quit [Quit: Leaving.]
18:31
zzamboni has joined #nix-darwin
19:02
zzamboni has quit [Quit: Leaving.]
19:14
zzamboni has joined #nix-darwin
19:24
<
gchristensen >
LnL: 'round?
19:25
<
gchristensen >
I'm about to move a hydra builder over to nix-darwin and would like you to be around just in case :P
19:26
zzamboni has quit [Quit: Leaving.]
19:28
<
gchristensen >
are you around for a while?
19:29
<
LnL >
yeah, a bit tired but I'm here :)
19:30
<
gchristensen >
cool... well hopefully I won't need much help!
19:32
<
LnL >
take a look at the hydra example, that should have everything you want
19:35
<
gchristensen >
oof that might be a bigger change than I'm prepared for in the last hours of a friday afternoon
19:36
<
LnL >
ah, well you could just start with an empty config that only manages nix/nix-daemon
19:37
<
gchristensen >
LnL: can you take a look at a script and estimate what it'd take to teach its skills to darwin-rebuild?
19:39
<
gchristensen >
basically, instantiate the darwin configs locally, copy-closure remotely for building and then activate remotely
19:39
<
LnL >
that's pretty easy
19:39
<
gchristensen >
it would make management of these darwin boxes much much nicer
19:46
<
LnL >
however, I think some of the sanity checks might complain
19:47
<
gchristensen >
how do I use launchctl kickstart?
19:47
<
gchristensen >
nixos-mac1:~ root# launchctl kickstart -kp org.nixos.nix-daemon
19:47
<
gchristensen >
Usage: launchctl kickstart [-k] [-p] <service-target>
19:47
<
LnL >
launchctl kickstart -k system/org.nixos.nix-daemon
19:47
<
LnL >
the service target stuff is a bit weird
19:50
<
gchristensen >
yeah :|
19:51
<
LnL >
for a user service it's gui/$UID/org.example.foo
19:54
zzamboni has joined #nix-darwin
19:56
<
gchristensen >
LnL: I can drop these right? I don't need to specify the default ones?
19:56
<
gchristensen >
nix.binaryCachePublicKeys = [ "cache.daiderd.com-1:R8KOWZ8lDaLojqD+v9dzXAqGn29gEzPTTbr/GIpCTrI=" ];
19:57
<
gchristensen >
nix.trustedUsers = [ "@admin" "@hydra" ]; <- is this necessary?
19:57
<
gchristensen >
I'm gonig to ask you about almost all of this file, aren't I X|
19:57
<
LnL >
whatever user hydra uses needs to be trusted
19:58
<
LnL >
what's it currently using?
20:00
<
gchristensen >
a good question :)
20:06
<
gchristensen >
yeah
20:06
<
LnL >
then you don't need trutedUsers or any of the hydra user related options
20:09
<
gchristensen >
LnL: I can safely delete all this?
20:09
<
gchristensen >
nix.trustedUsers = [ "@admin" "@hydra" ];
20:09
<
gchristensen >
nix.extraOptions = ''
20:09
<
gchristensen >
pre-build-hook =
20:09
<
LnL >
the pre-build-hook was only necessary for 1.11
20:10
<
LnL >
there was an issue where it would segfault with build-remote
20:12
<
gchristensen >
LnL: "command=\"${environment} ${config.nix.package}/bin/nix-store --serve --write\" ssh-rsa is your hydra configured to SSH with those environment variables, or will ssh see the env vars and force-set them?
20:14
<
LnL >
openssh will set those because of command=
20:15
<
gchristensen >
can you review my config? :)
20:15
<
LnL >
not sure if that's actually neccecary
20:16
<
gchristensen >
I'm feeling wary of breaking Hydra Dot NixOS Dot Org at 9pm local time on a Friday :P
20:41
<
gchristensen >
LnL: error: path ‘/nix/store/b9vj12vq8l4w5mdm2d89w9m8vaj14cw9-system-path.drv’ is not valid
20:42
<
gchristensen >
I'm getting that from cat closure | gzip -d | /nix/var/nix/profiles/default/bin/nix-store --import
20:42
<
gchristensen >
which was created by nix-store --export "$drv" | gzip -c
20:43
<
LnL >
ah, signatures
20:43
<
gchristensen >
I'm root though
20:43
<
LnL >
--option require-sigs false
20:45
<
gchristensen >
warning: unknown setting 'require-sigs'
20:45
<
gchristensen >
oops
20:45
<
LnL >
is the daemon still running 1.11?
20:46
<
gchristensen >
yeah, I forgot I haven't updated this box to 2.0 yet :P
20:46
<
gchristensen >
sorry
20:46
zzamboni has quit [Quit: Leaving.]
20:47
<
LnL >
yeah, the option is named a bit differently then
20:48
<
gchristensen >
do you remember the name?
20:49
<
LnL >
signed-binary-caches = *
20:49
<
LnL >
so maybe making it empty disables that?
20:51
<
sphalerite >
I think so
20:52
<
gchristensen >
ehh nothing is working ...
20:52
<
gchristensen >
need to step away for a bit then I'll take another look
20:53
<
LnL >
hrm, allowSubstitutes = false; doesn't have any impact on import/export right?
20:58
ryanartecona has joined #nix-darwin
21:01
<
gchristensen >
no idea :)
21:07
<
gchristensen >
ehhh
21:08
<
gchristensen >
I might take the scp-the-repo approach for now
21:09
zzamboni has joined #nix-darwin
21:25
<
gchristensen >
LnL: ln: failed to create symbolic link '/run/current-system': No such file or directory
21:27
<
LnL >
ah right, the installer creates that
21:30
<
LnL >
the /run symlink that is
21:32
zzamboni has quit [Quit: Leaving.]
21:46
Lisanna has joined #nix-darwin
21:49
<
LnL >
gchristensen: could you open an issue about deployment with some stuff you ran into?
21:57
<
gchristensen >
LnL: is there a way to see more sshd logs?
21:57
<
gchristensen >
system.log isn't very heelpful
22:02
<
LnL >
hmm, log stream --level=trace
22:07
henrytill has quit [*.net *.split]
22:07
henrytill has joined #nix-darwin
23:46
philr has joined #nix-darwin