sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<clever> pie_: it will prefer the version from your package set over the parent one
<clever> i believe newScope is implemented via `callPackageWith ( self.nixpkgs // self )`
<clever> and it just blindly searches the set created by //
<clever> and it prefers the right side
mexisme has quit [Ping timeout: 245 seconds]
shachaf has left #nixos [#nixos]
<{^_^}> [nixpkgs] @solson opened pull request #63878 → plex-media-player: 2.23.0 -> 2.36.0 → https://git.io/fjocx
<pie_> yeah i mean, how would you refer to the original stuff
akapav has quit [Quit: ZNC 1.7.2 - https://znc.in]
<clever> pie_: haskellPackages does self.callPackage ./foo { bar = pkgs.bar; };
<pie_> makes sense i guess
ddellacosta has joined #nixos
mexisme has joined #nixos
v88m has quit [Ping timeout: 268 seconds]
<jackdk> super.bar, I think, if you want whatever's come out from the previous overlay. pkgs.bar will reach outside the overlay completely?
<clever> jackdk: but super.bar is the haskell package bar, while pkgs.bar is the nixpkgs bar
<clever> nixpkgs and hackage have name collisions
<jackdk> oh yeah that's a bit annoying. The codex repo has that, and stood up one giant nixpkgs overlay with self: super: and then a few haskellPackages overlays inside it with hself: hsuper:
vikanezrimaya has quit [Ping timeout: 252 seconds]
ris has quit [Ping timeout: 260 seconds]
<clacke_movim> clever: Oh good, that's what I did in racket2nix as well. Glad to see I'm following some mnner of practice.
v88m has joined #nixos
adamantium has joined #nixos
<clacke_movim> racket packages are a scope where pkgs refers to nixpkgs
kvda has joined #nixos
o1lo01ol1o has joined #nixos
hio has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
akapav has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjoCY
freeman42x has quit [Quit: Leaving]
jluttine has quit [Ping timeout: 252 seconds]
<pie_> clever,in hindsight i didnt actually think about what you said. i should get some sleep. so thats just the pkgs passed around from nixpkgs? as long as you dont have your own pkgs its fine right? :P
<pie_> so, yeah, makes sense.
v88m has quit [Ping timeout: 245 seconds]
<pie_> actually, i suppose that makes my .nixpkgs attribute redundant even now, as long as im using callpackage
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3062e926572 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
v88m has joined #nixos
thc202 has quit [Ping timeout: 252 seconds]
mexisme has quit [Ping timeout: 248 seconds]
alex`` has quit [Ping timeout: 245 seconds]
lordcirth_ has joined #nixos
dansho has quit [Remote host closed the connection]
jluttine has joined #nixos
<pie_> Ericson2314, not sure who it would be appropriate to ask but is there any chance we could get some more extended explanation on makeScope and company? or do i just need to look at it harder
<pie_> clever, uhh well anyway, i think switching to makescope would still leave a lot of my code here as it is
<pie_> still dont know what to call a (self: {...}) :p
mexisme has joined #nixos
xkapastel has joined #nixos
hlolli_ has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adamantium has quit [Remote host closed the connection]
hlolli has quit [Ping timeout: 252 seconds]
rprije has quit [Remote host closed the connection]
sb0 has joined #nixos
rprije has joined #nixos
adamantium has joined #nixos
psy3497 has joined #nixos
Rusty1 has joined #nixos
<adamantium> Hey-- anyone know how to get surf browser to play youtube videos on nixos?
<adamantium> I tried adding gstreamer and all the gst-good/bad/base/ugly/libav/vaapi plugins and ffmpeg to global installed packages, but surf isn't using them.
dustinm` has joined #nixos
kvda has joined #nixos
ivan has quit [Ping timeout: 245 seconds]
dustinm has quit [Ping timeout: 272 seconds]
ivan has joined #nixos
kvda has quit [Client Quit]
mexisme has quit [Quit: WeeChat 2.5]
Miyu-chan has joined #nixos
Miyu-chan is now known as Guest34382
Miyu-chan has joined #nixos
Guest34382 is now known as Miyu-chan
mexisme has joined #nixos
<PyroLagus> you might have to override and add them to buildInputs
mthst has quit [Quit: the bouncer died]
<PyroLagus> but i'm not sure
o1lo01ol1o has joined #nixos
mthst has joined #nixos
kvda has joined #nixos
<day|flip> webkitgtk should be able to watch video. mmm i wonder how that getting built
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
markus1189 has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<day|flip> for me. i used qutebrowser. but i have mpv set to watch video from
<day|flip> then agian. it able to play video as will. mostly cuz it qt webengine is built off of chromium
tolt has quit [Quit: tolt]
<pie_> just noticed i might have redundantly reimplemented lib.extends
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pie_> i feel like im having haskell moments of "oh..so now that i accidentally reimplemented this myself i know what that does..."
kvda has joined #nixos
kvda has quit [Client Quit]
<pie_> i do like fixed-points.nix is pretty decent
adamantium has quit [Remote host closed the connection]
<pie_> or maybe i should say quite good
adamantium has joined #nixos
<pie_> i just totally failed to project the existing functionality on to what i was trying to do
Lears has joined #nixos
[Leary] has quit [Ping timeout: 245 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
ym555 has quit [Read error: Connection reset by peer]
ym555 has joined #nixos
Drakonis has joined #nixos
Havvy has quit [Read error: Connection reset by peer]
Havvy has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #63822 → deepin.dde-control-center: init at 4.10.11 → https://git.io/fjrFU
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjoWJ
o1lo01ol1o has quit [Ping timeout: 252 seconds]
<lordcirth_> I'm looking at https://nixos.wiki/wiki/NixOS_on_ARM and I'm confused. The armv6 and v7 builds have a broken Nix, the v7 has a replacement image, and v6 doesn't? Do I need to build my own v6 image?
<lordcirth_> I have a raspi B+
<{^_^}> [nixpkgs] @kalbasit pushed 2 commits to nixpkgs_bazel_protobuf_darwin: https://git.io/fjoWI
<{^_^}> [nixpkgs] @kalbasit pushed 0 commits to nixpkgs_bazel_protobuf_darwin: https://git.io/fjoWt
kvda has joined #nixos
adamantium has quit [Remote host closed the connection]
adamantium has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #63879 → Nixpkgs bazel protobuf darwin → https://git.io/fjoWm
adamantium has quit [Remote host closed the connection]
<fasd> I just ran nixos-rebuild --upgrade and everything is being redownloaded and rebuilt. Any ideas what would cause this?
<clever> fasd: thats what --upgrade does
<fasd> it's never done this before. it usually just rebuilds packages that changed
cjpbirkbeck has joined #nixos
npmccallum has quit [Quit: npmccallum]
<samueldr> lordcirth_: the page should probably be amended to say that those images are way outdated, and haven't been maintained since last year :/
<lordcirth_> fasd, maybe libc got bumped and everything changed slightly?
<lordcirth_> samueldr, ok. If I try building my own, would you expect it to work?
<samueldr> your own what? :)
<samueldr> images, yes
<samueldr> you can even bootstrap yourself using cross-compilation these days
<samueldr> you could run the build for armv6, this gives you an image, and from that, re-build a natively built system
<lordcirth_> samueldr, thanks!
<{^_^}> [nixpkgs] @xrelkd opened pull request #63880 → youtube-dl: 2019.06.21 -> 2019.06.27 → https://git.io/fjoWZ
romildo has joined #nixos
<lordcirth_> samueldr, Am I supposed to have the nixpkgs repo cloned beside it?
<samueldr> sorry, yeah :)
<samueldr> that's lacking from the instructions
<lordcirth_> np
<samueldr> $PWD/../nixpkgs/
<samueldr> nixos-unstable is supposed to do
<lordcirth_> stable isn't new enough?
<samueldr> current stable is likely not to work
<samueldr> improvements for cross-compilation
<samueldr> though, once bootstrapped, you should be able to build a stable image
<lordcirth_> samueldr, when you say "re-build a natively built system" that would be compiling on the Pi?
<samueldr> yeah :/ that's not going to be quick
<samueldr> though AFAIK nothing is armv6 only, and faster, and readily available
<samueldr> (building armv6 on armv7 is fraught with perils, some software will sniff features and accidentally bring an armv7 taste to the build)
<lordcirth_> Do you expect there'd be big differences between the cross-compile and the native? Enough that you want to immediately rebuild?
<samueldr> ... it might be faster to build using qemu, since armv6 is definitely slow... qemu-user would be, but it's not entirely reliable sometimes
<samueldr> whatever you will want to build natively will require a chunk of builds
<samueldr> so e.g. if you do not cross-compile htop in your sd-image, and nix-shell -p htop, you're in for m4, gcc, whatever dependencies, etc
<clever> samueldr: one min
<samueldr> clever: what again :)
<lordcirth_> samueldr, so, as soon as I try to add a package, it will rebuild every dep?
kim0 has joined #nixos
<samueldr> not _re_build, per se, build using different sources
<samueldr> since the "build host" is different in the inputs
<clever> samueldr: this will cause a build failure if the binaries depend on the wrong arch
<clever> i was using that to detect v7 opcodes in a v6 build
<lordcirth_> neat
<clever> its designed as a setup hook, so you could just throw it into a v6 stdenv and your done
<samueldr> clever: is that reliable? looks like it reads whatever was put in the elf
<clever> in this case, the gcc was capable of both v6 and v7 builds, and says which one it was generating for, in the elf headers
<samueldr> could it happen that something writes opcodes for armv7 while tagging the elf armv6?
<samueldr> (I'm not exactly knowledgeable there)
<clever> and the configure script simply ignored the nix $system flag, and built what the cpu could handle
<clever> but then down-stream, the binary was copied to a v6 only cpu, and failed to execute
<samueldr> e.g. some -DMAKE_SPEEDY flag where it has ASM in the source
<clever> ASM is still a seperate issue
<samueldr> yeah, that's my main concern there :/
<{^_^}> #56285 (by cleverca22, 17 weeks ago, open): python ctypes extension fails to build due to purity issues
<clever> there is also a different ASM problem here
<samueldr> the build system uses a gcc that outputs armv6, that's fine, but some speed optimization detects the cpu as armv7, that enables some options, uses ASM inline and outputs a non-working binary
<clever> libffi detects a 64bit cpu, generates 64bit ASM, then the v6/v7 gcc goes "wut" and errors out
<samueldr> and only non-working when execing on armv6!
<clever> so, the build should have failed! (and does for pkgs.libffi)
<clever> but, the python build scripts treat a failure to build libffi as soft, and just disable ffi support for you
<samueldr> that's why I tend to err to the side of caution and say "building for a previous ARM on a latter ARM is scary"
<samueldr> even cortex-Axx seems to be an isssue :(
<{^_^}> #56290 (by cleverca22, 17 weeks ago, open): kexec-tools arch purity problem
<clever> kexec-tools also has the same issue, but correctly fails, rather then producing poisoned builds
<samueldr> preperly failing is good
<samueldr> properly*
<clever> openssl (at least years ago) produced a poisoned build, like python does now
<samueldr> yes
acarrico has quit [Ping timeout: 258 seconds]
<samueldr> and, to a lesser extent, we have the same family of issues in x86_64 where some optimizations might be built into a library, surreptitiously, not good for reproducible builds
<samueldr> depending on whether ot built on new or old, it will produce different binaries
<clever> yeah
<samueldr> and dependents on it might not execute on older machines when the library is built on newer
<samueldr> and apparently it's not yet a concern to the reproducible builds org :/
<clever> ive discovered sse4 features in some stuff iohk ships
<samueldr> and, unverified, kvm is not enough to test those AFAICT
<samueldr> you would need full blown proper emulation, or good ol' hardware
<clever> i was initially using qemu-system to debug the sse4 problem
stepcut has quit [Ping timeout: 252 seconds]
<clever> because qemu by default emulates the oldest 64bit capable cpu (which lacks sse4)
<clever> but, i then switched to using qemu-user-x86_64, to emulate 64bit (in userland) on 64bit, lol
<samueldr> :)
<clever> which simulated the lack of sse4
<samueldr> qemu-user without hw accel I figure
<clever> yeah, qemu-user always lacks hw accel
<clever> because its meant to be used for foreign arches
<clever> but it happens to support emulating the host arch with zero trouble, lol
<clever> ive also done silly things like emulate x86 on an rpi
<lordcirth_> clever, how fast did that run? XD
<samueldr> not that silly
<clever> lordcirth_: i was trying to run teamspeak, but it segfaulted within pulseaudio
<clever> and gdb was heavily confused by the arch mix
<clever> so it was imposible to debug
<clever> it was an emulated segfault, within the x86 side, but i think it produced an arm core file
<clever> and then i need to convince the x86 gdb to open a core dump from arm
<lordcirth_> samueldr, so I need to change branches in the nixpkgs repo to unstable?
<romildo> It seems that $out (describing the destination dir for a package in a derivation) does not work inside `substituteAll`. Instead it seems to denote the file generated by substituteAll. Is that expected?
<lordcirth_> Or is "master" the unstable branch?
<samueldr> lordcirth_: using this remote, this remote has branches mirroring the channels https://github.com/NixOS/nixpkgs-channels
<samueldr> so you can use nixos-unstable from there
<lordcirth_> Ah ok, thanks!
stepcut has joined #nixos
<samueldr> if you ever need a git repo with references to the current state of the channels, that's the one
mac10688 has quit [Quit: WeeChat 2.4]
edwards has joined #nixos
<lordcirth_> samueldr, ok, so the env -i isn't finding nix-build
xkapastel has quit [Quit: Connection closed for inactivity]
<samueldr> checking first, you're on nixos?
<lordcirth_> No, do I have to be?
<lordcirth_> I do have Nix installed
<samueldr> no, but it might change some things
<samueldr> try replacing nix-build in the script by `$(type -p nix-build)`
<samueldr> (without the backticks)
<samueldr> not sure what would be causing that
<lordcirth_> I just added PATH="$PATH", it seems to be building. That's probably a safer version, though
<samueldr> PATH="$PATH" "pollutes" the env by adding the full path, but it's probably entirely fine here
<samueldr> in fact that env -i is probably useless
<samueldr> I already set NIX_PATH forcibly
<samueldr> not sure what else could be causing side-effects with nix
<lordcirth_> So, if I do nixos-rebuild --upgrade on the Pi, will any of it be cached by cache.nixos.org?
<samueldr> none of what matters
<samueldr> (source files are cached, but that's not something that matters here)
<samueldr> the official cache has no armv6 or armv7 builds or builders
mac10688 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lordcirth_> Ok. I wonder how hot it will get :P I will make sure to limit it to 1 core.
<samueldr> on device, as hot as it is designed to :D
<lordcirth_> I wonder if anyone's ever hacked a PC stock cooler onto a RasPi
<clever> lordcirth_: many
edwards has quit [Quit: WeeChat 2.4]
<lordcirth_> Of course. Silly question.
<samueldr> isn't it like... <--- that ---> much bigger than the raspi? :)
<clever> lordcirth_: i may have even heard of rumors of LN2 cooling
<day|flip> wtf. a LN2 rbp
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<lordcirth_> RasPi 1 @ 2.4Ghz
<clever> lordcirth_: the rpi4 cpu is also a better design, that can do more work for a given clock rate
<lordcirth_> clever, yeah. I'm considering a RockPro64, actually, but it seems getting it to boot is still tricky
<samueldr> I don't think it should be https://nixos.wiki/wiki/NixOS_on_ARM/PINE64_ROCKPro64
<lordcirth_> special kernel from git?
<samueldr> I *think* the manual partitioning step is now unneeded with the recent changes
<clever> the rpi has usb 3.0, proper gigabit ethernet, usb-c power/gadget, and with some uber-hacking, you could maybe get pci-e out of it
<samueldr> though yeah, maybe the kernel is an issue :/
<clever> the new 4 model
<samueldr> clever: not usb PD, just standard 3A usb dumb power
<lordcirth_> The RockPro64 + NAS case can handle 2 SATA 2.5 or 3.5 drives.
<clever> samueldr: i was told that the PD_SENSE pin is wired up, to signal to the charger what its demands are
<samueldr> wired for the dumb 3A
<day|flip> can pinebook pro work on nixos arm?
romildo has quit [Quit: Leaving]
<samueldr> day|flip: when the thing will be released, it's plausible
<day|flip> ahh
<day|flip> still not out?
<samueldr> last I heard end of september start of october or something around there
<samueldr> I may try to get in the first batch, will see how it goes
<day|flip> i thought about getting a snapdragon 8xc laptop. when ever they come out.
<{^_^}> [nixpkgs] @orivej-nixos pushed 2 commits to master: https://git.io/fjoW5
<samueldr> not sure about the 8xc ones, but the other ones form lenovo and asus are... apparently painful
<samueldr> (been keeping an eye on progress0
<samueldr> hopefully the 8xc ones are more open, but the current ones have no hw virtualisation enabled :/
<day|flip> so snapdragon arm cpu are hard to port to arm64? sorry i don't know these thing
<samueldr> it's likely more the integrated machine, and not the SoC itself
<samueldr> after all, they are meant for windows
<samueldr> and they cut a bunch of corners
<samueldr> x86_64 has standardisation that makes the corner cutting harder to pull off
<clever> in the rpi4 announcement, they mentioned they are sticking to videocore4 (the 3d core) because its the "most open" in the arm market
<samueldr> it's... likely true, because they paid an engineer to document it and all that
<clever> and yeah, i have read a lot of the docs on the 3d side of things, but the firmware is still closed on the rpi, and the hw video decode stuff is fully closed, so i wonder what else there is, that could possibly compete
<samueldr> but a bit misleading :/
<samueldr> my thoughts: some AMD embedded gpu in an ARM SoC
<clever> ive even been crazy enough to write my own opengl driver, from scratch, right down to probing the IO ports in the 3d core :P
<lordcirth_> o_O
<clever> samueldr: one min...
<samueldr> which... some people think might happen (AMD arm chips) again
o1lo01ol1o has joined #nixos
<samueldr> their latest presentation IIRC had some weird phrasing around x86 cpu
<Miyu-chan> RPi4 on the road to being a general purpose computer IMO
<day|flip> amd arm again???
<clever> samueldr: this is a video about an intel developement sample GPU
<samueldr> clever: I know about it
<clever> samueldr: its just an x86 computer in pci-e form
hlolli_ has quit [Remote host closed the connection]
<Miyu-chan> samueldr: Does USB-C allow 3A?
<Miyu-chan> Like, without PD
<samueldr> Miyu-chan: yes
<clever> samueldr: at surface level, that seems like the "most open" gpu you can get, since its just plain old x86?
<samueldr> (that was a talking point the day of the release)
hlolli_ has joined #nixos
<samueldr> Miyu-chan: it's 5A that needs special care
<Miyu-chan> Ah.
<clever> USB-C can also do many voltages
<samueldr> USB 3, IIRC, so not even PD, sets the limit at 3A IIRC
<samueldr> clever: "no", USB PD can :)
<Miyu-chan> clever: Yeah, but only with PD, right?
<samueldr> type-c is only the connector
<clever> so you can get more wattage (at 3A or 5A) by just upping the voltage too
<clever> samueldr: yeah, type-c is a mess, the connector and the capabilities are all over the place
<samueldr> you can have USB 2.0, with PD, or without PD, as a type-c connector
<samueldr> yes
<samueldr> definitely
<clever> samueldr: the apple repair guy on youtube called USB-C the cloaca of ports :P
<samueldr> my phone is type-c, usb PD, but only usb 2.0, no alternate modes
<clever> a multi-purpose hole, lol
<Miyu-chan> On the topic of USB, do y'all know about this twitter? https://twitter.com/whitequark
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<clever> Miyu-chan: already following
<clever> Miyu-chan: this article is also related to the rpi4
<clever> this crazy hot removed the pci-e GPU from a thin-client, and hot-wired a PCI-E slot onto it
<clever> in theory, you could do the same to an rpi4, replace the usb 3.0 controller with a PCI-E slot, and then plug any PCI-E device into it
<clever> with the limitation that its a 1x lane, so you cant get full bandwidth
<clever> good luck getting the closed-source nvidia drivers to run on an rpi though, lol
<Miyu-chan> Just wait 'til someone uses qemu and passthrough the graphics.
<samueldr> similar work, on another kind of board
<Miyu-chan> Jokes aside. I don't think passthrough works on non-KVM.
<samueldr> hm?
<Miyu-chan> Also. I've been meaning to report something, and since we're talking about NVida(why is it always NVidia), I guess this is the time.
<Miyu-chan> samueldr: I was thinking more of different host/guest architecture.
<samueldr> nothing specific to x86_64 AFAIK
<clever> Miyu-chan: oh, that reminds me, ive seen guys making a custom PCI-E board, that just routed each PCIE lane to a usb 3.0 connector
<clever> Miyu-chan: then you can use the cheap differential pairs (and connectors) in usb3 cables, to transfer PCIE long-ish distance
<clever> so, just avoid crossing the lanes, and convert it back to PCIE on the far end, and your GPU wont know the difference
<samueldr> used in "miner rigs"
<clever> samueldr: the one i saw wasnt single-lane, but full 16x
<samueldr> it (ab)uses the wires in the cable, but is not usb compliant :)
<clever> samueldr: now, combine that with the hackaday you linked
<samueldr> hm, 16x both sides is... unlikely
<clever> samueldr: it just used many usb3 cables, lol
<samueldr> ah
<clever> which opened up the option of getting your lanes crossed :P
<samueldr> whew
<samueldr> never cross the streams
<clever> samueldr: but, you could take that "mining rig" cable, chop off the usb connector on the end, and solder it to an rpi4
<clever> and then use the "usb3->pcie" adapter on the end, to do half the heavy lifting
<clever> and if you mess up, just buy another usb 3.0 cable at the corner store, no special hardware lost
<samueldr> clever: that's exactly what the hackaday post did
<clever> the special parts (usb<->pcie) are un-modified
<clever> oh, lol
kvda has joined #nixos
<samueldr> well, not exactly
<clever> looking close, those dont look like normal usb3 cables
<samueldr> they tried first to solder to the pcie connector
<samueldr> they ended up using SAS cable
Drakonis has quit [Quit: WeeChat 2.4]
<clever> ah, it looks like they soldered directly to a bare usb3 plug
<Miyu-chan> When I use modesetting + nvidia
<clever> using sas cables, lol
<clever> rather then cutting up a whole usb3 cable, and using the existing pairs
<Miyu-chan> I didn't bother reporting, because nvidia + intel works. So let's not deprecate intel drivers pls ty.
<samueldr> I think intel gpu users would be a bit miffed by that :)
<Miyu-chan> I tried running bumblebee, IIRC. And the latency's surprisingly way too high, and idk what's causing it.
<samueldr> anyway, I am off
<Miyu-chan> It's around as bad as running SSH forwarding over cable.
<samueldr> toasty night in sight
<Miyu-chan> G'night. \o
<samueldr> 'night
<Miyu-chan> clever: I really find it weird that all PCI-e hardware works with any x.
<Miyu-chan> It somewhat makes sense, but still weird.
<clever> Miyu-chan: the specs say it should sanely negotiate down to fewer lanes (and as low as 1 lane)
<clever> some motherboards have pci-e slots with the end missing, so you can fit longer cards in the slot
<clever> that last mining extension, just doesnt wire lanes 2-16 up, and uses a full 16x slot
<Miyu-chan> Oh.
<Miyu-chan> I was about to say that.
<Miyu-chan> So you don't exhaust the lanes for other cards by doing that, right?
<clever> in the case of mining, the GPU may rely on the extra power pins, so they may have a reason to use a full 16x slot
<clever> the motherboard is all point to point, so a 4x slot, always has 4 lanes dedicated to it, even if your extender can only use 1 lane
<clever> so if you use a 1x extender in a 4x slot, your throwing 3 lanes out
<clever> if you want to do things "right" you also need a port multipler, which can take 4x, and then split it into 4 * 1x
<Miyu-chan> Wait. I just had a thought.
<Miyu-chan> Does this also mean that you can merge 2 ports together?
<clever> if you know the cpu and motherboard internals (most OS's dont), maybe
<clever> at powerup, the bios is supposed to program the cpu, to say which lanes go to which slots, in what order
<clever> and the OS is supposed to just leave it as it is
<clever> so the cpu and motherboard vendors dont share how to configure that
<Miyu-chan> Ah. But why do port multipliers work?
<clever> port multipliers are like USB hubs, and dont change the mapping, they just act like a proxy
<Miyu-chan> Hm.
<Miyu-chan> So they're active devices?
<clever> so you send data to the port multipler, over slot 5, (using whatever lanes the bios said 5 is)
<clever> yeah
<clever> think of it like an ethernet switch
<Miyu-chan> Hm.
<Miyu-chan> OH
<clever> Miyu-chan: this is a device that splits a single lane, into 4 16x slots
<Miyu-chan> I think I'm starting to get it now. And it just "passes through" the lane to whatever the lane is "behind" it, right?
<clever> i highly doubt those are actually 16 lane slots though
<clever> so its turning 1 lane into 4 * 1lane, with a bandwidth bottleneck
<Miyu-chan> I don't know the addressing scheme, but say, 5:1, 5:2, 5:3, 5:4 are connected to the 1st lane of a GPU.
<Miyu-chan> Oh, I think I found the term. Multiplexing, kinda.
<Miyu-chan> But not really, because it's over separate buses.
v0|d has quit [Ping timeout: 258 seconds]
<clever> if you check the 2nd photo on the above product, youll see the end that goes into the PC, is entirely passive
<Miyu-chan> Hm.
<clever> and in the 4th photo, the expansion board has a chip on the bottom
<clever> which is sending 3 diff pairs to each pcie slot
<clever> the refclock, tx and rx pairs
<clever> so its expanding 1 lane into 4 lanes, which are then treated as 4 slots of 1x
<Miyu-chan> Ohh
<clever> but you will run into a bottleneck if you try to push 4 lanes worth of traffic thru it
<clever> and in the 6th photo, you can see the pc side better
<Miyu-chan> Hm. I wonder if this needs third-party driver support or this is in the specs.
<clever> 2 pairs on one side, 1 pair on the other
<clever> refclock, tx, and rx pairs again
<clever> i believe its in the specs
<clever> 00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890/RD9x0/RX980 PCI to PCI bridge (PCI Express GPP Port 0)
tmaekawa has joined #nixos
<clever> and that your motherboard is already doing basically the same thing
<Miyu-chan> Ohh
<Miyu-chan> Cool.
<Miyu-chan> Kinda reminds me of Intel and performance degradation after using too much lanes.
<Miyu-chan> In IIRC, their X series?
<Miyu-chan> Which caused quite a backlash.
<clever> Miyu-chan: https://www.fpga4fun.com/PCI-Express.html has more info
<Miyu-chan> Thanks. Checking.
<clever> something else interesting i saw in a recent-ish thing about a new cpu, is that the cpu itself had 128 pcie lanes on the socket
<clever> and the motherboard could either be configured for 8 slots of 16x on a single cpu socket (128 lanes total)
<clever> or dual-socket, with 64 lanes of each socket wired to the other socket (inter-cpu linkage), then each cpu gets 4 slots of 16x (64 lanes each)
acarrico has joined #nixos
<Miyu-chan> Oh cool.
<clever> but if you only install 1 cpu in the dual motherboard, half the pcie slots are dead
<Miyu-chan> I don't get how people program for non-uniform access TBH.
<clever> and if you do use 2 cpus, the performance will depend on which cores are trying to access which pcie devices
<Miyu-chan> Yeah, that's exactly what I was thinking.
<clever> but it has a whopping 64 lanes between the CPU's
<Miyu-chan> That requires kernel support too, to ensure that the drivers are running on the right CPU, and communicating with the right GPU.
<clever> so it definitely wont be starved for bandwidth
<Miyu-chan> Actually, scratch that.
<Miyu-chan> Can one CPU even transparently communicate with a GPU on the other CPU?
<clever> yeah
<clever> the bios is supposed to configure that in both cpu's
<clever> i believe
<Miyu-chan> Ah.
<clever> and despite pcie being packet based over multiple serial links, its meant to emulate legacy pci
<Miyu-chan> Server hardware seems arcane magic TBH. But I really wanna work with some.
<clever> so the OS interface to the cards is still the same as legacy pci
<clever> you start with a number of pci BAR's
<clever> that define what the card can do (io/ram) and how much (kb, mb?, gig?)
<clever> and the bios is supposed to assign a unique physical address to them on bootup
<clever> and then (in legacy pci), when you put the right addr onto the bus, the card will respond correctly
<clever> (its basically just ISA, with automatic configuration and detection)
<clever> but with modern systems, the cpu will sniff all attempts to configure the BAR's, and then remember what device is at every phys addr
<clever> so when you try to write to that addr, the cpu knows which pci slot to route to, and what lanes to multiplex is over
<Miyu-chan> BAR?
<Miyu-chan> *** addressed register?
<Miyu-chan> Oh
<clever> `program the Base Address Registers (commonly called BARs) to inform`
<clever> looks like your right
<Miyu-chan> Oh cool, I was a bit close.
<Miyu-chan> This is blowing my mind TBH.
<clever> [root@amd-nixos:~]# lspci -vv
wfranzini has quit [Remote host closed the connection]
<clever> look for the `Region 0: ` parts
<clever> i believe those are the BAR's
<Miyu-chan> Wait. The conventional way to talk with PCI-e devices is MMIO, right?
wfranzini has joined #nixos
<Miyu-chan> Or am I mixing things up?
<clever> depends on the device
<clever> my 1st sata controller has 6 regions, 5 of them are IO (of varying sizes) and one is 1024 bytes of "ram"
<clever> the IO use the special in/out opcodes in the cpu, while the "ram" is just a normal physical address you can read/write from
Wharncliffe has quit [Ping timeout: 245 seconds]
<clever> the 1st usb controller i see, only has 4kb of "ram" and no "io" at all (likely all memory mapped io)
<clever> next usb device only has 256 bytes of "ram"
<Miyu-chan> Wait. Port I/O is still a thing!?
<Miyu-chan> I'm sorry lmao. I'm relearning a lot of things
<clever> yeah, io ports still exist, lol
<clever> my sound card has 16kb of "ram" and no "io"
<Shados> clever: PCI lanes being split between sockets in dual-socket server boards is pretty common. In cases where you really need to eke out every last drop of network performance, it means you need to bind both your NIC IRQ kthreads and your userspace network code to the same socket as the NIC(s) they're working with, or you get hit by what are basically NUMA latencies :P
<clever> Shados: yeah, thats what i was guessing
<clever> Region 0: Memory at c0000000 (64-bit, prefetchable) [size=256M]
day|flip has quit [Remote host closed the connection]
<clever> Miyu-chan: my GPU, has a whole 256mb chunk of the address space (but i think it has 16g of gpu ram)
<Shados> Usually doesn't matter, but once you start working with 10G+ of throughput (or you have 10G cards and want to minimise latency) it is an issue
<clever> i highly suspect there is memory mapping going on, so you can configure the gpu to map portions of that 256mb window, to portions of the gpu ram
<Miyu-chan> clever: I guess that's for CPU/GPU communication.
<clever> and then just use a dumb memcpy to upload textures
<Miyu-chan> On that topic. There's this idea of using your GPU as a swap drive.xdd
<clever> and it has such a large chunk of the address space, so you can copy a large chunk at once
<Miyu-chan> I should try it out sometime, since I have a GPU now.
<clever> ive done exactly that, back when my entire gpu ram fit within a single BAR
<Miyu-chan> Warning: This will not work with binary drivers. :(
<clever> i used lspci to find the phys addr, and then configured MTD to just treat that region as a block device
<clever> i also had fun just dd'ing to different offsets, and watching the screen to see what corrupted what
<clever> to learn which regions i shouldnt touch :P
<clever> but when you have 16g of video ram, and only a 256mb window into it, there must be some mapping going on, and you must understand that, or it will screw you over
<clever> Miyu-chan: and i havent even touched on DMA yet :P
<clever> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
<clever> Miyu-chan: in the legacy pci days, bus master means the pci device could drive the addr lines on its own, and directly read ram without having to involve the cpu
<Miyu-chan> On another topic. DMA still exists!?
<clever> reversing the master/slave setup
<Miyu-chan> Less jokingly though.
<Miyu-chan> Is DMA still used between system memory?
<clever> but in modern pcie, all pcie devices are wired directly to the cpu
<Miyu-chan> I know that DMA is used between system memory and PCI-e devices
<clever> so the pcie device must ask the cpu to fetch something from ram (but it still bypasses the opcode execution system)
<Miyu-chan> Hm.
<Miyu-chan> Wait. So from what I understand, can't you do an attack with that?
<clever> Miyu-chan: the typical CPU will just blindly obey the attack
<clever> but there is iommu, where you can configure a memory mapping on a per-slot basis
<Miyu-chan> Flash a vBIOS from http://totallylegitwebsite.tk to your GPU, and your CPU will brick until you remove the GPU?
<clever> so the cpu will enforce what each card can do
<clever> Miyu-chan: thats something entirely different, and not really in the scope of iommu
<clever> in this gist, youll notice my nvme device, has 8 IRQ's, and is firing requests off to all my cores!
<clever> and never has a given irq hit more then 1 core
<clever> this is because pcie supports multiple command queues
<clever> each core, has its own fifo to issue read/write requests
<clever> and each fifo has its own IRQ to signal when its finished
<clever> which goes back to the core that initiated the request
<clever> so you dont get any weird numa problems, like core1 asked for data, then core2 got the reply, and they have to sync their L1 caches up via ram
<clever> Miyu-chan: and on the subject of vBIOS stuff you mentioned, pcie devices can include a firmware blob, and the specs from legacy bios will just blindly run that firmware on bootup
tmaekawa has quit [Quit: tmaekawa]
<clever> video cards use that to initialized themselves
<Miyu-chan> Wait what.
<clever> raid controllers often use that to show a "press f7 to configure raid" menu
<Miyu-chan> You're telling me, that a PCI-e device can control your bootup?
<clever> yes
<clever> the bios will just blindly run a blob it finds in a pci-e device, if the fields are set right
o1lo01ol1o has joined #nixos
<clever> Devices may have an on-board ROM containing executable code for x86 or PA-RISC processors, an Open Firmware driver, or an EFI driver. These are typically necessary for devices used during system startup, before device drivers are loaded by the operating system.
ajirx has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> Miyu-chan: https://wiki.osdev.org/AMD_Atombios some random docs on the expansion rom for AMD GPU's
<Miyu-chan> I'm kinda curious about that "UEFI driver"
<Miyu-chan> Like, special language for UEFI, or just x86 code with metadata?
<clever> Miyu-chan: i'm guessing its a PE file with sections tagged for loading on certain arches
<Miyu-chan> Ah. That makes more sense.
<clever> and then you just load and execute the right section, and link all the dynamic symbols
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @buckley310 closed pull request #54260 → vmware-horizon-client: init at 4.10.0-11053294 → https://git.io/fhBS5
<Miyu-chan> Damn. I can see this being one of those things that you fix out of desperation.
<Miyu-chan> Like, "y'know what, I've tried all things. Let me just remove this device>"
<Miyu-chan> And it actually works.
Rusty1 has quit [Quit: Konversation terminated!]
<clever> Miyu-chan: in theory, if the expansion rom is actually an eeprom (or regular flash), malware could inject a whole damn hypervisor into there
<clever> Miyu-chan: and then your entire OS boots under a VM without you even knowing it
<clever> and that infection will persist even after you swap the hdd!
<Miyu-chan> Damn.
kvda has joined #nixos
Lev_ has joined #nixos
<clever> have fun sleeping tonight :P
<Miyu-chan> No more second-hand buying for me lmao
<clever> this is also scary for any datacenter that does baremetal
<Miyu-chan> What do you mean? Like colocation?
<clever> yeah
Lev_ is now known as ldub
<clever> i could rent a machine from something like packet.net, write some malware to all the pci devices, then cancel the machine
<clever> and then you come along, rent a machine, and boom, i own your os
<Miyu-chan> Oh.
<Miyu-chan> Damn.
<clever> but similarly, depending on the motherboard, i could just reflash the whole damn bios :P
<clever> one min...
ldub is now known as levdub
oxa has joined #nixos
<oxa> Is there any way to use proxy when building drv (like download src)? Seems `https_proxy` for `nix-env` not work.
<clever> [root@router:~]# nix run nixpkgs.flashrom -c flashrom -p internal:laptop=this_is_not_a_laptop --read router.bios
<clever> Miyu-chan: this will read the entire bios, and dump it to a file
<clever> -rw-r--r-- 1 root root 1.0M Jun 28 04:55 router.bios
<clever> in the case of my router, its only 1mb
cjpbirkbeck has quit [Quit: Quitting now.]
<clever> sadly, ive only found 1 machine where flashrom has write support, and 2 or 3 with read-only support
<clever> Miyu-chan: but if you get root on a machine that supports flashrom, you could malware the bios itself
domogled has quit [Quit: domogled]
<clever> Miyu-chan: and thats part of what secureboot wants to stop you from doing (which also blocks your ability to just run your own firmware)
knupfer has joined #nixos
<clever> the whole point of secureboot, is to ensure only signed blobs of code are loaded while booting, so you can trust the login prompt when it asks for a pw
<clever> but if you can reflash the bios, its game over
knupfer has quit [Client Quit]
knupfer has joined #nixos
kandinski has quit [Remote host closed the connection]
SegFaultAX has quit [Quit: ZNC - http://znc.in]
ddellacosta has quit [Ping timeout: 268 seconds]
kim0 has quit [Quit: Connection closed for inactivity]
xacktm has quit [Ping timeout: 252 seconds]
mexisme has quit [Ping timeout: 246 seconds]
<levdub> clever: with Packet and other bare metal clouds, wouldn't you expect that the provider re-flashes all the firmwares when a customer releases a machine?
<clever> levdub: the problem, is that if the reflashing happens by just booting the machine into a special os, it could be booting that inside a hypervisor
<clever> levdub: which then lies about having reflashed the hardware
<clever> the only way to be 100% sure, is to either prevent reflashing entirely, or to flash it externally, so the untrusted code is never ran
mkoenig has quit [Remote host closed the connection]
<Miyu-chan> Back. Was procuring coffee.
<clever> Miyu-chan: you may now read the horror stories above :P
knupfer has quit [Ping timeout: 264 seconds]
mkoenig has joined #nixos
<Miyu-chan> clever: I think there's also the problem of people just forgetting that certain attacks can be done.
<Miyu-chan> I'm not representative of on-site sysadmins, but only today did I know that PCI-e devices can inject their own executables on boot.
<levdub> clever: Thanks for the insight and thought experiment.
<clever> Miyu-chan: network cards are also special
<clever> Miyu-chan: in the old days, you could program a rom, shove it into a socket on your NIC, and then configure the bios to network boot, and it will just run whatever is on the rom
<clever> Miyu-chan: but modern systems, have pxe booting built into the bios, and the NIC's that do have "roms" tend to have flash memory, which is where https://ipxe.org/howto/romburning comes in
wfranzini has quit [Ping timeout: 258 seconds]
asheshambasta has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme has joined #nixos
ym555 has quit [Read error: Connection reset by peer]
palo1 has joined #nixos
asheshambasta has quit [Ping timeout: 252 seconds]
vmandela has joined #nixos
<Miyu-chan> clever: I was going to say that I could see that being used instead of flash drives back then, but then I remembered CDs existed.
ym555 has joined #nixos
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
<clever> Miyu-chan: a few pages down on https://resources.infosecinstitute.com/pci-expansion-rom/#gref it mentions the format for the expansion roms, and that it must start with 0x55aa as a signature
anon1 has joined #nixos
<clever> https://wiki.osdev.org/AMD_Atombios says the rom should start with 0xaa55! (byte ordering issues)
<clever> one site lists it as 0x55 0xaa, which i assumed was 55aa
<clever> but the other lists it as a 16 bit field, of aa55
<clever> Miyu-chan: offset 03h is the main one, `Entry point for INIT function. Power-On Self-Test (POST)does a FAR CALL to this location`
<clever> the bios will just call whatever function happens to be there, on bootup
<clever> and expects the function to return control back to the bios, eventually
<clever> and further down, you have the code type, x86, open firmware, efi, ...
<clever> i'm guessing if you want to support 2 options, you need 2 roms, and spend 2 BAR's on it?
<clever> ah, 2 systems, the old one with just a raw x86 entrypoint, and then a new one with a table that describes all the capabilties and entry point type
<clever> ahhhh, and you can have multiple "pci data structures" in a single rom, each with its own "code type"!
mexisme has quit [Ping timeout: 252 seconds]
xacktm has joined #nixos
<makefu> ,locate dhcpd
<{^_^}> Found in packages: dhcp, plan9port, vimPlugins.caw
acarrico has quit [Ping timeout: 268 seconds]
<makefu> ,locate named-checkconf
<{^_^}> Found in packages: bind
<clever> makefu: thinking of something like this?
<clever> (it will validate the resulting config at build time, and fail the build if its invalid)
<makefu> clever: yep, something like this
<makefu> actually i am trying to build a ci job which validates the config and if everything went fine it deploys them on the (legacy) host
<clever> ahh
<clever> makefu: i also have another trick you may like
orivej has quit [Ping timeout: 244 seconds]
<clever> nix-build '<nixpkgs/nixos>' -A 'config.systemd.units."tor.service".unit'
<clever> makefu: this will let you build the .service file for any existing nixos service
<clever> and if you toss in a -I nixos-config=./configuration.nix, you can build from any configuration.nix you want
<clever> then just copy-closure the whole unit file to a machine, and symlink it somewhere systemd looks
<makefu> sneaky :D
<clever> obviously, the stuff to manage /etc and auto-create users wont work
<clever> so youll need to handle that yourself
<clever> bind creates a user called `named` and thats the only real problem i can forsee
mexisme has joined #nixos
<clever> line 187 and 195 will tell bind to lookup `named` in `/etc/passwd` at runtime, and drop-root at the right times
<clever> shouldnt care what the uid is
<clever> 191 will also ensure `named` owns the state dir
<clever> and 28/29 tells it to use that dir
<clever> makefu: only thing missing, is to add named-checkconf into the mix, replace the ${cfg.configFile} on 195, with the result of `runCommand "named.conf-checked" { buildInputs = [ bind ]; } ''cp ${cfg.configFile} $out ; named-checkconf $out''`
<clever> makefu: which will just copy the cfg, and assert that its valid
sb0 has quit [Quit: Leaving]
<makefu> i will have to figure out what to do with all the hardcoded paths in the current config ... but besides that it looks fine
oxa has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
<clever> makefu: if you use nix-copy-closure (and have nix on the legacy machine), those hard-coded paths will exist
<makefu> ah sure
<Shados> clever: Your convo reminded me that the rasbpi actually does boot from its GPU, which then initialises the CPU. Nothing to do with UEFI or PCI, though.
<clever> or just `nix-store -r /nix/store/foo` to download it from a configured binary cache
ajirx has quit [Remote host closed the connection]
<clever> Shados: yep
<{^_^}> [nixpkgs] @marsam opened pull request #63881 → protobuf3_8: init at 3.8.0 → https://git.io/fjo82
ajirx has joined #nixos
<clever> Shados: the gpu boot rom can boot from, the SD card (on 2 different busses), nand flash, spi flash, usb (both mass-storage, and ethernet)!
<clever> Shados: that phase, will load bootcode.bin from one of the above sources, and execute it
<{^_^}> [nixpkgs] @solson opened pull request #63882 → syncplay: 1.6.3 -> 1.6.4a, and upgrade dependency from Qt4 to Qt5 → https://git.io/fjo8w
<clever> oh, usb can even load it as a usb gadget, when the rpi is plugged into a usb host
<clever> the publicly provided bootcode.bin files, only function over SD cards, mass-storage, ethernet, and usb gadget
<clever> and the usb gadget one, cant boot the rpi, it instead makes the rpi emulate a mass-storage device! (exposing the SD card to the host)
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<clever> (which lets you fix the boot partition on the SD card)
<{^_^}> [nixpkgs] @marsam opened pull request #63883 → nodejs-12_x: 12.4.0 -> 12.5.0 → https://git.io/fjo8o
m0rphism has joined #nixos
* clever heads off to bed
acarrico has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
* teto pats clever on the head
rauno has joined #nixos
seese[m] has quit [Remote host closed the connection]
jaexil-g-maitre_ has quit [Remote host closed the connection]
alan[m] has quit [Remote host closed the connection]
abbec has quit [Remote host closed the connection]
craige[m] has quit [Remote host closed the connection]
Manish[m] has quit [Remote host closed the connection]
wak-work has quit [Remote host closed the connection]
olejorgenb[m] has quit [Remote host closed the connection]
derangednerd[m] has quit [Remote host closed the connection]
atopuzov[m] has quit [Write error: Connection reset by peer]
bpye has quit [Write error: Connection reset by peer]
orospakr[m] has quit [Write error: Connection reset by peer]
weebull[m] has quit [Write error: Connection reset by peer]
jasonk000[m] has quit [Read error: Connection reset by peer]
Minijackson[m] has quit [Write error: Connection reset by peer]
corpix[m] has quit [Write error: Connection reset by peer]
amorosa1984[m] has quit [Remote host closed the connection]
sphalerit has quit [Read error: Connection reset by peer]
goibhniu has quit [Remote host closed the connection]
Notkea[m] has quit [Write error: Connection reset by peer]
MayeulC_backup has quit [Write error: Connection reset by peer]
laas has quit [Write error: Connection reset by peer]
pop[m]1 has quit [Remote host closed the connection]
GerdFlaig[m] has quit [Remote host closed the connection]
musicmatze has quit [Remote host closed the connection]
ploupiboulba[m] has quit [Remote host closed the connection]
siraben has quit [Write error: Connection reset by peer]
bricewge has quit [Write error: Connection reset by peer]
spacekitteh[m] has quit [Write error: Connection reset by peer]
leons has quit [Write error: Connection reset by peer]
Gopal[m] has quit [Write error: Connection reset by peer]
harkenedraven has quit [Write error: Connection reset by peer]
apx[m] has quit [Remote host closed the connection]
domenkozar[m] has quit [Read error: Connection reset by peer]
jasongrossman[m] has quit [Read error: Connection reset by peer]
retrry[m] has quit [Write error: Connection reset by peer]
makaveli[m] has quit [Read error: Connection reset by peer]
marko[m]1 has quit [Write error: Connection reset by peer]
Guest54427 has quit [Write error: Connection reset by peer]
MichalLaskus[m] has quit [Write error: Connection reset by peer]
freddie_freeload has quit [Write error: Connection reset by peer]
byzoni[m] has quit [Write error: Connection reset by peer]
Nover[m] has quit [Remote host closed the connection]
neonfuz2 has quit [Write error: Connection reset by peer]
aterius1 has quit [Write error: Connection reset by peer]
saikrishi1109[m] has quit [Write error: Connection reset by peer]
nbardiuk has quit [Write error: Connection reset by peer]
kuznero[m] has quit [Write error: Connection reset by peer]
M0ddba11[m] has quit [Read error: Connection reset by peer]
colemickens has quit [Read error: Connection reset by peer]
nh2[m] has quit [Remote host closed the connection]
rizary has quit [Write error: Connection reset by peer]
Smith[m] has quit [Read error: Connection reset by peer]
clacke[m] has quit [Read error: Connection reset by peer]
Thinkofname[m] has quit [Read error: Connection reset by peer]
Lev[m] has quit [Read error: Connection reset by peer]
bachp has quit [Read error: Connection reset by peer]
jgosset[m] has quit [Read error: Connection reset by peer]
Woland[m]1 has quit [Read error: Connection reset by peer]
YanMinari[c][m] has quit [Remote host closed the connection]
nyanloutre[m] has quit [Read error: Connection reset by peer]
Ericson2314 has quit [Read error: Connection reset by peer]
sylvie[m] has quit [Read error: Connection reset by peer]
ayyjayess[m] has quit [Read error: Connection reset by peer]
ninjatrappeur[m] has quit [Read error: Connection reset by peer]
kjuvi[m] has quit [Read error: Connection reset by peer]
matthewbauer has quit [Remote host closed the connection]
MarkOtaris has quit [Read error: Connection reset by peer]
nilsirl[m] has quit [Remote host closed the connection]
clefru has quit [Remote host closed the connection]
philipp[m] has quit [Remote host closed the connection]
Florian[m]1 has quit [Remote host closed the connection]
greenerworld[m] has quit [Remote host closed the connection]
momack2[m] has quit [Remote host closed the connection]
simbergm has quit [Remote host closed the connection]
kimboking[m] has quit [Remote host closed the connection]
bee[m]1 has quit [Remote host closed the connection]
zaphar_ps[m] has quit [Write error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
Tony[m] has quit [Read error: Connection reset by peer]
zimbatm has quit [Read error: Connection reset by peer]
flip[m] has quit [Read error: Connection reset by peer]
Dan[m]5 has quit [Read error: Connection reset by peer]
Brio[m] has quit [Read error: Connection reset by peer]
Ralith has quit [Write error: Connection reset by peer]
DanP[m] has quit [Write error: Connection reset by peer]
mara[m] has quit [Write error: Connection reset by peer]
alexoundos[m] has quit [Write error: Connection reset by peer]
codyopel has quit [Write error: Connection reset by peer]
roadt[m] has quit [Write error: Connection reset by peer]
schmittlauch[m] has quit [Write error: Connection reset by peer]
Pneumaticat has quit [Write error: Connection reset by peer]
MiloIgnis[m] has quit [Write error: Connection reset by peer]
escaP[m] has quit [Write error: Connection reset by peer]
tokudan[m] has quit [Write error: Connection reset by peer]
pinage404[m] has quit [Write error: Connection reset by peer]
JaakkoLuttinen[m has quit [Write error: Connection reset by peer]
abbafei[m] has quit [Write error: Connection reset by peer]
timclassic has quit [Write error: Connection reset by peer]
Torus[m] has quit [Write error: Broken pipe]
fasd has quit [Write error: Broken pipe]
NickHu has quit [Write error: Connection reset by peer]
Seb[m] has quit [Write error: Connection reset by peer]
smolboye[m] has quit [Write error: Connection reset by peer]
bohan[m] has quit [Write error: Connection reset by peer]
uvnikita[m] has quit [Write error: Connection reset by peer]
hackeryarn[m] has quit [Write error: Broken pipe]
li_matrix has quit [Write error: Broken pipe]
ndarwincorn has quit [Write error: Connection reset by peer]
malteof[m] has quit [Read error: Connection reset by peer]
MerlinGttlinger[ has quit [Write error: Connection reset by peer]
thequux[m] has quit [Read error: Connection reset by peer]
bbigras has quit [Read error: Connection reset by peer]
bennofs[m] has quit [Read error: Connection reset by peer]
rihardsk[m] has quit [Read error: Connection reset by peer]
zurdo has quit [Remote host closed the connection]
balsoft[m] has quit [Remote host closed the connection]
am3on[m] has quit [Remote host closed the connection]
peterhoeg[m] has quit [Remote host closed the connection]
iceychris[m] has quit [Remote host closed the connection]
roberth has quit [Remote host closed the connection]
fabianhjr[m] has quit [Remote host closed the connection]
slabity has quit [Write error: Connection reset by peer]
TravisRt2botio[m has quit [Write error: Connection reset by peer]
craigevil[m] has quit [Write error: Connection reset by peer]
ptotter[m] has quit [Write error: Connection reset by peer]
timokau[m] has quit [Write error: Broken pipe]
contrun[m]1 has quit [Write error: Connection reset by peer]
nocent has quit [Write error: Connection reset by peer]
alienpirate5 has quit [Write error: Connection reset by peer]
pingveno[m] has quit [Write error: Broken pipe]
submoo[m] has quit [Write error: Connection reset by peer]
jonge[m] has quit [Write error: Connection reset by peer]
luftmensch[m] has quit [Write error: Broken pipe]
bendlas has quit [Write error: Connection reset by peer]
fgaz has quit [Write error: Connection reset by peer]
Noughtmare[m] has quit [Write error: Connection reset by peer]
jonreeve[m] has quit [Write error: Broken pipe]
ejpcmac has quit [Write error: Broken pipe]
tet[m] has quit [Write error: Connection reset by peer]
Deathmist[m] has quit [Write error: Connection reset by peer]
EuAndreh[m] has quit [Write error: Connection reset by peer]
vaibhavsagar has quit [Write error: Connection reset by peer]
Vskilet has quit [Write error: Connection reset by peer]
otini has quit [Remote host closed the connection]
regnat[m] has quit [Remote host closed the connection]
icetan has quit [Remote host closed the connection]
blitzclone[m] has quit [Remote host closed the connection]
sonercirit[m] has quit [Remote host closed the connection]
jschievink[m] has quit [Remote host closed the connection]
aquarial has quit [Write error: Connection reset by peer]
Josh[m]1 has quit [Write error: Connection reset by peer]
nrdxpmatrixorg[m has quit [Write error: Connection reset by peer]
TaoHansen[m] has quit [Write error: Connection reset by peer]
yangm97 has quit [Write error: Connection reset by peer]
v0id72[m] has quit [Write error: Connection reset by peer]
gudea[m] has quit [Write error: Connection reset by peer]
riottest000[m] has quit [Write error: Connection reset by peer]
Sabbat[m] has quit [Write error: Connection reset by peer]
manveru[m] has quit [Write error: Connection reset by peer]
bkl[m] has quit [Write error: Connection reset by peer]
frederic_chopwn4 has quit [Write error: Connection reset by peer]
rdes[m] has quit [Write error: Connection reset by peer]
copy` has quit [Write error: Broken pipe]
Markus72[m] has quit [Write error: Connection reset by peer]
hbunke[m] has quit [Write error: Connection reset by peer]
bkchr has quit [Write error: Connection reset by peer]
rnhmjoj has quit [Write error: Connection reset by peer]
danielrf[m] has quit [Remote host closed the connection]
SebastianHasler[ has quit [Remote host closed the connection]
IslandUsurper has quit [Remote host closed the connection]
das-g[m] has quit [Remote host closed the connection]
is0x3F has quit [Remote host closed the connection]
cgm[m] has quit [Remote host closed the connection]
bdesham[m] has quit [Write error: Connection reset by peer]
EB[m] has quit [Remote host closed the connection]
sputny[m] has quit [Write error: Connection reset by peer]
AntonSchirg[m] has quit [Remote host closed the connection]
rycee has quit [Write error: Connection reset by peer]
BinkyTheClown has quit [Write error: Connection reset by peer]
xenofungus[m] has quit [Write error: Connection reset by peer]
tomberekn[m] has quit [Write error: Connection reset by peer]
KarelWDingeldey[ has quit [Write error: Broken pipe]
joepie91[m] has quit [Write error: Connection reset by peer]
badmutex[m] has quit [Write error: Connection reset by peer]
mariusz-kowalski has quit [Write error: Broken pipe]
alexarice[m] has quit [Write error: Connection reset by peer]
isgy[m] has quit [Write error: Connection reset by peer]
bb010g has quit [Write error: Connection reset by peer]
attente[m] has quit [Write error: Connection reset by peer]
altavista[m] has quit [Write error: Connection reset by peer]
worldofpeace has quit [Write error: Connection reset by peer]
Obscurity[m] has quit [Write error: Connection reset by peer]
macerbi[m] has quit [Remote host closed the connection]
kaychaks[m] has quit [Remote host closed the connection]
hiroshi[m] has quit [Write error: Connection reset by peer]
alj[m] has quit [Remote host closed the connection]
dtz has quit [Write error: Broken pipe]
cornu has quit [Write error: Connection reset by peer]
HappyEnt[m] has quit [Write error: Connection reset by peer]
lel[m] has quit [Write error: Connection reset by peer]
ArtemVorotnikov[ has quit [Write error: Connection reset by peer]
Dandellion[m] has quit [Write error: Connection reset by peer]
jak[m] has quit [Remote host closed the connection]
haslersn[m] has quit [Read error: Connection reset by peer]
tsrt^ has quit [Max SendQ exceeded]
Izorkin has joined #nixos
irdr has quit [Remote host closed the connection]
shreyansh_k has quit [Ping timeout: 272 seconds]
irdr has joined #nixos
tsrt^ has joined #nixos
tsrt^ has quit [Excess Flood]
tsrt^ has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #63885 → go-tools: 2019.2 -> 2019.2.1 → https://git.io/fjo87
shreyansh_k has joined #nixos
clacke_movim has left #nixos [#nixos]
kgz has quit [Ping timeout: 272 seconds]
Anton-Latukha has joined #nixos
cfricke has joined #nixos
kgz has joined #nixos
o1lo01ol1o has joined #nixos
zupo has joined #nixos
colemickens has joined #nixos
zupo has quit [Remote host closed the connection]
fragamus has joined #nixos
ajirx has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
ajirx has joined #nixos
zupo has quit [Client Quit]
Jackneill has joined #nixos
anon1 has quit [Ping timeout: 268 seconds]
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
inquisitiv3 has quit [Remote host closed the connection]
endformationage has quit [Ping timeout: 244 seconds]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
fragamus has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Client Quit]
clacke_movim has joined #nixos
anon1 has joined #nixos
adamantium has joined #nixos
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<{^_^}> [nixpkgs] @mmahut opened pull request #63886 → packr: init at 2.5.1 → https://git.io/fjo4t
levdub has quit [Remote host closed the connection]
Lev_ has joined #nixos
nschoe has joined #nixos
<marek> can anyone ofborg build https://github.com/NixOS/nixpkgs/pull/63886 for me please?
<{^_^}> #63886 (by mmahut, 5 minutes ago, open): packr: init at 2.5.1
nschoe has quit [Client Quit]
clacke_movim has left #nixos [#nixos]
stepcut_ has joined #nixos
<lassulus> marek: btw, I guess you can open a PR to add yourself in here: https://github.com/NixOS/ofborg/blob/released/config.public.json
stepcut has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/02d750348ad (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Lev_ is now known as levdub
matthewbauer has joined #nixos
zurdo has joined #nixos
bennofs[m] has joined #nixos
bachp has joined #nixos
Ericson2314 has joined #nixos
dtz has joined #nixos
Guest36998 has joined #nixos
clacke[m] has joined #nixos
BinkyTheClown has joined #nixos
cornu has joined #nixos
Noughtmare[m] has joined #nixos
attente[m] has joined #nixos
Dandellion[m] has joined #nixos
abbafei[m] has joined #nixos
bb010g has joined #nixos
bbigras has joined #nixos
aquarial has joined #nixos
copy` has joined #nixos
flip[m] has joined #nixos
alj[m] has joined #nixos
laas has joined #nixos
alienpirate5 has joined #nixos
am3on[m] has joined #nixos
M0ddba11[m] has joined #nixos
das-g[m] has joined #nixos
domenkozar[m] has joined #nixos
Brio[m] has joined #nixos
MiloIgnis[m] has joined #nixos
craige[m] has joined #nixos
Minijackson[m] has joined #nixos
escaP[m] has joined #nixos
tet[m] has joined #nixos
v88m has quit [Read error: Connection reset by peer]
clefru has joined #nixos
DanP[m] has joined #nixos
Florian[m] has joined #nixos
alexoundos[m] has joined #nixos
ndarwincorn has joined #nixos
Deathmist[m] has joined #nixos
EuAndreh[m] has joined #nixos
bohan[m] has joined #nixos
cyberwolf[m] has joined #nixos
is0x3F has joined #nixos
aterius has joined #nixos
atopuzov[m] has joined #nixos
altavista[m] has joined #nixos
bdesham[m] has joined #nixos
Markus72[m] has joined #nixos
craigevil[m] has joined #nixos
derangednerd[m] has joined #nixos
abbec has joined #nixos
bendlas has joined #nixos
frederic_chopwn[ has joined #nixos
IslandUsurper has joined #nixos
leons has joined #nixos
ejpcmac has joined #nixos
danielrf[m] has joined #nixos
kaychaks[m] has joined #nixos
codyopel has joined #nixos
bricewge has joined #nixos
icetan has joined #nixos
jak[m] has joined #nixos
isgy[m] has joined #nixos
hiroshi[m] has joined #nixos
haslersn[m] has joined #nixos
manveru[m] has joined #nixos
jonge[m] has joined #nixos
macerbi[m] has joined #nixos
JaakkoLuttinen[m has joined #nixos
malteof[m] has joined #nixos
luftmensch[m] has joined #nixos
jschievink[m] has joined #nixos
jasongrossman[m] has joined #nixos
harkenedraven has joined #nixos
mara[m] has joined #nixos
MarkOtaris has joined #nixos
kuznero[m] has joined #nixos
badmutex[m] has joined #nixos
bkl[m] has joined #nixos
li_matrix has joined #nixos
goibhniu has joined #nixos
greenerworld[m] has joined #nixos
iceychris[m] has joined #nixos
HappyEnt[m] has joined #nixos
Pneumaticat has joined #nixos
joepie91[m] has joined #nixos
bkchr has joined #nixos
rycee has joined #nixos
timokau[m] has joined #nixos
sphalerit has joined #nixos
simbergm has joined #nixos
yangm97 has joined #nixos
ptotter[m] has joined #nixos
corpix[m] has joined #nixos
nyanloutre[m] has joined #nixos
vaibhavsagar has joined #nixos
hackeryarn[m] has joined #nixos
EB[m] has joined #nixos
nh2[m] has joined #nixos
olejorgenb[m] has joined #nixos
bee[m]1 has joined #nixos
philipp[m] has joined #nixos
Seb[m] has joined #nixos
Vskilet has joined #nixos
wak-work has joined #nixos
contrun[m] has joined #nixos
Ralith has joined #nixos
MerlinGttlinger[ has joined #nixos
AntonSchirg[m] has joined #nixos
apx[m] has joined #nixos
thefloweringash has joined #nixos
momack2[m] has joined #nixos
worldofpeace has joined #nixos
thequux[m] has joined #nixos
slabity has joined #nixos
uvnikita[m] has joined #nixos
freddie_freeload has joined #nixos
alexarice[m] has joined #nixos
cgm[m] has joined #nixos
ayyjayess[m] has joined #nixos
submoo[m] has joined #nixos
ninjatrappeur[m] has joined #nixos
neonfuz2 has joined #nixos
rdes[m] has joined #nixos
nocent has joined #nixos
musicmatze has joined #nixos
weebull[m] has joined #nixos
Tony[m] has joined #nixos
pinage404[m] has joined #nixos
zaphar_ps[m] has joined #nixos
sylvie[m] has joined #nixos
amorosa1984[m] has joined #nixos
siraben has joined #nixos
roberth has joined #nixos
Thinkofname[m] has joined #nixos
spacekitteh[m] has joined #nixos
Sabbat[m] has joined #nixos
fasd has joined #nixos
balsoft[m] has joined #nixos
fabianhjr[m] has joined #nixos
alan[m] has joined #nixos
grahamc[m] has joined #nixos
zimbatm has joined #nixos
blitzclone[m] has joined #nixos
bpye has joined #nixos
gudea[m] has joined #nixos
roadt[m] has joined #nixos
rihardsk[m] has joined #nixos
NickHu has joined #nixos
jonreeve[m] has joined #nixos
makaveli[m] has joined #nixos
rizary has joined #nixos
Torus[m] has joined #nixos
regnat[m] has joined #nixos
kjuvi[m] has joined #nixos
MayeulC_backup has joined #nixos
timclassic has joined #nixos
pingveno[m] has joined #nixos
marko[m]1 has joined #nixos
saikrishi1109[m] has joined #nixos
Dan[m]6 has joined #nixos
Smith[m] has joined #nixos
TravisRt2botio[m has joined #nixos
ArtemVorotnikov[ has joined #nixos
nrdxpmatrixorg[m has joined #nixos
otini has joined #nixos
mariusz-kowalski has joined #nixos
GerdFlaig[m] has joined #nixos
lel[m] has joined #nixos
kimboking[m] has joined #nixos
Notkea[m] has joined #nixos
nilsirl[m] has joined #nixos
nbardiuk has joined #nixos
schmittlauch[m] has joined #nixos
sonercirit[m] has joined #nixos
Obscurity[m] has joined #nixos
KarelWDingeldey[ has joined #nixos
YanMinari[c][m] has joined #nixos
Manish[m] has joined #nixos
SebastianHasler[ has joined #nixos
Lev[m] has joined #nixos
hbunke[m] has joined #nixos
rnhmjoj has joined #nixos
tokudan[m] has joined #nixos
sputny[m] has joined #nixos
Josh[m]1 has joined #nixos
xenofungus[m] has joined #nixos
smolboye[m] has joined #nixos
retrry[m] has joined #nixos
Gopal[m] has joined #nixos
orospakr[m] has joined #nixos
Woland[m] has joined #nixos
riottest000[m] has joined #nixos
TaoHansen[m] has joined #nixos
jasonk000[m] has joined #nixos
Nover[m] has joined #nixos
zik[m] has joined #nixos
ploupiboulba[m] has joined #nixos
MichalLaskus[m] has joined #nixos
peterhoeg[m] has joined #nixos
v0id72[m] has joined #nixos
seese[m] has joined #nixos
tomberekn[m] has joined #nixos
pop[m]1 has joined #nixos
jgosset[m] has joined #nixos
<etu> Hi matrix
kvaster has quit [Ping timeout: 246 seconds]
zupo has joined #nixos
calbrecht[mb] has quit [Remote host closed the connection]
<marek> lassulus: I did, but I don't think it's going to get merged https://github.com/NixOS/ofborg/pull/370
<{^_^}> ofborg#370 (by mmahut, 1 week ago, open): extra-known-users: adding mmahut
zupo has quit [Remote host closed the connection]
<marek> I think I need to join patreon :)
veske has joined #nixos
zupo has joined #nixos
<lassulus> that would be a shame :D
calbrecht[mb] has joined #nixos
<lassulus> hopefully it will be merged soon
zupo has quit [Remote host closed the connection]
cyberwolf[m] is now known as byzoni[m]
levdub has quit [Quit: Textual IRC Client: www.textualapp.com]
levdub has joined #nixos
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
cfricke has quit [Quit: WeeChat 2.5]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
levdub has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
levdub has joined #nixos
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
v88m has joined #nixos
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8789ff3179a (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
zupo has joined #nixos
Shoubit has joined #nixos
alp has quit [Ping timeout: 244 seconds]
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
wfranzini has joined #nixos
zupo has quit [Remote host closed the connection]
adamantium has quit [Remote host closed the connection]
zupo has joined #nixos
rauno has quit [Ping timeout: 252 seconds]
clacke_movim has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
<eyJhb> etu: haha, always good to see all the matrix users rejoining
fragamus has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
acarrico has quit [Ping timeout: 258 seconds]
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
fragamus has quit [Read error: Connection reset by peer]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
levdub has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #63887 → prototool: init at 1.8.0 → https://git.io/fjo4Q
zupo has quit [Remote host closed the connection]
gyroninja___ has quit [Ping timeout: 252 seconds]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
gyroninja___ has joined #nixos
stepcut has joined #nixos
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
stepcut_ has quit [Ping timeout: 276 seconds]
zupo has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Kirens opened pull request #63888 → trivial-builders: Fix writeShellScript example → https://git.io/fjo4b
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
kvaster has joined #nixos
zupo has joined #nixos
<lurpahi> I'd use Matrix if I had a good client for it.
zupo has quit [Remote host closed the connection]
<alexarice[m]> is there a nice way of finding a nixpkgs attribute name from the derivation path?
alp has joined #nixos
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
clacke_movim has left #nixos [#nixos]
zupo has quit [Remote host closed the connection]
clacke_movim has joined #nixos
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #63889 → elisa: 0.3.0 -> 0.4.1 → https://git.io/fjo4j
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
adamantium has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
vmandela has quit [Quit: Leaving]
zupo has joined #nixos
Ariakenom has joined #nixos
dkibi has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #63830 → qmapshack: 1.12.3 -> 1.13.0 → https://git.io/fjrAR
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjoBq
vmandela has joined #nixos
zupo has quit [Remote host closed the connection]
sb0 has joined #nixos
zupo has joined #nixos
acarrico has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #63803 → linuxptp: init at 2.0 → https://git.io/fjrie
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjoBO
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
Makaveli7 has joined #nixos
zupo has quit [Remote host closed the connection]
adamantium has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
Tucky has joined #nixos
<kvaster> Hello. I'm using gentoo as a host system and want to use nixops to deploy to remote nixos hosts. The problem is that I'm using custom kernel settings and it always try to build it on my local host. Is there any way to force remote builder ? (building kernel fails using nix-shell)
zupo has quit [Remote host closed the connection]
sigmundv has joined #nixos
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
hoijui has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
ThatDocsLady has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
<teto> kvaster: builds must respect some constraints/features. If you disable these features on your host, you could force building the kernel remotely https://nixos.wiki/wiki/Distributed_build
<teto> kernel asks for "big-parallel" for instance
zupo has quit [Remote host closed the connection]
thc202 has joined #nixos
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
<{^_^}> [nixpkgs] @priegger opened pull request #63890 → factorio: alpha experimental 0.17.32 -> 0.17.52 → https://git.io/fjoBV
zupo has quit [Remote host closed the connection]
Swant has quit [Quit: Gone to IKEA]
Swant has joined #nixos
ym555 has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
fusion809 has quit [Remote host closed the connection]
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
sigmundv has quit [Ping timeout: 248 seconds]
<kvaster> thanks
<kvaster> I will try
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
hlolli__ has joined #nixos
zupo has joined #nixos
zupo has quit [Client Quit]
cfricke has joined #nixos
hlolli_ has quit [Ping timeout: 252 seconds]
psy3497 has quit [Ping timeout: 248 seconds]
gratto has quit [Ping timeout: 246 seconds]
zupo has joined #nixos
Guest36998 is now known as fgaz
ThatDocsLady has quit [Quit: Leaving]
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
anon1 has quit [Quit: WeeChat 2.4]
zupo has joined #nixos
psyanticy has joined #nixos
zupo has quit [Remote host closed the connection]
alex`` has joined #nixos
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.5]
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
hyper_ch2 has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
gratto has joined #nixos
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
o1lo01ol1o has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
Ariakenom_ has joined #nixos
kl3 has left #nixos [#nixos]
cfricke has quit [Quit: WeeChat 2.5]
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
Ariakenom has quit [Ping timeout: 246 seconds]
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/02d750348ad (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
Makaveli7 has joined #nixos
<xantoz> oops
<xantoz> this isn't rtorrent
<manveru> xantoz: IRC can be anything you want!
hoijui has quit [Quit: Leaving]
<hyper_ch2> rtorrent-ps <3
<hyper_ch2> nyaa... that sounds like anime
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fjo0t
gratto has quit [Read error: Connection reset by peer]
gratto has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #63569 → luaPackages.bit32: Tiny patch to fix a LuaJIT-incompatible declaration → https://git.io/fjVyG
hio has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
rauno has joined #nixos
pie_ has quit [Ping timeout: 250 seconds]
rauno has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fjo0s
stepcut_ has joined #nixos
stepcut has quit [Ping timeout: 244 seconds]
kvaster has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
sigmundv has joined #nixos
kvaster has joined #nixos
<aanderse> Izokin: why is it a problem if all users can see that directory?
<aanderse> ** Izorkin
sb0 has quit [Quit: Leaving]
xkapastel has joined #nixos
hlolli__ has quit [Ping timeout: 272 seconds]
rauno has joined #nixos
rauno has quit [Ping timeout: 250 seconds]
<Izorkin> aanderse: assumed it would be safer. Or I'm wrong?
zupo has joined #nixos
snow has joined #nixos
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
veske2 has joined #nixos
veske has quit [Ping timeout: 268 seconds]
<snow> Hi. This may be a bit of a noob question but I want to get it right. https://nixos.wiki/wiki/Full_Disk_Encryption tells you to add the key to sda1 which in this case seems to be the boot/efi partition. But inother guides the boot/efi partition is not encrypted. Also luksAddKey will not work unless i format it with luksFormat first. Anyone know what
<snow> I am missing here?
orivej has joined #nixos
cfricke has joined #nixos
zupo has quit [Ping timeout: 244 seconds]
<aanderse> Izorkin: prior to your change the directory was accessible to everyone. I'm pretty sure ownership+permissions on the file take care of it, the way it was
o1lo01ol1o has quit [Remote host closed the connection]
<mthst> snow: afaik it's possible to encrypt the boot partition https://gist.github.com/ladinu/bfebdd90a5afd45dec811296016b2a3f
<mthst> snow: but you can just replace /dev/sda1 with whatever you want to encrypt
hyper_ch2 has quit [Remote host closed the connection]
silver has joined #nixos
Anton-Latukha has quit [Ping timeout: 245 seconds]
<snow> mthst: Cool, then that's confirmed. Thanks
<mthst> snow: no problem
hyper_ch2 has joined #nixos
sigmundv has quit [Ping timeout: 248 seconds]
o1lo01ol1o has joined #nixos
ThatDocsLady_ has joined #nixos
<mthst> i have a problem with iwlwifi, it's missing iwlwifi-6000g2a-ucode. i'm aware of hardware.firmware, but how do i find the appropriate package?
o1lo01ol1o has quit [Remote host closed the connection]
ThatDocsLady has quit [Remote host closed the connection]
snow has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @priegger opened pull request #63891 → prometheus-tor-exporter: 0.3 -> 0.4 → https://git.io/fjo0i
<emilsp> has anyone tried to compile rust things for android on NixOS? Seems like when I'm using rust-overlay, when constructing a rust derivation that has the appropriate target, the compiler is still using the host's linker.
<nh2> aminechikhaoui: thanks for fixing the manual (I assume it was you).
<nh2> and thus aren't clickable -- should that work?
<nh2> file:///nix/store/yz9mk5zfjrzp8m0rxlsdbrrg7z6f5zax-source/nix/ec2-security-group.nix
<nh2> I notice that the `Declared by:` links still point to e.g.
o1lo01ol1o has joined #nixos
samrose_ has joined #nixos
samrose has quit [Ping timeout: 252 seconds]
<nh2> That way you can force building remotely
<nh2> > To never use the local machine set the `max-jobs` nix option to 0
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):255:40
o1lo01ol1o has quit [Remote host closed the connection]
simukis_ has joined #nixos
<Izorkin> aanderse: It is possible to leave the current version? Or change to RuntimeDirectory = "phpfpm";
qubasa has joined #nixos
simukis__ has quit [Ping timeout: 246 seconds]
<nh2> aminechikhaoui: I spoke too early, there is still some red XML in there, I had just scrolled too far
turion has joined #nixos
<turion> While I'm working on some custom derivation I forked off github, I'm running into "hash mismatch in fixed-output derivation". But I've grepped through the whole project for the hashes it complains about, and can't find them. `--show-trace` isn't very helpful either. Any hints how I'd go about debugging this?
<turion> Should I grep through all of my /nix/store for this hash?
snow has joined #nixos
<teto> what's the equivalent to boot.initrd.network.postCommands but that runs last ? I would like to run "ip link add nlmon0 type nlmon " automatically on each boot
waleee-cl has joined #nixos
hlolli__ has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @talkara opened pull request #63892 → pythonPackages.robotframework: 3.0.4 -> 3.1.2 → https://git.io/fjo0j
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
palo has quit [Quit: WeeChat 2.4]
palo has joined #nixos
<turion> I have a dynamically linked executable. When I do `ldd my-executable`, I get a lot of `libfoo.so.1 => not found`. Can I start a nix-shell with the libraries in path and somehow start the executable?
veske2 has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/fjoE8
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/74e217e6af5 (from 86 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-19.03: https://git.io/fjoEB
tommyangelo_ has joined #nixos
tommyangelo has quit [Ping timeout: 245 seconds]
fendor has joined #nixos
<aanderse> Izorkin: i think we should change the directory structure back. das_j has a runtimedirectory PR i believe
<aanderse> Izorkin: there are also some other issues with the module now
<aanderse> i haven't had time to extensively test
<Izorkin> You can write current problems, I'll try to check later
veske2 has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.5]
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> turion: You need to either build it with the correct libraries if you have built it from source, or patch the binary with patchelf if you don't have the source
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mmahut opened pull request #63893 → gomuks: 2018-07-10 -> 2019-06-28 → https://git.io/fjoE5
ravloony has joined #nixos
<turion> infinisil, I ended up doing `nix-env -iA libfoo` and then `export LD_LIBRARY_PATH=~/.nix-profile/lib:$LD_LIBRARY_PATH`
<turion> But I'm still getting "No such file or directory" which I don't understand
<turion> I didn't understand how to use patchelf
stepcut has joined #nixos
tommyangelo_ has quit [Ping timeout: 244 seconds]
iyzsong has joined #nixos
stepcut_ has quit [Ping timeout: 248 seconds]
Miyu-chan has quit [Ping timeout: 248 seconds]
Anton-Latukha has joined #nixos
Miyu-chan has joined #nixos
o1lo01ol1o has joined #nixos
Miyu-chan is now known as Guest12652
tommyangelo_ has joined #nixos
ravloony has quit [Read error: Connection reset by peer]
ravloony has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
m0rphism has quit [Ping timeout: 258 seconds]
tommyangelo_ has quit [Ping timeout: 258 seconds]
Miyu-chan has joined #nixos
Guest12652 is now known as Miyu-chan
cfricke has quit [Quit: WeeChat 2.5]
o1lo01ol1o has joined #nixos
domogled has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/74e217e6af5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/75a88c1b9d0 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nixpkgs] @abbradar merged pull request #63574 → openjfx11: init at 11.0.3+1 → https://git.io/fjV9P
<{^_^}> [nixpkgs] @abbradar pushed to master « openjfx11: init at 11.0.3+1 »: https://git.io/fjouI
rprije has quit [Ping timeout: 244 seconds]
acarrico has quit [Ping timeout: 244 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ambrop72 opened pull request #63894 → nixos/opengl: Don't set XDG_DATA_DIRS. → https://git.io/fjous
<infinisil> turion: look at examples in nixpkgs and patchelf --help
srid6390803 has quit [Ping timeout: 258 seconds]
sigmundv has joined #nixos
srid6390803 has joined #nixos
vmandela has quit [Quit: Leaving]
ajirx has quit [Remote host closed the connection]
srid6390803 has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
snow has quit [Ping timeout: 260 seconds]
acarrico has joined #nixos
lordcirth_ has quit [Remote host closed the connection]
lordcirth_ has joined #nixos
lordcirth_ has quit [Remote host closed the connection]
srid6390803 has joined #nixos
erik-4levels has joined #nixos
lordcirth_ has joined #nixos
<erik-4levels> Hi all, can anyone please provide an example overlay to add a custom php package?
lordcirth_ has quit [Remote host closed the connection]
lordcirth_ has joined #nixos
<erik-4levels> This seems really hard to achieve, I've spent way to much time already trying..
<erik-4levels> Getting all kinds of errors since I'm no export whatsoever, just a long time user
<turion> infinisil, I believe the workaround `export LD_LIBRARY_PATH=~/.nix-profile/lib:$LD_LIBRARY_PATH` does mostly the same, right?
root has joined #nixos
lordcirth_ has quit [Read error: Connection reset by peer]
<erik-4levels> I posted on discourse as well -> https://discourse.nixos.org/t/how-to-add-a-custom-php-extension/3305
lordcirth_ has joined #nixos
root is now known as Guest96732
kvaster has quit [Ping timeout: 245 seconds]
Miyu-chan is now known as Guest1951
Guest96732 has joined #nixos
Guest96732 has quit [Changing host]
Guest1951 has quit [Killed (card.freenode.net (Nickname regained by services))]
Guest96732 is now known as Miyu-chan
<turion> For context, this is what I'm trying: https://github.com/luna/luna-manager/issues/127#issuecomment-506709591
endformationage has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
hyper_ch2 has quit [Remote host closed the connection]
veske2 has quit [Quit: This computer has gone to sleep]
<aminechikhaoui> nh2 yes I haven't updated nixos.org with the latest fix, I'll do that in few minutes
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-19.03: https://git.io/fjozt
ddellacosta has joined #nixos
<infinisil> turion: it's a hack really
<infinisil> It gets rid of Nix's reproducibility
hmpffff has joined #nixos
<infinisil> And it might not always work
<etu> turion: One should not install libs with nix-env
hyper_ch2 has quit [Remote host closed the connection]
<turion> Yes, it's just to get started. I wouldn't do this in a PR to nixpkgs.
<manveru> even then :)
<turion> infinisil, etu: I basically want to test some program on my machine before I make the effort to integrate it nicely into nixpkgs
<etu> turion: What's the first line in that file?
<turion> It's binary
<infinisil> turion: Check out the flags of patchelf, there are a couple of them that will show you information on the binary, the interpreter one is the one you need
<etu> turion: ah, makes sense. Got thrown off by it saying bash
<turion> etu, you're saying it's looking for /bin/bash maybe?
<turion> Might be
<etu> nah
<etu> I don't think it does
<infinisil> It looks for an interpreter that doesn't exist..
<infinisil> Just check out what patchelf has to say
<turion> manveru: Even getting started to write a proper derivation for something like this is still so hard
snow has joined #nixos
<manveru> turion: sorry, it's just that i usually wish nix-env didn't exist ;)
<gchristensen> +1
<turion> manveru: sorry, it's just that I wish how not to use it
<manveru> for your use-case, nix-shell is the cleanest way i think
simukis__ has joined #nixos
simukis_ has quit [Ping timeout: 244 seconds]
<turion> manveru, tried it, but where do the libs end up?
<manveru> in buildInputs
<turion> I mean, can I repeat the hack I did with nix-env also with nix-shell?
<snow> Hmm. For Luks if I specify mounting in the normal config, do I have to remove the auto/generated hw-config settings? It seems t otry to mount my root drive twice
<slabity> Anyone with access think they could take a look at #63339 - It's a pretty simple change that fixes a configuration option: https://github.com/NixOS/nixpkgs/pull/63339
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63339 (by Slabity, 1 week ago, open): Fix restya-board's phpfpm.pools option
<turion> infinisil: patchelf --print-interpreter luna-manager says "/lib64/ld-linux-x86-64.so.2". Sounds like a culprit
<betaboon> i have never ever used nix-env
<aminechikhaoui> nh2 ok I think the nixops manual should be fixed correctly now
ddellacosta has quit [Ping timeout: 245 seconds]
<manveru> turion: well, at least it can be made reproducible
<infinisil> turion: exactly, what other patchefl flag sounds like it could fix this?
<manveru> turion: because i have no clue what your hack actually does without knowing what's installed on your whole system
<{^_^}> [nixpkgs] @wmertens pushed to noxlibs-nognome « environment.noXlibs: disable gnome3 for pinentry »: https://git.io/fjozB
<turion> manveru: For me, without more helpful docs I have to stop after "at least it can be made". I mean, I use nixos for two years now and still can't get a simple installer to run that runs on other linuxes
<{^_^}> [nixpkgs] @wmertens opened pull request #63896 → environment.noXlibs: disable gnome3 for pinentry → https://git.io/fjozR
<turion> infinisil: Yeah, --set-interpreter. Do I have to look that up from the store somehow?
<infinisil> That will never work however long you use nixos, it's just not something you can expect on nixos
<infinisil> turion: Take a look at examples in nixpkgs that use --set-interpreter
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2e38c0e7486 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<turion> So many amazing things work in nixos. Can't I write a script like "run this executable in a chroot and whenever it uses a library in a location that is standard in other distros, add this to the list of dependencies"
<turion> "...and make a nix derivation out of the whole thing
<turion> infinisil: Those examples use NIX_CC or something like ${pkgsi686Linux.glibc}, which I suppose is replaced by the store path by nix
<turion> So how come that when I run ldd luna-manager, it finds some of the libraries and not others?
<{^_^}> [nix] @edolstra pushed to master « Fix macOS build failure »: https://git.io/fjoz2
<infinisil> turion: You have access to NIX_CC in the nix-shell or a nix-build, so you can use that
<Shoubit> Can I recover from a destructive `nix-store --delete --ignore-liveness X` or am I screwed?
<srhb> Shoubit: NixOS? If so, nixos-install might be helpful :)
<gchristensen> ouch, what lead you to run that command, Shoubit?
kvaster has joined #nixos
fendor has quit [Ping timeout: 248 seconds]
<Shoubit> Saw https://unix.stackexchange.com/questions/381853/is-there-any-way-to-remove-single-package-from-cache -- I wanted to nix-build a derivation without --check because that seemed to actually compile stuff
<Shoubit> srhb, as in boot with the live cd and do that again?
<turion> infinisil: Ok :) here my knowledge about dynamic linking ends. Which dynamic linker to use? If I do nix-shell -p foo, what should I write for foo?
<Shoubit> (as in compile stuff that I know I can get from a binary cache)
leotaku has joined #nixos
<gchristensen> oh dear, unfortunate to see --ignore-liveness from vcunat there
<turion> I guess stdenv...
lopsided98_ has quit [Remote host closed the connection]
<betaboon> turion: have you tried stack2nix ?
lopsided98 has joined #nixos
<turion> betaboon: No. But to be fair, if I could build the project with stack, I wouldn't bother about nix until I submit a PR
<{^_^}> [nixpkgs] @fpletz merged pull request #63880 → youtube-dl: 2019.06.21 -> 2019.06.27 → https://git.io/fjoWZ
<{^_^}> [nixpkgs] @fpletz pushed commit from @xrelkd to master « youtube-dl: 2019.06.21 -> 2019.06.27 »: https://git.io/fjozd
<{^_^}> [nixpkgs] @abbradar pushed 2 commits to master: https://git.io/fjozF
npmccallum has joined #nixos
tokudan has quit [Quit: ZNC 1.7.3 - https://znc.in]
kvaster has quit [Ping timeout: 246 seconds]
fendor has joined #nixos
tokudan has joined #nixos
justbeingglad has joined #nixos
<Taneb> I've just managed to segfault nix... :(
m0rphism has joined #nixos
Shoubit has quit [Remote host closed the connection]
pie_ has joined #nixos
<Miyu-chan> test
<yorick> Taneb: nix repl always does it for me
joepie91[m] has quit [Disconnected by services]
<Taneb> yorick: this was nix-build
<Miyu-chan> Seems like #nixos-chat redirects to #nixos-unregistered, but not #nixos itself.
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2e38c0e7486 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
joepie91[m] has joined #nixos
<Taneb> nix-instantiate, I think
joepie91[m] has quit [Disconnected by services]
joepie91[m] has joined #nixos
kim0 has joined #nixos
<erik-4levels> Hi joepie91, can you point me in the right direction on how to add a custom phpPackage using overlays?
<erik-4levels> It also adds a build option to php itself..
<{^_^}> [nixpkgs] @primeos pushed to master « jekyll: Improve the "jekyll new" experience »: https://git.io/fjog8
xkapastel has joined #nixos
snow has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 258 seconds]
<turion> Lol. The docs for patchelf say to do "sudo make install" to install it.
<clacke_movim> turion: Sounds pretty common?
<clacke_movim> A normal configure make make install package will default to installing in /usr/local
<turion> clacke_movim: I just find it funny that a tool coming out of the Nix world asks you to do that
hlolli_ has joined #nixos
<turion> It's as if your vegan friend recommends you a steak house
<clacke_movim> Hehe
Ariakenom_ has quit [Quit: Leaving]
<clacke_movim> Still, if non-Nix consumers are supposed to be able to use it, just produce it as a normal meat dish, and then filter the meat when importing to Nix, just like with every other package :-)
<clacke_movim> But yeah, I do see the humor, just didn't realize patchelf originated with Nix
acarrico has quit [Ping timeout: 258 seconds]
hlolli__ has quit [Ping timeout: 252 seconds]
hoijui has joined #nixos
<clacke_movim> I always assumed it was preexisting and happened to suit Nix's purposes
<wucke13> How comes that there is no sdformat that is not broken both in unstable and 19.03?
<samueldr> hm?
turion has quit [Ping timeout: 258 seconds]
<samueldr> the most likely answer is "because there is no active maintainer for the package / no one using it"
snow has joined #nixos
<wucke13> Thats sad. Shall I open a github issue?
<gchristensen> would you like to maintain it? :)
Tucky has quit [Quit: WeeChat 2.5]
rauno has joined #nixos
erik-4levels has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @abbradar pushed to master « virtualbox: enable Java bindings »: https://git.io/fjo2n
<snow> Wow I am really confused by the boot process. Mdadm seems to have lower prcedence than Luks so it will not mount that. Also, it tries to mount the root partition twice, where once of the times it does not read the key from usb. Any idea what how to deal with these two issues?
<snow> will not mount a raid-partition *
<wucke13> gchristensen: Yes and No :D
<snow> I am able to mount it manually but I see have to do luksOpen first
rauno has quit [Ping timeout: 252 seconds]
<ivan> snow: doesn't it make sense to have luks on top of mdadm to avoid encrypting twice
hmpffff has quit [Quit: nchrrrr…]
amz3 has joined #nixos
<amz3> hello nixos community, I would like to know if it is (still?) possible to install and run nix package manager without any superuser rights.
Soo_Slow has joined #nixos
snow has quit [Remote host closed the connection]
snow has joined #nixos
<snow> I have luks on top of mdadm
<snow> ivan
<ivan> amz3: this works on nixos, and on other linuxes if root creates /nix (or you want to compile everything to some other path)
iyzsong has quit [Ping timeout: 276 seconds]
anon has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #63898 → guardian-agent: init at 0.7.2-beta → https://git.io/fjo2Q
anon is now known as Guest18984
<amz3> ivan: yes, I would like to be able to never use root to install and use nix the package manager, on top of another distro. Much like python's pip but that would support the installation of shared libraries .so built from c, c++, prolly others. Everything should happen in user's home directory.
<ivan> snow: mdadm should assemble the md volumes before the nixos cryptsetup prompt shows up
justbeingglad has quit [Quit: Leaving.]
<ivan> It works here anyway and I can ssh into dropbear and provide a password
<marek> can someone please ofborg build this for me? https://github.com/NixOS/nixpkgs/pull/63898
<{^_^}> #63898 (by mmahut, 2 minutes ago, open): guardian-agent: init at 0.7.2-beta
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<amz3> it might goes against nix philosophy.
<snow> ivan: Then I am not sure where the problem lies. Its added under initrd.luksDevices... should the crypto part be configured in fileSystems perhaps?
knupfer has joined #nixos
<ivan> amz3: on Linux this can be done with https://github.com/nix-community/nix-user-chroot or that original it links to
<manveru> looks like insomnia broke on 19.03
knupfer has quit [Client Quit]
knupfer has joined #nixos
<ivan> snow: if you have luks on top of mdadm, the mdadm is autodetected and you just need boot.initrd.luks.devices and then fileSystems using a /dev/mapper/NAME
<ivan> use /dev/disk/by-uuid/UUID in luks.devices
<snow> Ivan: Ok, that is pretty much what I am doing. Except I am not doing it by UUID
<ivan> snow: did you write md0?
orivej has joined #nixos
<snow> Ivan: I wrote device = "/dev/md0" yeah
<ivan> snow: yeah, surprise, it's probably md127 after reboot
<snow> If I ls dev I do see md0
<ivan> ah maybe something else went wrong then
<snow> but it may be due to mdadmConf config
<snow> Ivan: I have this ARRAY string which specifies dev/md0. However, I can mount the drive if I do luksOpen then mount
<snow> lets try by UUID anyway
<amz3> ivan: tx!
snow has quit [Remote host closed the connection]
snow has joined #nixos
m0rphism has quit [Ping timeout: 258 seconds]
<{^_^}> [nix] @aniketd opened pull request #2977 → Fix `http2 = false` having no effect. → https://git.io/fjoa3
selfsymmetric-mu has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
v88m has quit [Ping timeout: 245 seconds]
jabranham has joined #nixos
<snow> Where does nixos keep the startup log btw? I cannot read the error fast enough. :x
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<manveru> snow: dmesg
sg2002 has joined #nixos
m0rphism has joined #nixos
<makefu> or "journalctl -kb"
<manveru> ah, that's much nicer
<manveru> makefu++
<{^_^}> makefu's karma got increased to 3
<snow> manveru: Thanks
sigmundv has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to master « linux_testing_hardened: fix modDirVersion »: https://git.io/fjoa2
<snow> strange. Says VFS cannot find ext4 filesystem. So I am guessing it is unable to decrypt. When doing cryptsetup -dl="/dev/sde" -l 4096 luksOpen /dev/md0 crypted-raid it says "Failed to open keyfile""
<clever> snow: what does `blkid /dev/sde` and `blkid /dev/md0` say?
ThatDocsLady_ has quit [Remote host closed the connection]
<snow> clever: sde does not show up in blkid after dding the key to it
ThatDocsLady_ has joined #nixos
<snow> While md0 shows the drive and type= crypto_LUKS
<clever> snow: and what path did you try to mount ext4 from?
m0rphism has quit [Ping timeout: 244 seconds]
<clever> snow: ah wait, yeah, it looks like its failing to decrypt due to failing to find the key file
<snow> For the raid /dev/mapper/crypted-raid
<clever> snow: and that likely doesnt exist yet
<snow> Well if it fails to decrypt then yeah
<snow> key is written as raw bytes to the start of the usb memory device
o1lo01ol1o has joined #nixos
<clever> snow: i'm paranoid and feel it would be more secure to use a keyfile on a normal fs
m0rphism has joined #nixos
<snow> but then I have to mount it first not? Well there is a vfat tutorial. I could probably use that.
<snow> Thanks for the directions so far :)
dansho has joined #nixos
m0rphism has quit [Ping timeout: 258 seconds]
ThatDocsLady_ has quit [Quit: Leaving]
wfranzini has quit [Remote host closed the connection]
Miyu-chan has quit [Quit: WeeChat 2.4]
root has joined #nixos
Miyu-chan has joined #nixos
root is now known as Miyu-chan
Miyu-chan has quit [Changing host]
jophish has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @vcunat pushed to release-19.03 « linux_testing_hardened: fix modDirVersion »: https://git.io/fjoab
<{^_^}> [nixpkgs] @pasqui23 opened pull request #63899 → Nixos/kdeconnect:Added programs.kdeconnect option → https://git.io/fjoah
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<Dandellion[m]> so what happens when hydra finishes building all the staging jobs ?
<Dandellion[m]> there's only one package left ^^
leotaku has quit [Ping timeout: 245 seconds]
Drakonis has joined #nixos
Ariakenom has joined #nixos
alex`` has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Ping timeout: 244 seconds]
fendor has quit [Ping timeout: 268 seconds]
Drakonis has quit [Quit: WeeChat 2.4]
jophish has joined #nixos
o1lo01ol1o has joined #nixos
Jackneill has quit [Remote host closed the connection]
leotaku has joined #nixos
<elvishjerricco> How do you fix `nix-store: command not found` in an uninteractive shell again?
<elvishjerricco> Single user install on ubuntu
erasmas has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<elvishjerricco> Er, rather with `ssh host nix-store --help`
o1lo01ol1o has joined #nixos
rfold has joined #nixos
hoijui has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
<gentauro> I'm been using for years a script to update `/etc/hosts` with a list of "know ads services" where each of the know IP addresses is pointed to `0.0.0.0`. It's a very effective (combined with Ad-blockers) to remove a lot of shit on websites ... but how do I do it on NixOS? https://unix.stackexchange.com/a/489511
<gentauro> it seem a bit "overkill" that I have to update my `/etc/nixos/configuarion.nix` and `nixos-rebuild switch` for that ...
<gentauro> any ideas on how to do it another way?
<c00w> gentauro: why is that overkill? I have some custom host entries and I add them via configuration.nix
<c00w> In general all of nixos is configured from configuration.nix
<gentauro> c00w: we are talking about `13217` entries
<gentauro> I mean, I like to maintain my configuration in a `readable` form ...
<c00w> Ah - got it.
<c00w> You could make another nixos file called hosts.nix, have your script generate that, then import it from configuration.nix and use it there
<c00w> That would let you keep your configuration.nix readable
<c00w> Another option may be to get systemd-resolved to read a second hosts file.
<c00w> But eyeballing the docs I can't see an easy way to get systemd-resolved to read a second host file.
edwards has joined #nixos
<c00w> You also could potentially disable nixos generating the hosts file.
<c00w> enironment.etc."hosts".enable = false; might do the trick.
<gentauro> How -> c00w> You also could potentially disable nixos generating the hosts file
<gentauro> oh
<gentauro> now we can't search for options anymore? https://nixos.org/nixops/ :(
<c00w> Seems to work
<gentauro> c00w: yep
o1lo01ol1o has quit [Remote host closed the connection]
ravloony has quit [Quit: Leaving]
Soo_Slow has quit [Remote host closed the connection]
<samueldr> (the options menu option wasn't in the nixops section beforehand)
<gchristensen> samueldr: I think maybe the website update was a good idea, but needs a bit more thinking
<samueldr> the issue is with the top navigation, not the front page, so I think only those changes need to be reviewed
<gentauro> c00w: that worked :)
<gentauro> well the website almost lost it's purpouse if you can't search for `options` and `packages` ...
<snow> So I tried making a key file and putting it on an fs instead... but luks still fails to open key file. Like, it WILL not read the file even if it exists it seems
<betaboon> samueldr gchristensen: the nixops manual mentions installing nixops with nix-env :'(
<snow> And now none of my other drives show up :x
<lordcirth> snow, how are you passing LUKS the keyfile?
<c00w> gentauro: yay!
m0rphism has joined #nixos
craige has quit [Quit: ZNC - http://znc.in]
<gentauro> c00w: less ads is always good :D
<samueldr> gentauro: good think it is still there, looks like you might have gone to the wrong section of the site; and that the main page's menu should be reviewed
<snow> lordcirth: I followed the vfat part of https://nixos.wiki/wiki/Full_Disk_Encryption
<gentauro> samueldr: yeah, good that c00w still remembered the link
<gentauro> but it's not on the "new site" which will make it worse for newcommers to adopt the OS
o1lo01ol1o has joined #nixos
ddellacosta has joined #nixos
<snow> But even with cryptsetup -dl="/key/keyfile" /dev/md0 crypted-raid gives me a failed to open keyfile
<snow> err forgot luksOpen in what I wrote here
<clever> snow: does the file exist at that path?
<snow> yeah
<snow> well for some reason the setup made the key in the root home folder
<snow> so ./key
<snow> still does not work.
wildtrees has joined #nixos
wildtrees has quit [Remote host closed the connection]
<snow> key was created with: dd if=/dev/urandom of=./keyfile bs=1024 count=4
<snow> And was successfully added
wildtrees has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<clever> snow: try `-d /key/keyfile -l 4` ?
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<snow> clever Ahh I see now it works. But it gived me "No key available with this passphrase" despite adding it with luksAddKey
<{^_^}> [nixos-homepage] @samueldr opened pull request #287 → index: Uses the nixos menu, as it did beforehand... → https://git.io/fjoVb
<samueldr> gchristensen: ^
<clever> snow: do you know about how luks can have multiple headers and passwords?
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/2e38c0e7486 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
thomassgn has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/24f13c23cc4 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nixos-homepage] @grahamc merged pull request #287 → index: Uses the nixos menu, as it did beforehand... → https://git.io/fjoVb
<{^_^}> [nixos-homepage] @grahamc pushed 2 commits to master: https://git.io/fjoVN
<snow> clever: No I was not aware of that
<clever> snow: basically, luks has a list of keys that can all unlock the disk, and you can have a mix of passphrases and keyfiles
srid6390803 has quit [Ping timeout: 248 seconds]
fusion809 has joined #nixos
linarcx has joined #nixos
njd42 has joined #nixos
<snow> yeah, makes sense
<clever> [root@system76:~]# cryptsetup luksDump /dev/nvme0n1p2
<clever> snow: this reveals that there are 8 slots on my system, and only slot 0 is currently in use
<clever> that allows having a backup password, so you can still open it if you loose the keyfile, and then you can re-add a new keyfile
karetsu has joined #nixos
<clever> you just need to keep track of what each slot is for, so you know which one to delete later
<snow> Right. Yeah I did add a key previously that I will no longer use. But all of them are enabled
<snow> So there are three slots occupied
knupfer has quit [Ping timeout: 264 seconds]
stepcut_ has joined #nixos
<pie_> is there any way to do unsafegetattrpos on something i dont have the parent of?
<pie_> actually i think it never even ends up in an attrset...
<pie_> im trying to debug a rather hidden infinite recursion..
stepcut has quit [Ping timeout: 268 seconds]
nahamu has joined #nixos
alex`` has joined #nixos
<snow> clever: I can luksFormat it with the key. Makes no difference. Still tells me I have no key available with the given passphrase
<snow> Ahh but thats because the count of sectors was not specified so that has to be removed
thomassgn has left #nixos ["WeeChat 1.7.1"]
srid6390803 has joined #nixos
o1lo01ol1o has joined #nixos
root has joined #nixos
Miyu-chan has quit [Killed (verne.freenode.net (Nickname regained by services))]
Miyu-chan has joined #nixos
root is now known as Miyu-chan
Miyu-chan has quit [Changing host]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
hoijui has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #63900 → nixos/nextcloud: write config to additional config file → https://git.io/fjowZ
<{^_^}> [nix] @edolstra merged pull request #2977 → Fix `http2 = false` having no effect. → https://git.io/fjoa3
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjowW
kisik21 has joined #nixos
<pie_> oh cool i didnt know nix-build will build a {}: { something = whatever; }
<pie_> i thought it would only build a derivation
<gchristensen> it doesn't actually build anything yeah?
<pie_> nix-instantiate says "Each top-level expression should evaluate to a derivation, a list of derivations, or a set of derivations."
<pie_> gchristensen, it does, but my compressed description might not have been clear, what do you mean?
<gchristensen> nothing ends up being built, no `./result` exists?
cjpbirkbeck has joined #nixos
<pie_> nope, it does create it
<gchristensen> I guess `whatever` is a derivation then
<pie_> yeah
<gchristensen> got it,yeah
<gchristensen> it'll auto-call function as it can
<pie_> yeah
<{^_^}> [nixpkgs] @Mic92 merged pull request #63893 → gomuks: 2018-07-10 -> 2019-06-28 → https://git.io/fjoE5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjowr
<pie_> should have said <pie_> i thought it would only build _a top level expression that is a derivation_
<pie_> well, including autocalling funcitons
<pie_> bleh. phrasing. :P
<pie_> ive been real bad at communicating recently :P
snow has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
polman has quit [Ping timeout: 244 seconds]
<pie_> would people be receptive to having json variants of fetchers?: https://bpaste.net/show/3fac15747a07
polman has joined #nixos
hlolli_ has quit [Ping timeout: 268 seconds]
kisik21 has quit [Ping timeout: 250 seconds]
<tokudan> generic question: has someone already written a module to reboot automatically after a kernel upgrade? is it possibly already included in nixpkgs?
<hyper_ch> tokudan: why?
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<tokudan> hyper_ch, I'm wondering if it exists, before I write something like that myself
<hyper_ch> don't know :)
<tokudan> system.autoUpgrade.enable = true; is nice, but if there's a new kernel, I would expect the system to reboot :)
<Ralith> why wouldn't you just produce a nix expression instead?
ym555 has joined #nixos
<tokudan> Ralith, I don't understand your question
<samueldr> (that was for pie_ I believe)
<tokudan> ah, ok
snow has joined #nixos
<pie_> Ralith, i dont actually have a use case yet but its separating data from code and json is more amenable to external tools?
<Ralith> yep, bouncer lagged for a minute
<infinisil> tokudan: I don't think such a thing exists yet, but you can probably implement it by comparing /run/current-system/kernel with /run/booted-system/kernel
<tokudan> infinisil, I know, just wanted to know if someone has already written it
* infinisil nods
<infinisil> Well, yeah I don't know of anything like that
ris has joined #nixos
<pie_> tokudan, while youre at it, please make a windows update style nag screen ;D (im actually serious)
<tokudan> pie_, not going to happen, as I'm only talking about server here
<pie_> :p
<Ralith> pie_: nix expressions are data, though, that's rather the point
<Ralith> I dunno what external tools you're having trouble with
snow has quit [Ping timeout: 260 seconds]
<pie_> Ralith, can you parse nix with a given language X?
<cjpbirkbeck> i'm trying to add a patching to the st, but when i build it nix says it cannot find the patch, i'm not why it cannot find the patch, it is the same directory and i provide the full path
Izorkin has quit [Quit: ZNC 1.7.3 - https://znc.in]
<Ralith> "write a json fetcher for nixpkgs" is not a solution to "I want $LANG to know about a github repo"
Izorkin has joined #nixos
pheoxy has joined #nixos
snow has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
<pie_> Ralith, I think you misunderstood. I figured more in the direction of other stuff manipulating things in nixpkgs.
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2516c454c35 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
snow has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Izorkin opened pull request #63901 → znc: 1.7.3 -> 1.7.4 → https://git.io/fjorn
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<{^_^}> [nixpkgs] @Izorkin opened pull request #63902 → syslog-ng: 3.21.1 -> 3.22.1 → https://git.io/fjor8
<pie_> Ralith, or external tooling being able to inspect the state of nixpkgs. of course this is sketchier but i think it might be interesting to think about.
<Ralith> external tooling seems to already be doing that just fine, e.g. https://github.com/ryantm/nixpkgs-update
snow has joined #nixos
<snow> After fiddling with the luksDevice setup for some time I see that there is nothing wrong with the key. It just doesn't seem to work for RAID devices. Also, root device still requires passphrase, and all devices are mapped to /dev/mapper except for the raid drive. :/
hoijui has quit [Ping timeout: 245 seconds]
<snow> I see there is a way to specify encryption in the fileSystems section but there does not seem to be a way to specify keyFileSize
levdub has joined #nixos
alp has quit [Ping timeout: 252 seconds]
domogled has quit [Ping timeout: 245 seconds]
astrofog has joined #nixos
domogled has joined #nixos
<lordcirth> snow, perhaps it's trying to do the unlock before assembling md0?
levdub has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<snow> lordcirth yeah thats also what I was thinking
Guest18984 has quit [Ping timeout: 245 seconds]
<lordcirth> I know most distros scan for LVM and LUKS multiple times, in order to correctly handle the various orders they can be in
<snow> well its mdadm-based and I tried both the true and false for preLVM... hmmm
morr has quit [Quit: WeeChat 2.5]
<pie_> infinisil, updated pr
jbaum98 has joined #nixos
<jbaum98> Although clang comes with support for address sanitizer (-fsanitize=address), it seems like the gcc packaged in nixpkgs does not. It seems like other distributions package libasan separately, but I also can't find a libasan package on nixpkgs. Is there a way to get -fsanitizea=address working on gcc?
Guest18984 has joined #nixos
karetsu has quit [Quit: WeeChat 2.4]
MichaelRaskin has joined #nixos
<hyper_ch> snow: what are you trying to accomplish?
<snow> hyper_ch passwordless decrypt and mount of all the drives using a usb memory device as the key. This includes a Raid10 configured with mdadm. :)
v88m has joined #nixos
<hyper_ch> why passwordless?
bennofs has joined #nixos
<snow> Im trying to use a usb device as a TPM
<hyper_ch> snow: ok
<snow> pretty much
<lordcirth> Note that the main point of a TPM is to verify the boot chain, which you're not doing.
<lordcirth> It's more like a physical key in this case.
<snow> yeah, youre right. bad analogy
<snow> but the point being I can remove the key. And if someone gets the device they cannot boot it. And I want to avoid writing the passphrase on boot
<lordcirth> Yeah
<hyper_ch> what's wrong with passphrase on boot?
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/241ffca67db (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<lordcirth> hyper_ch, for one, you need a keyboard
<lordcirth> insert usb to server, press power, wait 60s, pull it out. Pretty convenient.
<snow> nothing really. But physical keys are easier. Especially if GF for some reason have to reboot the server. :x And yeah... I don't want to always have a keyboard hooked up.
<hyper_ch> lordcirth: you need access to the phys server
<hyper_ch> I rather prefer remote unlocking
<lordcirth> Remote is also pretty cool
<snow> So spin up on ssh thats available on boot?
o1lo01ol1o has quit [Ping timeout: 248 seconds]
<snow> an
<hyper_ch> yes
<hyper_ch> usually dropbear is being used
<snow> well this device is not available on the public net... but with vpn that would be nice
<hyper_ch> I used to use it with luks/dm-crypt and now I use it on zfs
sg2002 has quit [Quit: ERC (IRC client for Emacs 26.2)]
o1lo01ol1o has joined #nixos
zupo has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
zupo has quit [Client Quit]
o1lo01ol1o has joined #nixos
karetsu has joined #nixos
Miyu-chan has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
ris has quit []
ris has joined #nixos
fragamus has joined #nixos
root2 has joined #nixos
root2 has joined #nixos
root2 has quit [Changing host]
root2 is now known as Miyu-chan
zupo has joined #nixos
astrofog has quit [Remote host closed the connection]
mniip has quit [Ping timeout: 608 seconds]
o1lo01ol1o has joined #nixos
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
o1lo01ol1o has quit [Remote host closed the connection]
fragamus has joined #nixos
<Izorkin> aanderse: cheked with RuntimeDirectory = "phpfpm"; and runnig two php-fpm service. Error worked.
<aanderse> Izorkin: thanks. can you link me your configuration please?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/24f13c23cc4 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #61011 → libvirt: 4.10.0 -> 5.3.0 → https://git.io/fjoKO
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fjoK3
o1lo01ol1o has joined #nixos
nDuff has joined #nixos
leex has joined #nixos
snow has quit [Ping timeout: 260 seconds]
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
leotaku has quit [Ping timeout: 244 seconds]
<leex> Hi, does anyone know what I need to do to get sonic-pi to work? After starting sonic-pi it does nothing for a while and then tells me it cannot connect to the server: Critical error! - Could not boot Sonic Pi Server. Do I need to install the server separately? If yes, what's the server package name?
Edes has joined #nixos
<Edes> is there any reason why virt-manager won't find my libvirtd hypervisor?
<bsima> leex: looks like there's only one sonic-pi package https://nixos.org/nixos/packages.html#sonic-pi
<Izorkin> aanderse: https://pastebin.com/QUcDehm8
<leex> bsima: I just read the install package from sonic-pi, tldr you need to install and start jack(d) for it to work :) just need to get it to play on my bluetooth headphones instead of my laptop speakers and I will be happy :D
<bsima> leex: nice :)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Edes has quit [Quit: Lost terminal]
leotaku has joined #nixos
alex`` has quit [Ping timeout: 272 seconds]
ashkitten has quit [Quit: WeeChat 2.4]
alex`` has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #63903 → python.pkgs.baselines: 0.1.5 -> 0.1.6 → https://git.io/fjoKz
<Izorkin> aanderse: need add global PhpOptions?
ashkitten has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #63904 → cc-wrapper: use -iframework instead of -F → https://git.io/fjoKg
pheoxy has quit [Quit: Leaving]
qqii has joined #nixos
alp has joined #nixos
justanotheruser has quit [Ping timeout: 244 seconds]
psyanticy has quit [Quit: Connection closed for inactivity]
<aanderse> Izorkin: can you link me to your phpfpm module too please?
<Izorkin> I did not understand the question
<cjpbirkbeck> for applying patches, are there any special rules in writing their paths?
<adisbladis> cjpbirkbeck: You mean as in patch file names or?
<cjpbirkbeck> adisbladis: yes, the patch file names
<adisbladis> cjpbirkbeck: Be descriptive, and for CVEs patches should follow the CVE naming
<adisbladis> So tools like Vulnix can pick it up
<qqii> I was installing youtube-dl when I saw a package called youtube-dl-light. Was going to try to find the difference but I don't understand where it's created - the nix expression doesn't seem to have any reference of it?https://nixos.org/nixos/packages.html#youtube-dl
<qqii> I was installing youtube-dl when I saw a package called youtube-dl-light. Was going to try to find the difference but I don't understand where it's created - the nix expression doesn't seem to have any reference of it? https://nixos.org/nixos/packages.html#youtube-dl https://github.com/NixOS/nixpkgs/blob/2e38c0e7486d2f5e9e98c2a0bb9aac4e3bd93afb/pkg
<qqii> whops
<cjpbirkbeck> adisbladis:oh, i think you are not understanding me correctly, i just just patching a packing for myself, and i have the patch file read to go.
<clever> qqii: nix-diff $(nix-instantiate '<nixpkgs>' -A youtube-dl-light) $(nix-instantiate '<nixpkgs>' -A youtube-dl)
<clever> qqii: one depends on ffmpeg, the other doesnt
<cjpbirkbeck> it is just that when i trying build, nix says it cannot find the file
shibboleth has joined #nixos
bennofs has quit [Quit: WeeChat 2.3]
<adisbladis> cjpbirkbeck: What exactly are you trying to do? Can you gist your commands/derivations?
<qqii> clever: Oh, thanks!
<Izorkin> aanderse: cheked this config ? https://pastebin.com/QUcDehm8
<clever> qqii: if you search nixpkgs/pkgs/top-level/python-packages.nix for youtube-dl-light, youll see that both packages share the default.nix, but one has an override on 2 params
<qqii> Is there a go-to-definition like debug environment for nix?
<cjpbirkbeck> adisbladis: i'm trying to patch the st terminal.
<clever> > builtins.unsafeGetAttrPos "youtube-dl-light" pkgs
<{^_^}> { column = 3; file = "/var/lib/nixbot/nixpkgs/master/repo/pkgs/top-level/all-packages.nix"; line = 21264; }
<cjpbirkbeck> https://pastebin.com/mdGiTDtn < that the file i'm customizing it with
<clever> qqii: this tells you where to look in all-packages.nix, which is referencing the python packages
<qqii> thank you! that's exactly what I was looking for
orivej has joined #nixos
zik[m]1 has joined #nixos
jasom has joined #nixos
<adisbladis> cjpbirkbeck: Patches should be a list of paths http://ix.io/1N9N
o1lo01ol1o has quit [Remote host closed the connection]
knupfer has joined #nixos
<cjpbirkbeck> adisbladis: okay, that worked, thank you for your help
fragamus has joined #nixos
o1lo01ol1o has joined #nixos
npmccallum has quit [Quit: npmccallum]
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
linarcx has quit [Quit: WeeChat 2.5]
o1lo01ol1o has quit [Ping timeout: 248 seconds]
MmeQuignon has joined #nixos
m0rphism has quit [Ping timeout: 244 seconds]
<eacameron> Where can I find some help getting noria built via nix? It's in Rust
<manveru> eacameron: probably looking at existing packages in rust will help
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
snow has joined #nixos
<snow> Well I got luks with usb to work in the end.... the fileSystem and swap config uses postMountCommands =concatMapStrings (dev: "cryptsetup luksOpen --key-file ${dev.encrypted.keyFile} ${dev.encrypted.blkDev} ${dev.encrypted.label}. So all I had to do was write "/dev/sde -l 4096" as the keyFile for each of the drives
<snow> bit of a hack but... maybe I should add the option to the source instead :p
teej has joined #nixos
<eacameron> manveru: Ah thanks much
<{^_^}> [nixops] @nh2 opened pull request #1171 → ec2: Recreate rules if security group was deleted → https://git.io/fjo6L
o1lo01ol1o has quit [Remote host closed the connection]
karetsu has quit [Quit: WeeChat 2.4]
snow has quit [Remote host closed the connection]
snow has joined #nixos
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #63903 → python.pkgs.baselines: 0.1.5 -> 0.1.6 → https://git.io/fjoKz
<{^_^}> [nixpkgs] @timokau pushed to master « python.pkgs.baselines: 0.1.5 -> 0.1.6 (#63903) »: https://git.io/fjo6O
<{^_^}> [nixpkgs] @Ma27 opened pull request #63905 → stellarium: 0.19.0 -> 0.19.1 → https://git.io/fjo6s
xkapastel has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
snow has quit [Remote host closed the connection]
snow has joined #nixos
shibboleth has quit [Quit: shibboleth]
o1lo01ol1o has quit [Ping timeout: 248 seconds]
Guest18984 has quit [Quit: WeeChat 2.4]
karetsu has joined #nixos
karetsu has quit [Client Quit]
karetsu has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
leex has quit [Ping timeout: 244 seconds]
snow has quit [Remote host closed the connection]
mexisme has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2516c454c35 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @worldofpeace opened pull request #63906 → fractal: fix build with gstreamer 1.16.0 → https://git.io/fjo64
wildtrees has quit [Ping timeout: 272 seconds]
leex has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #63572 → buildPerlPackage: name -> (pname, version) → https://git.io/fjV9m
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to staging: https://git.io/fjo6g
o1lo01ol1o has joined #nixos
rfold has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @betaboon opened pull request #63907 → vivaldi: widevine-support, fixed ffmpeg-support → https://git.io/fjo6o
<{^_^}> [nixpkgs] @worldofpeace opened pull request #63908 → [19.03] gnome3.gnome-control-center: fix hardcoded paths → https://git.io/fjo6i
freeman42x has joined #nixos
adamantium has joined #nixos
stepcut has joined #nixos
<nh2> aminechikhaoui or domenkozar[m]: In nixops each machine gets passed in `resources` and `nodes` to observe the entire network. But can `resources` also do this? E.g. is it possible to write a `vresources.ec2SecurityGroups` that collects all the `networking.firewall.allowedTCPPorts` from all machines?
stepcut_ has quit [Ping timeout: 248 seconds]
<adamantium> Anyone have the nix code needed to specify which extensions to include with a firejail wrapped chromium?
leex has quit [Ping timeout: 248 seconds]
<nh2> one example in the manual also has `resources.gceTargetPools.backends = { resources, nodes, ...}:`. I'm having trouble figuring out which things are allowed to be a function and which ones not.
wfranzini has quit [Remote host closed the connection]
<clever> nh2: i think you can do resources.ec2SecurityGroups.foo = { nodes, ... }: ...
<jasom> Is there a metapackage for everything needed for a wroking xfce4 install? I'd like to install xfce4 to a local environment to use in a vncserver. Right now I'm just manually installing everything from here: https://github.com/NixOS/nixpkgs/blob/release-19.03/nixos/modules/services/x11/desktop-managers/xfce.nix#L49
<nh2> clever: how do we know which things accept this? It it explained somewhere?
<clever> jasom: one min
alex`` has quit [Quit: WeeChat 2.5]
alex`` has joined #nixos
karetsu has quit [Quit: WeeChat 2.4]
<clever> jasom: this causes services.xserver.enable to spawn a vnc server, and then all of the normal login prompt and session stuff "just works" within that
<jasom> clever: thanks; I'll play around with that
adamantium has left #nixos ["ERC (IRC client for Emacs 26.2)"]
adamantium has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #63905 → stellarium: 0.19.0 -> 0.19.1 → https://git.io/fjo6s
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjo61
<nh2> clever: hmm, I don't seem to be too lucky with that. For example:
<nh2> Even though I don't see why there should be an infinite recursion.
<nh2> immediately gives `infinite recursion encountered`.
<nh2> `resources.ec2SecurityGroups.nixops = { nodes, ... }: builtins.trace (builtins.attrNames nodes) { ...stuff... };`
<clever> nh2: checking source...
alex`` has quit [Ping timeout: 268 seconds]
<clever> nh2: resourcesByType will gather all of the ec2SecurityGroups from your deployment files
<nh2> if I do
<nh2> I even just get `error: invalid value` -- never seen that before
<nh2> resources.ec2SecurityGroups.nixops = args@{ resources, ... }: builtins.trace args {
<clever> line 93 then runs evalResources, and passes it that list
ee1943 has quit [Read error: Connection reset by peer]
<clever> so _resources is the set of security groups
<clever> 79 then runs mapAttrs over that set of groups
<clever> so defs is a list of definitions for a given group (so you can define options on the same group in 2 files)
ee1943 has joined #nixos
<clever> fixMergeModules is then ran, over all definitions, ec2-security-group.nix, and 2 other things
<clever> and fixMergeModules is given a set containing pkgs, uuid, name, resources, and nodes
clacke_movim has left #nixos [#nixos]
eof has quit [Quit: eof]
<clever> and that just calls evalModules
<clever> so, you can do `resources.ec2SecurityGroups.nixops = { pkgs, uuid, name, resources, nodes, ... }: { stuff };
<clever> nh2: it should just work...
eof has joined #nixos
<nh2> clever: ah, I see the difference.
<nh2> does work
<nh2> `resources.ec2SecurityGroups.nixops = { nodes, ... }: { stuff = builtins.trace (builtins.attrNames nodes) ...more stuff... };`
<nh2> does not work, but
<nh2> `resources.ec2SecurityGroups.nixops = { nodes, ... }: builtins.trace (builtins.attrNames nodes) { ...stuff... };`
<nh2> if I trace *inside* the attrset, then it works. But outside does not
<clever> nh2: its likely part of lazyness, it needs to know the keys of the set, before it can know what nodes contains
<nh2> the whole knot-tying is very tricky business. Unfortunately I haven't come up with a nice alternative
erasmas has quit [Quit: leaving]
gratto has quit [Ping timeout: 272 seconds]
xelxebar_ has quit [Remote host closed the connection]
xelxebar has joined #nixos
xkapastel has joined #nixos
ToxicFrog has quit [Ping timeout: 276 seconds]
<nh2> clever: thanks for the help as usual, I've constructed an issue from it to document all of this: https://github.com/NixOS/nixops/issues/1172
<{^_^}> nixops#1172 (by nh2, 34 seconds ago, open): manual: Explain which resources accept { resources, nodes, ... }
clacke_movim has joined #nixos
<clever> nh2++
<{^_^}> nh2's karma got increased to 12
morr has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #63906 → fractal: fix build with gstreamer 1.16.0 → https://git.io/fjo64
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjoiC
nDuff has quit [Quit: zzz]
ToxicFrog has joined #nixos
ent has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @deliciouslytyped closed pull request #58453 → ghidra: improvements → https://git.io/fjUjc
datakurre^ has quit [Ping timeout: 258 seconds]
liff has quit [Ping timeout: 252 seconds]
<aminechikhaoui> nh2 so there is currently 2 evaluations of the nixops network, the first just for the resources=/=machines then the second is for the machines configuration (basically the nixos config)
<aminechikhaoui> So taking the output of something produced by an eval of a machine config and using that in a resource such as security groups won't work as far as I know
<aminechikhaoui> As the eval of the machine isn't available at that point
<nh2> aminechikhaoui: hmm indeed, I find that for a machine, I can do `= { nodes, ... }: nodes."mynode".config.networking`, but for a resource, `nodes."mynode".config` lacks the .config key. Is that what you're describing?
<{^_^}> [nixpkgs] @risicle opened pull request #63909 → libvirt: add patches for CVE-2019-10132, CVE-2019-10161, CVE-2019-10166, CVE-2019-10167 & CVE-2019-10168 → https://git.io/fjoiR
<aminechikhaoui> nh2 yes
<nh2> aminechikhaoui: that is a shame, do you think it can be fixed? Deriving things like EC2 firewall rules from modules used in a machine would be very handy
levdub has joined #nixos
<clever> nh2: note, that sshd opens itself in the firewall automatically, but some people want to restrict ssh to certain IP's, at the aws level
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
<nh2> clever: that sure makes sense, I'm not asking that it'd happen by default, but that I can write an expression to do it
rprije has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
mikky has quit [Quit: WeeChat 1.0.1]
edwards has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @marsam opened pull request #63910 → tflint: 0.8.3 -> 0.9.0 → https://git.io/fjoir
levdub has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
b42 has quit [Remote host closed the connection]
<nh2> aminechikhaoui clever: hmm the fact that it's
<nh2> `resources.ec2SecurityGroups = { nodes, ... }: { mygroup = ... }`
<nh2> and not
<nh2> `resources.ec2SecurityGroups.mygroup = { nodes, ... }:`
<nh2> also means I can't even inspect `nodes` to generate security groups for all the regions I use in the network with `map`, but instead have to declare them manually
<codedmart> I tried adding to overlays.nix but am getting an error: https://gist.github.com/codedmart/0460f0ecf76db20dfae301a7c97084f3#file-error
<codedmart> Still don't understand nix lang yet.
<clever> codedmart: overlays.nix is supposed to return a list of overlays, i think you want overlays/thing.nix
<codedmart> Ah thanks
sindrip has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fe9a15211a0 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
MmeQuignon has quit [Ping timeout: 245 seconds]
MmeQuignon has joined #nixos