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