worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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 || For best support,
niso has quit [Ping timeout: 240 seconds]
fusion809 has quit [Remote host closed the connection]
toppler has joined #nixos
drakonis has quit [Ping timeout: 265 seconds]
justanotheruser has quit [Ping timeout: 268 seconds]
delroth has quit [Quit: WeeChat 2.6]
mexisme has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
delroth has joined #nixos
niso has joined #nixos
niksnut has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @kalbasit merged pull request #70672 → argo: 2.2.1 -> 2.4.1 → https://git.io/JeWvj
<{^_^}> [nixpkgs] @kalbasit pushed commit from @groodt to master « argo: 2.2.1 -> 2.4.1 (#70672) »: https://git.io/JelxB
mexisme has quit [Ping timeout: 268 seconds]
toppler has quit [Read error: Connection reset by peer]
andreas303 has quit [Ping timeout: 260 seconds]
toppler has joined #nixos
<nicks0n> sup toppler
toppler has quit [Read error: Connection reset by peer]
andreas303 has joined #nixos
toppler has joined #nixos
jluttine has quit [Ping timeout: 245 seconds]
iyzsong has joined #nixos
byrn_ has joined #nixos
delroth has quit [Quit: WeeChat 2.6]
byrn_ has quit [Client Quit]
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
delroth has joined #nixos
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
justanotheruser has joined #nixos
toppler has quit [Read error: Connection reset by peer]
kleisli has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jelxi
<{^_^}> [nixpkgs] @jorsn closed pull request #65831 → proot-termux: init at 20190505 (termux fork of proot) → https://git.io/fj9x8
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
philr has joined #nixos
toppler has quit [Read error: Connection reset by peer]
nicks0n has quit []
lunik1 has quit [Remote host closed the connection]
musteresel has joined #nixos
srl295 has quit [Quit: Connection closed for inactivity]
niso has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
musteresel has left #nixos [#nixos]
ajs124 has quit [Quit: Gateway shutdown]
toppler has quit [Ping timeout: 246 seconds]
dansho_ has joined #nixos
dansho has quit [Read error: Connection reset by peer]
sigmundv has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
ajs124 has joined #nixos
dansho_ has quit [Remote host closed the connection]
dansho_ has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #71065 → nixos/gdm: don't conflict with plymouth-quit → https://git.io/Jelxd
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
gagbo has quit [Ping timeout: 264 seconds]
toppler has quit [Read error: Connection reset by peer]
gagbo has joined #nixos
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
niso has joined #nixos
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/222004e52e8 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
ris has quit [Ping timeout: 268 seconds]
ericsagnes has quit [Quit: WeeChat 2.6]
ericsagnes has joined #nixos
dsx has quit [Quit: dsx]
dsx has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
<{^_^}> [nixpkgs] @MDeltaX opened pull request #71066 → ripcord: init at 0.4.18 → https://git.io/Jelpk
<dsx> How to add files to initrd image? Let's say I want to add my script.
drakonis has joined #nixos
ericsagnes has quit [Quit: WeeChat 2.6]
toppler has quit [Read error: Connection reset by peer]
<clever> dsx: even if you add the script, what will run it? when do you want it ran?
<superbaloo> got nix to build a nixos for rpi4. cross-compiling from debian x86_64.
<superbaloo> \o/
<clever> superbaloo: just nix? or all of nixos?
<superbaloo> took me quite a while, but finally made it
<superbaloo> nixos
<dsx> nice
<clever> ah, nice, ive heard that had trouble
<superbaloo> well, I'm not too sure, now you ask, the purpose is to have nixos on rpi4
<superbaloo> but I'm building from nix installed on debian
<superbaloo> so I'm not too sure
<clever> superbaloo: can you pastebin the nix files you used?
<superbaloo> sure
ericsagnes has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<superbaloo> hardened is the one from nixpkgs, but with apparmor disabled (I could have just made the change in my nixfile I guess, but ...
<superbaloo> I have a couple of commits to push to nixpkgs too
<superbaloo> fixing deps here and there
<clever> superbaloo: looks like a fairly basic cross-compile setup, last i heard, most packages broke with that, but it sounds like the recent nixpkgs has improve things
<clever> i should give things another spin
<superbaloo> nixpkgs has improved recently
rajivr___ has joined #nixos
<superbaloo> and I'm compiling without X
<superbaloo> which helps
<superbaloo> I had to fix two packages that still pulled X
mexisme has joined #nixos
<superbaloo> let's find the power supply for the rpi4 now ...
<superbaloo> not sure where I stored this thing
<clever> superbaloo: oh, that reminds me, you may want to also look into the nix copy flags...
<{^_^}> nixops#1189 (by cleverca22, 8 weeks ago, open): plan for supporting custom partition layouts and custom FS's on any backend
<clever> superbaloo: with the `nix copy` in step 3, you can copy to a `/mnt` on a remove machine, over ssh
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
<superbaloo> clever: that looks pretty cool
<superbaloo> I was considering nixos for another project @work
<superbaloo> and well, that would make things so much easier on me
noudle has quit []
jluttine has joined #nixos
<clever> superbaloo: there are also some pre-existing expressions that you could modify, that generate an sdcard image, without running arm code
<clever> superbaloo: they could be hacked to accept a cross-compiled nixos closure
leo_ has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #71067 → nixos/httpd: remove deprecated extraSubservices option → https://git.io/Jelp8
Mr_Keyser_Soze has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7952807791d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
toppler has joined #nixos
leo_ has quit [Quit: leaving]
mexisme has quit [Ping timeout: 268 seconds]
wildtrees has quit [Quit: Leaving]
shibboleth has joined #nixos
<jophish> infinisil: Thanks for the hie packaging!
<infinisil> :D
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
xwvvvvwx has joined #nixos
xwvvvvwx- has quit [Ping timeout: 268 seconds]
<slack1256> Can you point me to the latest blogpost for hie-on-nix?
m0rphism has quit [Ping timeout: 268 seconds]
ericsagnes has quit [Quit: WeeChat 2.6]
niso has quit [Ping timeout: 268 seconds]
<dsx> clever: I'll run it from boot.initrd.network.postCommands hook
toppler has quit [Ping timeout: 250 seconds]
<clever> dsx: if you reference a script in the nix store, nix will just include it in the initrd automatically
<dsx> There is boot.initrd.prepend, but it requires me to pack my files into pre-built initrd «layer»
<clever> dsx: you dont have to do a thing
nuncanada3 has quit [Quit: Leaving]
<dsx> Hm. I'll try that. Thanks!
<clever> dsx: thats both good (makes it trivial to use) and bad (you could make a mistake, and add 2gig to the initrd)
<dsx> clever: is there a way to easily add file to store?
<dsx> >add 2gig to the initrd
<clever> dsx: ${./foo.sh} in a nix script
<dsx> sounds like a plan!
kleisli has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
silver has quit [Read error: Connection reset by peer]
<samueldr> is it possible to get the config values of `system.activationScripts` before apply has been applied?
<samueldr> I want to consume a configuration.nix's configurations, not transform them so there's no issues with recursion AFAICT
niso has joined #nixos
ericsagnes has joined #nixos
dansho has joined #nixos
felixfoertsch23 has joined #nixos
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
dansho_ has quit [Read error: Connection reset by peer]
<jophish> and thanks, domenkozar[m] for cachix!
toppler has joined #nixos
Mr_Keyser_Soze has quit [Ping timeout: 250 seconds]
Mr_Keyser_Soze has joined #nixos
felixfoertsch has quit [Ping timeout: 265 seconds]
wfranzini has quit [Remote host closed the connection]
toppler has quit [Read error: Connection reset by peer]
wfranzini has joined #nixos
mexisme has joined #nixos
kleisli has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
<jophish> infinisil: looks as though the hie-bios revision isn't present in mpickering's repository any more, so the build of hie with the hie-bios fails
Mr_Keyser_Soze has quit [Ping timeout: 276 seconds]
<infinisil> jophish: Ah are you using the newly added hie-bios branch from all-hies?
toppler has joined #nixos
<jophish> infinisil: yeah, I thought I'd give it a try
<infinisil> Hm that's unfortunate, I guess github deletes unreferenced commits :/
<infinisil> Or something like that, I don't see a force push in the PR, so it should still be referenced
ebzzry has quit [Ping timeout: 276 seconds]
<jophish> looks like it's the revision mentioned in the submodule of hie
<infinisil> Ah yeah
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
<infinisil> jophish: Do you have the all-hies cachix configured? I have that version cached so I could upload it quickly to get it working
<jophish> infinisil: yeah I do. That'd be great but only if it's no trouble
<samueldr> figured out I can reconstitute the attrset by merging all attrsets in `system_eval.options.system.activationScripts.definitions`
* infinisil tries
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<infinisil> jophish: Okay try it now
<infinisil> samueldr: I really wish apply wouldn't be used for this kind of thing
<samueldr> infinisil: what's the right usage for apply?
<samueldr> activationScripts are quite old, could it be baggage from the initial implementation?
<infinisil> samueldr: It's very rarely the right thing to use, but there are some cases where it's nececessary, trying to think of them..
<samueldr> yeah, I figured from my usage that it's likely rarely the right thing to use
<samueldr> but I don't have a gut feeling as to when it should be used
waleee-cl has quit [Quit: Connection closed for inactivity]
toppler has quit [Ping timeout: 268 seconds]
<infinisil> samueldr: One is with path options that should never end up in the Nix store. In that case one can do `apply = toString`, which ensures that the option value never gets used without toString'ing it first
<samueldr> right
toppler has joined #nixos
<samueldr> I imagine if you had an attrset of paths to be toString'd you'd likely keep them in the same shape (as an attrset) rather than apply them to whatever form you need in the end
<samueldr> as to not be rude for users of the values?
<infinisil> Another is to escape infinite recursion for values that need to depend on themselves, e.g. for an `attrsOf` option to have an attribute depending on another attribute
<infinisil> samueldr: Yeah probably
<jophish> infinisil: hmm, didn't seem to have made a difference
<infinisil> jophish: Can you run `nix-store -r /nix/store/hji603fygfz3a5kkkkzwrf3cfgjpj9d6-haskell-ide-engine-eb3d32e` successfully?
<jophish> infinisil: nope
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3389b4e5cae (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7952807791d (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<infinisil> jophish: Hm it should be substituted from the all-hies cachix, this shows me it should be available: `curl -I https://all-hies.cachix.org/hji603fygfz3a5kkkkzwrf3cfgjpj9d6.narinfo` (that's the hash part of the nix store path, returns 200 for me)
<jophish> perhaps nix wants to wait a while before updating the cache index?
<jophish> I'll try again later
<infinisil> I don't think there's anything that would do that
<infinisil> jophish: Try running the `nix-store -r ...` with -vv
<jophish> looks as though it's not in the cache for me: https://gist.github.com/a2fb82a51536f48a223e7e047fa03e5d
<infinisil> jophish: Huh weird, what does the curl command return?
<clever> jophish: nix caches what is in the cache
<jophish> infinisil: 200
<clever> jophish: `nix show-config | grep narinfo` tells you the ttl's
<infinisil> clever: Oh rly
<infinisil> TIL
<clever> [root@system76:~]# ls ~/.cache/nix/binary-cache-v6.sqlite*
<clever> /root/.cache/nix/binary-cache-v6.sqlite /root/.cache/nix/binary-cache-v6.sqlite-journal
<clever> and these files are what hold the cache about the caches
<infinisil> negative-ttl, makes sense
growpotk- has joined #nixos
<clever> if you delete them, it will re-check things
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<clever> infinisil: fun fact, nix disables some sqlite safeties when interacting with those files (at least in the old days), to make it perform faster
<infinisil> clever: jophish: Or actually `--option narinfo-cache-negative-ttl 0` should work too
<clever> infinisil: an improper shutdown of my rpi corrupted those caches, causing all nix options on the rpi to fail
<clever> i learned about the cache caches, because they broke :P
<infinisil> Nasty stuff :/
drakonis has joined #nixos
<{^_^}> [nixpkgs] @endgame opened pull request #71068 → haskellPackages.rank2classes: not broken → https://git.io/JelpQ
<jophish> thanks clever and infinisil! I've got the hie-bios version now :)
<infinisil> Nice :D
mexisme has quit [Ping timeout: 246 seconds]
drakonis_ has quit [Ping timeout: 276 seconds]
toppler has quit [Read error: Connection reset by peer]
drakonis has quit [Ping timeout: 250 seconds]
drakonis_ has joined #nixos
drakonis has joined #nixos
drakonis__ has joined #nixos
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
drakonis_ has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<Squarism> How do I copy files in my "package description" default.nix?
shibboleth has quit [Quit: shibboleth]
wedens has joined #nixos
growpotk- has quit [Ping timeout: 240 seconds]
boxscape has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
toppler has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
boxscape has joined #nixos
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
ebzzry has joined #nixos
toppler has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
rajivr___ has quit [Quit: Connection closed for inactivity]
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/e758436f986 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
toppler has joined #nixos
Ariakenom_ has quit [Read error: Connection reset by peer]
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
nornagon has joined #nixos
<nornagon> are there any systemd units that are using the new confinement stuff? I can't seem to find any by grepping for `confinement`...
<nornagon> cc aszlig :)
toppler has quit [Ping timeout: 240 seconds]
<aszlig> nornagon: right now there are none IIRC
<nornagon> any particular reason for that? i'm trying to mentally place systemd's confinement stuff in relation to docker/lxc/etc
<nornagon> it seems like systemd can do most of the stuff that docker can, sandboxing-wise, and it's surprising to me that people aren't using it for that more?
<Ashy> hmm, how do i include protobuf3_5 in a derivation properly?
<Ashy> trying to package up a binary from a deb that needs libprotobuf.so.15 patchelf'd in
<aszlig> nornagon: but yeah, the goal is to add it to more nixos services, just didn't have the time yet to do it
<nornagon> aszlig: awesome, thanks for the example. I'm new to nixos so still figuring stuff out... i'm trying to understand how it automatically figures out what packages to include based on the `ExecStart` line
<aszlig> nornagon: it uses the runtime closure of what you specify there
<aszlig> if additional packages are needed for runtime, you can use confinement.packages to add it to the chroot
<nornagon> yeah... but ExecStart is a command-line string right? how does that get resolved to a package in the store?
toppler has joined #nixos
<clever> nornagon: ExecStart is a path to a binary in the store
<clever> it will basically just `nix-store -qR` that binary
<nornagon> ah 👍thanks.
<nornagon> https://github.com/aszlig/avonc/blob/8dd308005dcb036cfce62a5802f8322c734d923f/coturn/default.nix#L170 <-- in the example it also has parameters. does it just take the first token?
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<clever> nornagon: i believe it uses any file that is in any of those strings
<nornagon> yeah i found that bit of code... i just don't understand it 😅
<clever> execOpts is a list of strings, naming options
init_6 has joined #nixos
<clever> execPkgs, will then map over all options with the execOpts names, and join them into a single string
<{^_^}> [nixpkgs] @vbgl merged pull request #71015 → ponyc: 0.31.0 -> 0.32.0 → https://git.io/JelPo
<{^_^}> [nixpkgs] @vbgl pushed commit from @redvers to master « ponyc: 0.31.0 -> 0.32.0 »: https://git.io/Jelhg
<clever> unitPkgs then decides between allPkgs (which is based on every attribute of the service) or execPkgs (only the ones in the execOpts)
toppler has quit [Ping timeout: 268 seconds]
<clever> line 142 then joins that, with binSh, if binSh wasnt null
<clever> and the whole thing is shoved into confiment.packages
<{^_^}> [nixpkgs] @vbgl merged pull request #70504 → ocamlPackages.ocsigen_server: 2.11.0 → 2.15.0; ocamlPackages.ssl: 0.5.5 → 0.5.9 → https://git.io/JeC8q
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ocsigen_server: 2.11.0 → 2.15.0 »: https://git.io/Jelh2
o1lo01ol1o has quit [Remote host closed the connection]
<clever> nornagon: another thing to note, is that all strings in nix can have context
<clever> > pkgs.hello
o1lo01ol1o has joined #nixos
<{^_^}> "<derivation /nix/store/808m4zryaykbarp7w1ghc0qa31590ml9-hello-2.10.drv>"
<clever> > "${pkgs.hello}"
<{^_^}> "/nix/store/rr3y0c6zyk7kjjl8y19s4lsrhn4aiq1z-hello-2.10"
<clever> nornagon: that second string, has some invisible data attached to it, saying it depends on hello-2.10.drv
<nornagon> whoa, that i did not realise
<clever> any time you concat 2 strings, the context is merged
<nornagon> ahhhhhh
<clever> and if you grab a sub-section of any string, you get the entire context
<nornagon> so the "${coturn}" bit in that example is what brings the context along
<clever> yeah
<nornagon> that's the bit i was missing. thanks.
<clever> when you pass such a string to stdenv.mkDerivation, nix uses the context to know what you depend on
<nornagon> neat!
<clever> and what it must build first
<clever> and there are other utils to list the context, for things like confinement
<clever> or tar file generation
<danderson> anyone know of a nixos service that has a <name> and generates multiple systemd services for different instances of itself? I need to write support for pppd, which spawns one daemon per connection.
o1lo01ol1o has quit [Ping timeout: 276 seconds]
<clever> danderson: you can either use map/fold to generate several: https://github.com/cleverca22/nixos-configs/blob/master/weechat.nix#L54
{^_^} has quit [Remote host closed the connection]
<clever> danderson: cant find an example, but you can also generate a foo@bar service (like the tty stuff in systemd), and use %i, oh containers
<danderson> clever: cheers.
<clever> danderson: create a foo@.service, and then several foo@bar.service things, and it will spawn several instances of foo@.service, with %i filled in with bar
<tdeo> any committer around to check out #70978/#70979? program is completely non-functional until it's updated
Rusty1 has quit [Quit: Konversation terminated!]
toppler has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
endformationage has quit [Ping timeout: 240 seconds]
Okinan has quit [Quit: Konversation terminated!]
slack1256 has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
toppler has quit [Ping timeout: 246 seconds]
palo1 has joined #nixos
toppler has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
zupo has joined #nixos
toppler has joined #nixos
dansho has quit [Quit: Leaving]
toppler has quit [Ping timeout: 240 seconds]
revtintin has joined #nixos
toppler has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toppler has quit [Ping timeout: 250 seconds]
toppler has joined #nixos
o1lo01ol1o has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
drakonis__ has quit [Quit: Leaving]
<CMCDragonkai> Weird situation. On NixOS installing on a new machine (macbook pro), everything works as usual using the nixos install USB. Using `zpool status` shows that zpool can import by /dev/disks/by-id/... properly. Then when restarting into the newly installed disk, on stage 1 boot, zpool cannot find the disk. I reboot into the installation USB, and I can run `zpool import` and see that the pool is importable by the by-id.
<CMCDragonkai> But for some reason stage 1 boot cannot find the zpool device. How can this be possible?
toppler has quit [Ping timeout: 268 seconds]
aiverson has quit [Remote host closed the connection]
rauno has quit [Ping timeout: 245 seconds]
kleisli has quit [Ping timeout: 268 seconds]
<wedens> have you tried using /dev/disk/by-uuid?
<wedens> I'm not sure how stable by-id is
toppler has joined #nixos
toppler has quit [Ping timeout: 250 seconds]
Heirlung- has quit [Read error: Connection reset by peer]
toppler has joined #nixos
Heirlung has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
Havvy has joined #nixos
toppler has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
toppler has joined #nixos
o1lo01ol1o has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
toppler has quit [Ping timeout: 250 seconds]
asymptotically has joined #nixos
toppler has joined #nixos
cjpbirkbeck has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<cjpbirkbeck> hello, i trying to install nixos on a laptop, but the nixos-install says my boot drive is the right uefi format
[Leary] has joined #nixos
<cjpbirkbeck> although i followed the formating instructions in the manual.
<cjpbirkbeck> parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB
<cjpbirkbeck> mkfs.fat -F 32 -n boot /dev/sda3
chloekek has joined #nixos
<cjpbirkbeck> note im using sda1, not sda3, but that shouldn't change things, right?
Lears has quit [Read error: No route to host]
toppler has joined #nixos
Lears has joined #nixos
[Leary] has quit [Read error: No route to host]
<cjpbirkbeck> nevermind, for my mistake, i think
xfix has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
init_6 has quit [Read error: Connection reset by peer]
toppler has quit [Ping timeout: 240 seconds]
<MarcWeber> GPT + efi boot + elite book -> menu appears, but doesn't boot. Does anybody have experince whether changing efi boot settings would make a difference ?
toppler has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<ivan> MarcWeber: did you turn secure boot off?
toppler has joined #nixos
<ivan> hmm, you get the boot menu with systemd-boot listing configurations?
<Squarism> I just wiped /nix/store
<Squarism> When I installed nix again it now gives this on a "nix-build"
<Squarism> error: getting status of '/nix/store/dic3xnm2jajsnkb072dv2pswg3ffy6sv-source"
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
ottidmes has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
idf has joined #nixos
<evils> squarism maybe you need nixos-install?
<Squarism> i wiped /nix now
<Squarism> see how that goes
toppler has quit [Ping timeout: 240 seconds]
knupfer has joined #nixos
toppler has joined #nixos
aswanson has quit [Quit: WeeChat 2.4]
cjpbirkbeck has quit [Quit: Quitting now.]
toppler has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
<Squarism> is there a way to see all dependencies used by a certain default.nix file?
toppler has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
tobiasBora has quit [Ping timeout: 265 seconds]
toppler has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
<wedens> any reason I can't use override on src defined using fetchFromGitHub?
toppler has quit [Ping timeout: 240 seconds]
<danderson> so, I could use some help with a module I'm writing. Source is https://gist.github.com/danderson/3ccead0709988ec2a2f86de8b71ec531
<danderson> I'm hitting an infinite recursion when I include it in my nixos configuration, and the trace doesn't help me figure it out at all :/
toppler has joined #nixos
revtintin has quit [Quit: WeeChat 1.9.1]
<danderson> anyone with nix experience see what my problem is? I've been staring at this too long :(
orivej has joined #nixos
<evils> danderson: i'm no expert, but you've got one too many close parentheses?
toppler has quit [Ping timeout: 245 seconds]
<evils> nvm
<wedens> `name = mkDefault name;`
<danderson> that's a verbatim steal from another nixos module - but removing it doesn't help, anyhow
<wedens> what's the scope of RHS `name` here?
Boomerang has joined #nixos
<danderson> that should be referencing the input attrset to the submodule, above. It's a pattern I got from etc.nix, for defining submodules by name.
<danderson> but again, removing any mention of name still results in an infinite recursion, so I'm thinking there's something more fundamental that I'm missing.
toppler has joined #nixos
m0rphism has joined #nixos
<danderson> in particular, using enabledConfigs seems to be what triggers the infinite recursion. And I don't get why, because again this is a structure I took directly from etc.nix, and it seems completely happy there.
chloekek has quit [Ping timeout: 265 seconds]
niksnut has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<gudea[m]> hi, could someone point me to the configuration.nix option for system wide openssl settings?
toppler has joined #nixos
<gudea[m]> it happens that my alma mater’s imap server only supports tlsv1 and openssl now defaults to min. 1.2
<gudea[m]> on other distros this is usually done by editing /etc/ssl/openssl.cnf
noudle has joined #nixos
marusich has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 250 seconds]
toppler has joined #nixos
cjpbirkbeck has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<cjpbirkbeck> hello, anybody there? i've installed nixos on my laptop, but the ethernet doesnt seem to work
toppler has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<aszlig> nornagon: yeah, it uses the full string context (as in all store paths that are part of the string)
<ivan> cjpbirkbeck: anything at the end of journalctl -b when you plug it in?
<aszlig> nornagon: ah, never mind, clever already answered this (thanks)
toppler has joined #nixos
<aszlig> clever++
<ivan> cjpbirkbeck: is this some weird ethernet that needs firmware blob?
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
<cjpbirkbeck> ivan: journalctl -b doesnt seem to give any about networking. it's a thinkpad t430, so ... maybe to your second question?
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
zupo has joined #nixos
Dagger has quit [Excess Flood]
<ivan> cjpbirkbeck: I see a lot of people complaining about ethernet port not working with the docking station for your laptop
hmpffff has joined #nixos
<ivan> cjpbirkbeck: does ifconfig list an ethernet interface?
Dagger has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<ivan> I have to go but I was going to maybe suggest hardware.enableAllFirmware = true; if it's missing
<ivan> hopefully someone else can help
toppler has joined #nixos
Havvy has quit [Ping timeout: 245 seconds]
Boomerang has quit [Ping timeout: 240 seconds]
Havvy has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
isHavvy has joined #nixos
Havvy has quit [Ping timeout: 268 seconds]
isHavvy has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
fusion809 has joined #nixos
toppler has quit [Ping timeout: 250 seconds]
asheshambasta has joined #nixos
asheshambasta has quit [Remote host closed the connection]
toppler has joined #nixos
ris has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
toppler has quit [Ping timeout: 245 seconds]
toppler has joined #nixos
philmacfly has joined #nixos
<philmacfly> Good day, I wanted to know how to setup gns3-server with nixos as a service?
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
byrn_ has joined #nixos
knupfer has quit [Remote host closed the connection]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
tmaekawa has joined #nixos
feep has quit [Ping timeout: 245 seconds]
feep has joined #nixos
knupfer has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<jophish> hmm, I have such a strange issue. Vim is unable to write a backup file when I'm in a nix-shell
byrn_ has quit [Quit: byrn_]
byrn_ has joined #nixos
toppler has joined #nixos
<jophish> Something about being in a nix shell makes os_copy((char *)fname, (char *)backup, UV_FS_COPYFILE_FICLONE) fail
<jophish> wtf!
noudle has quit []
<tilpner> jophish: strace can help you figure out where it's copying from/to
<tilpner> gudea[m]: You can use environment.etc to write that same file
toppler has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
toppler has joined #nixos
<jophish> tilpner: yeah, sounds like the thing to do... I love having to strace my text editor...
byrn_ has quit [Quit: byrn_]
<tilpner> jophish: Something like strace -o /tmp/log -vfefile vim ...
<tilpner> jophish: It's possible your nix-shell sets some environment variable, so that the location vim tries to backup to does not exist
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toppler has quit [Ping timeout: 240 seconds]
foxmean has quit [Remote host closed the connection]
toppler has joined #nixos
kenshinCH has quit [Read error: Connection reset by peer]
zupo has joined #nixos
rawtaz has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<jophish> tilpner: yeah, that was my first though, but even then vim should try the other backup locations
<jophish> from strace there are two different things going on
tmaekawa has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
<jophish> without nix-shell it's unlink/rename/openat, but in the shell it's unlink/chmod/chown/chmod/openat
<jophish> it looks as though libuv is choosing a different path
mabel has joined #nixos
mabel has joined #nixos
mabel has quit [Changing host]
<mabel> hey all. I am trying to set up VFIO passthrough for one of two NVidia cards to my VM. how do I blacklist the nvidia driver for only one card?
<mabel> I did some digging and learned about "unbind", which is the standard way of doing it on other linuxes, and boot.initrd.preDeviceCommands, which seems to be a way to run commands before stage 1
<mabel> should I add the unbind call in there? I'm scared
<mabel> or maybe add a udev rule?
toppler has quit [Ping timeout: 240 seconds]
<mabel> ah, services.udev.extraRules?
<pbb> it might also be possible to tell the driver to only bind to one specifi device
<pbb> actually, you want to set up the vfio-pci driver to take control of the card before your host graphics driver does that
<pbb> you can put vfio_pci in your initrd, that will make it load first
<pbb> this is how it is described in the ArchWiki too
<mabel> but won't it take over both devices unless it knows better?
<pbb> no, you specify one id
<mabel> ahh
knupfer has quit [Quit: knupfer]
<mabel> ah, something like boot.extraModprobeConfig ="options vfio-pci ids=${cfg.pciIDs}"; ?
knupfer has joined #nixos
byrn has joined #nixos
<mabel> which I've stolen from a forum somewhere, in proper scriptkiddie style
<pbb> 'boot.extraModprobeConfig = "options vfio-pci ids=10de:13c0,10de:0fbb";'
knupfer has quit [Client Quit]
<pbb> will tell vfio-pci to only bind to the card you want to pass through (if you put the correct id there)
knupfer has joined #nixos
<mabel> oh, excellent. and it'll do so before nvidia eats the cards? or should I put vfio_pci in initrd to make it load first?
byrn has quit [Client Quit]
<pbb> yes, exactly
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mabel> ahh, makes sense.
byrn has joined #nixos
<pbb> good luck, these things are fun :)
<mabel> ahh yes. the computer equivalent of taking the engine block out to install nitrous
<tilpner> pbb: See nixos/nixos-homepage /Makefile
<mabel> thank you pbb
<tilpner> jophish: You can also diff the output of env
<pbb> tilpner: thanks
toppler has joined #nixos
byrn has quit [Client Quit]
byrn has joined #nixos
<jophish> tilpner: using the env from within the shell doesn't seem to make a difference!
byrn has quit [Client Quit]
<jophish> and likewise, using the non nix-shell env in a shell still faile
zupo has joined #nixos
<tilpner> jophish: I can't do more than guess from over here
<mabel> hrm. they're both showing the same ID (10de:1b06), unless I'm mistaken
cosimone_ has joined #nixos
cosimone_ has quit [Client Quit]
toppler has quit [Ping timeout: 268 seconds]
byrn has joined #nixos
<jophish> Thanks for the suggestions, tilpner, I was using this channel as a rubber duck. I didn't mean to be demanding! :)
toppler has joined #nixos
byrn has quit [Client Quit]
* tilpner quack
byrn has joined #nixos
<mabel> hey pbb, after reading the arch tutorial, it looks like the "ids" field is for vendor:device pair. since I have two cards of same model, they're both 10de:1b06, so I'm not sure how further to disambiguate them. they're both at different bus ports and IOMMU groups obviously
<mabel> oh, nvm. there's a "Special procedures" section on the Arch page for dealing with this kind of scenario
toppler has quit [Ping timeout: 245 seconds]
byrn has quit [Client Quit]
toppler has joined #nixos
byrn has joined #nixos
<mabel> bad news is that it requires a script, so I'll probably have to use that initrd.preDeviceCommands
toppler has quit [Ping timeout: 268 seconds]
akaWolf has quit [Ping timeout: 240 seconds]
akaWolf has joined #nixos
<mabel> okay, trying it, wish me luck. using postBootCommands and that script to override
mabel has quit [Quit: WeeChat 2.6]
ebzzry has quit [Ping timeout: 240 seconds]
mabel has joined #nixos
mabel has quit [Changing host]
mabel has joined #nixos
<mabel> it worked! ahahaha yes
<mabel> bah, though it didn't get the sound card for some reason
<cjpbirkbeck> systemd-boot will show any new generations past the second
toppler has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<mabel> yeah, this is really bizarre. I look at the driver_override for the sound chip on the card, and the contents are literally (null)
toppler has joined #nixos
<mabel> but the contents for the GPU itself is vfio-pci like expected
<mabel> something had to have overwritten it
gjabell has joined #nixos
<gchristensen> note: can't create trash directory: creating directory '/nix/store/trash': No space left on device oops
<gjabell> anyone know if it's possible to have a default option based on another option in the same config?
<MichaelRaskin> gchristensen: btrfs?
<gjabell> ie if option a is set but not b, make b's default value "${a}/b"
<gchristensen> zfs
<MichaelRaskin> Does it have a notion similar to rebalancing?
<gchristensen> hmmm I don't think so
toppler has quit [Ping timeout: 240 seconds]
<cjpbirkbeck> can you install nixos on uefi with grub instead of systemd-boot?
<infinisil> gjabell: Yeah, use `b = mkDefault config.a` in the config section
toppler has joined #nixos
gila has joined #nixos
<gjabell> Thanks, do you know how it works with sets? (Ie is there a way to reference the value of the current set rather than the top-level config)
clever has quit [Ping timeout: 240 seconds]
<MichaelRaskin> gchristensen: This is one of the reasons I like stricter-than-needed limits on FS sizes (that I can relax if needed to gain maneouver options)
<infinisil> gjabell: An example?
<gchristensen> MichaelRaskin: yeah, I'm learning that lesson now :P it would be nice to have a good list of best practices
sylvblck is now known as sylv-io
toppler has quit [Ping timeout: 265 seconds]
<MichaelRaskin> Oh well, for me it comes pretty automatically with the trivial practice recommended by Torvalds: do not do rampant layering violations. LVM2 kind of naturally nudges you to allocate how much space is needed per FS and have a reserve to change your mind.
<gchristensen> aye
<gchristensen> MichaelRaskin: you might find this _interesting_: https://docs.google.com/document/d/1m9VWOjfmdbujV4AQWzWruiXYgb0W4Hu0D8uQC_BWKjk/edit#
<gchristensen> also, welcome back! =)
<gjabell> If config.users defines a set of name => set mappings such that each user has an option for passwordHash or passwordHashFile, how to make the default value of
toppler has joined #nixos
<gjabell> passwordHashFile some operation of that user's passwordHash value
sylv-io has quit [Quit: bye]
<gjabell> Ie config.users.*.passwordHash and config.users.*.passwordHashFile
<gjabell> infinisil: ^
byrn has quit [Quit: WeeChat 2.6]
fendor has joined #nixos
<MichaelRaskin> gchristensen: I have seen this link, not sure there's much interesting there
<gchristensen> MichaelRaskin: your comment about layering violations is what made me think about it
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<MichaelRaskin> Yeah, they could have two-phase updates with LVM2 snapshots ten years ago
Havvy has joined #nixos
xfix has quit [Ping timeout: 265 seconds]
<infinisil> gjabell: Hm that's possible but why do you need that? Setting either option works for setting the password already
<aanderse> 😲 ubuntu zfs on root? oh that would make my life in the future easier...
<MichaelRaskin> gchristensen: as for «back» — I never went completely away from GitHub issue discussions; it's kind of random which weekends I log in to high-trafic channels like #nixosp
toppler has quit [Ping timeout: 240 seconds]
slyfox has left #nixos ["bye"]
<MichaelRaskin> aanderse: until kernel manages to break ZFS in a subtle way
<gjabell> infinisil: not necessary but it makes later operations cleaner since there's guaranteed to be a password file rather than having to check each time
xfix has joined #nixos
toppler has joined #nixos
<infinisil> gjabell: Ah I see that makes sense. Would be cool if the module did that already
<aanderse> MichaelRaskin: yeah that would be an absolute disaster
<aanderse> anyone: advice on "cleanest" way to "fix" this? https://github.com/NixOS/nixpkgs/issues/70906 i am not overly satisfied with any ideas i've come up with so far :\
<gjabell> infinisil: seems like it's an easy case with the mkDefault you posted earlier, but I'm not sure how it works for nested sets
<infinisil> gjabell: You can do this with something like `options.users.users = mkOption { type = loaOf (submodule ({ config, ... }: { config.passwordFile = mkDefault (pkgs.writeText "pw" config.password); })); }`
toppler has quit [Ping timeout: 264 seconds]
xfix has quit [Ping timeout: 268 seconds]
mmlb has quit [Ping timeout: 252 seconds]
<MichaelRaskin> aanderse: well, Ubuntu tieing features it could implement on LVM2 to the use of non-mainlined FS is a recipe for disaster, if it happens the outcome is only a matter of time
<gchristensen> I think the money in ZFS is too great for such an outcome (LLNL, Canonical)
<MichaelRaskin> Well, upstream kernel Officially Doesn't Care About ZFS Liability
<aanderse> well they're talking about supporting desktop linux at work so i'm building an image based on 18.04 LTS and i still have some horribly unresolved problems which would be solved very nicely if ubuntu had nice zfs on root integration
<gjabell> infinisil: thanks! I'll play around with that and see if I can get it working
o1lo01ol1o has joined #nixos
dycan has joined #nixos
is_null has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
<wedens> aanderse: just curious, what kind of problems?
<LnL> gchristensen: hmm that tagged me :)
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<aanderse> wedens: when users make something blow up :)
<jophish> hmm, looks as though a file created in nix-shell has permissions 644 and one created outside is 664
<wedens> aanderse: so, you want zfs snapshots?
<aanderse> wedens: yeah, that would be the ideal solution
<aanderse> well....
<aanderse> i mean the ideal solution would be a fleet of desktop nixos ;-)
<aristid1> has anybody seen this error? "error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': Connection refused
toppler has quit [Ping timeout: 240 seconds]
<aristid1> "
aristid1 is now known as aristid
<LnL> gchristensen: saw your tweet about ubuntu rollback, pretty cool that they where able to implement it using snapshotting
<aanderse> but that wouldn't work out very well, practically speaking
toppler has joined #nixos
<MichaelRaskin> aanderse: why LVM2 snapshots are not enough?
<jophish> yeah, what's this about: rm a; touch a && stat -c %A a && rm a && nix-shell -p --run "touch a" && stat -c %A a
<wedens> lvm snapshots are not as reliable as native fs snapshots
<jophish> or more simply I think: umask && nix-shell -p --run umask
dycan has quit [Remote host closed the connection]
<aanderse> MichaelRaskin: yeah, i'll probably go that route and it will work well enough... but ❤️ zfs, and yeah, what wedens said
cosimone has joined #nixos
<aanderse> if ubuntu is doing zfs snapshots they'll integrate it with the boot loader and system updates
<aanderse> it would be one of those nice "out of the box" experiences i can imagine
<MichaelRaskin> I would say snapshots might be more efficient on FS level, but unlike mirroring I would expect LVM2-level snapshots to be more reliable
<jophish> tilpner: Looks like it's a umask issue
toppler has quit [Ping timeout: 240 seconds]
feep_ has joined #nixos
feep has quit [Disconnected by services]
<MichaelRaskin> aanderse: yeah, Ubuntu doing the wrong thing might make the wrong thing short-term cheaper to use than the right one
feep_ is now known as feep
<jophish> but why does nix-shell change umask?
<asymmetric> when i switch from 19.03 to 19.09, my wireless interface gets renamed from wlp3s0 to wlan0, and wireless networking (via iwctl) stops working
<asymmetric> aren't predictable interace names the future? how come i get wlan0?
<aanderse> i've never used lvm for snapshots before, so maybe i'll discover there is nice boot loader integration and things aren't as bad as i assume. maybe i'm just horribly spoiled by zfs+nixos ;-)
cjpbirkbeck has quit [Quit: Quitting now.]
<tilpner> asymmetric: Are you using networking during stage1?
toppler has joined #nixos
<asymmetric> tilpner: not that i know of. how would i check?
<tilpner> You would probably know if you are
<MichaelRaskin> aanderse: … and NixOS boot integration is not actually FS-dependent
<asymmetric> i'm not doing anything extraordinary with networking, other than not using NM at all and only using iw
<tilpner> And it would be weird to use a wireless interface during stage1
<aanderse> MichaelRaskin: i use zfs snapshots for mutable data only because nixos takes care of everything else more than adequately... so yeah, comparing apples to oranges a little bit here
LouisDK has joined #nixos
xfix has joined #nixos
<tilpner> LouisDK: Syntax error on line 33
<tilpner> And 36
<LouisDK> But I get this error: syntax error, "unexpected '=', expecting ';', at /home/louis/nixpkgs/pkgs/applications/video/mythtv/default.nix at line 33." - which I find strange since the line is ending with ";".
<tilpner> LouisDK: Replace with (lib.optional enable-xvnctrl nvidia-x11)
<alexarice[m]> the `=` shouldn't be there
<tilpner> And (lib.optional !enable-xvnctrl "--disable-xvnctrl")
<infinisil> tilpner: Needs more parens
toppler has quit [Ping timeout: 276 seconds]
<LouisDK> tilpner: what even more?
toppler has joined #nixos
<tilpner> infinisil: Where?
<tilpner> LouisDK: I didn't say to add more of anything
<infinisil> configureFlags = [ "--dvb-path=${linuxHeaders}/include" ] ++ lib.optionals (!enable-xnvctrl) [ "--disable-xnvctrl" ];
<tilpner> Oh, there
<tilpner> And buildInputs = [ ... ] ++ lib.optional enable-xnvctrl nvidia-x11;
<LouisDK> tilpner, infinisil: Thx
<alexarice[m]> LouisDK: side note but it is a good idea to use `pname = mythtv` instead of `name = mythtv-${version}`
<LouisDK> error: undefined variable 'lib' at /home/louis/nixpkgs/pkgs/applications/video/mythtv/default.nix:33:
<LouisDK> ] ++ lib.optional enable-xnvctrl nvidia-x11;
toppler has quit [Ping timeout: 276 seconds]
<LouisDK> Am I not missing some parens?
<alexarice[m]> LouisDK: You will need to put lib in the function arguments at the top
<tilpner> LouisDK: You can use stdenv.lib, or add lib into your function header at the top of the file
toppler has joined #nixos
<philmacfly> I'm right now failing to get the "gns3-server" running as a service in nixos, can anyone help me with that?
chloekek has joined #nixos
<infinisil> philmacfly: It's best to state the problem upfront
alexherbo2 has joined #nixos
<infinisil> No idea about that service myself
<LouisDK> error: anonymous function at /home/louis/nixpkgs/pkgs/applications/video/mythtv/default.nix:1:1 called without required argument 'nvidia-x11', at /home/louis/nixpkgs/lib/customisation.nix:69:12
infinee_ has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<LouisDK> Should I put nvidia-x11 in that file and wouldn't that cause problems if you were to build without xnvctrl support?
knupfer has quit [Ping timeout: 245 seconds]
infinee has quit [Ping timeout: 240 seconds]
<philmacfly> infinisil: my problem is that I dont know how to start it as a service in nixos as "services.gns3-server.enable = true" because im getting "The option services.gns3-server does not exist"
<philmacfly> the package name is gns3-server
<alexarice[m]> philmacfly: There is no service defined for that by the looks of it
<infinisil> philmacfly: Yeah you'll have to define one yourself
smatting has joined #nixos
toppler has joined #nixos
<philmacfly> alexarice[m]: infinisil How would I do that?
<infinisil> philmacfly: Look how other services use `systemd.services.*` to define them
<alexarice[m]> philmacfly: then add the path of your module to `module-list.nix`
asymptotically has quit [Remote host closed the connection]
asymptotically has joined #nixos
<infinisil> alexarice[m]: That's only if they want to do a PR, but services can be defined without changing nixpkgs too
<alexarice[m]> philmacfly: What I said only really applies if you want to upstream the pr
<alexarice[m]> infinisil: you got there first
<philmacfly> ok thanks ill have a look into it
toppler has quit [Ping timeout: 250 seconds]
toppler has joined #nixos
smatting has quit [Ping timeout: 245 seconds]
toppler has quit [Ping timeout: 265 seconds]
Swant has quit [Quit: Gone to IKEA]
<LouisDK> tilpner, infinisil: any idea about this:
<LouisDK> error: anonymous function at /home/louis/nixpkgs/pkgs/applications/video/mythtv/default.nix:1:1 called without required argument 'nvidia-x11', at /home/louis/nixpkgs/lib/customisation.nix:69:12
toppler has joined #nixos
<LouisDK> Should I put nvidia-x11 in that file and wouldn't that cause problems if you were to build without xnvctrl support?
LouisDK has quit [Remote host closed the connection]
LouisDK has joined #nixos
<alexarice[m]> LouisDK: CallPackage can't find `nvidia-x11`
<wedens> I have `vaapiIntel` in `hardware.opengl.extraPackages`, but `vainfo` fails with `libva error: /usr/lib/dri/i965_drv_video.so has no function __vaDriverInit_1_0`. how do I fix that? I'm on 19.09
o1lo01ol1o has joined #nixos
<philmacfly> infinisil: would I just change the shiped nix conf or would I put it somewhere else
toppler has quit [Ping timeout: 240 seconds]
<alexarice[m]> philmacfly: Depends what you are trying to do
<infinisil> philmacfly: You can define a systemd.services.* in your configuration.nix
<philmacfly> alexarice[m]: mainly I wanna use gns3 ;)
<philmacfly> infinisil: ok thanks
<alexarice[m]> philmacfly: I would follow infinisil's advice and not bother making a module and just add stuff to your `configuration.nix` in that case
<philmacfly> alexarice[m]: ok thanks
<alexarice[m]> LouisDK: The only `nvidia_x11` I can find are kernel drivers, is that really what you're trying to add as a buildInput?
<LouisDK> alexarice[m]: If I do "nix search nvidia-x11" I get: nixpkgs.linuxPackages.nvidia_x11 (nvidia-x11) - does this means that nvidia-x11 is just a group and I shuld specify a package instead?
<alexarice[m]> LouisDK: `callPackage` only finds top level packages I think
<LouisDK> alexarice[m] is nixpkgs.linuxPackages.nvidia_x11 a top level packages or?
<alexarice[m]> LouisDK: If you really want to import it I think you should replace `callPackage ... { }` by `callPackage ... { nvidia_x11 = linuxPackages.nvidia_x11; }`
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<alexarice[m]> LouisDK: no
<alexarice[m]> LouisDK: it's nested in `linuxPackages`
philr has quit [Ping timeout: 240 seconds]
szyk has joined #nixos
<alexarice[m]> LouisDK: I still don't think you really want to add this as a buildInput though
<philmacfly> just one last thing: But that tells me that the gns3-server package is not well maintained
benny has quit [Quit: ZNC - https://znc.in]
toppler has joined #nixos
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<LouisDK> alexarice[m] the driver is needed if the package would be build with enable-xnvctrl.
<alexarice[m]> LouisDK: But how would you even know which one to use?
<alexarice[m]> philmacfly: When does it tell you this?
<philmacfly> alexarice[m]: your mileage may vary but if a server only package does not provide a service, then this feels not well maintained
<philmacfly> at least for me
minall has joined #nixos
<alexarice[m]> philmacfly: Oh sorry I thought you meant a message was appearing
<LouisDK> alexarice[m]: I'd assume people are using the lastest one and if not they could specify it.
benny has joined #nixos
<philmacfly> alexarice[m]: Oh sorry maybe wrong wording
benny is now known as Guest93436
toppler has quit [Ping timeout: 264 seconds]
<alexarice[m]> philmacfly: I don't know anything about this software so can't really comment
<alexarice[m]> LouisDK: I don't know, no other package imports `nvidia-x11`
Guest93436 has quit [Client Quit]
gila has joined #nixos
<philmacfly> alexarice[m]: Long story short "GNS3" is the gnu network simulator and its a graphical tool to simulate complex networkes with switches, server etc. The gns3-server enables you to run the server without ui on a powerfull server and then connect to it via the ui tool
minall has quit [Ping timeout: 268 seconds]
<alexarice[m]> philmacfly: I meant I can't really comment on whether it is well maintained. A module would only be there if someone had put the effort into making one and pushing it to nixpkgs
<adisbladis> wedens: Hmm, you shouldn't even _have_ a /usr/lib/dri/i965_drv_video.so
<adisbladis> Unless you're on non-nixos
<wedens> adisbladis: sorry. I mean /run/opengl-driver/...
<adisbladis> wedens: I have seen your exact issue before but I can't for the life of me remember what the cause was...
LouisDK has quit [Ping timeout: 260 seconds]
toppler has joined #nixos
<adisbladis> wedens: Iirc it came down to something linking against an ABI version of vaapi that's not around anymore
toppler has quit [Ping timeout: 265 seconds]
szyk has left #nixos [#nixos]
<wedens> there is indeed no such symbol
<wedens> only __vaDriverInit_1_5
toppler has joined #nixos
<adisbladis> wedens: Actually I'm seeing the exact same thing while using mpv right now
toppler has quit [Ping timeout: 265 seconds]
clever has joined #nixos
clever has joined #nixos
clever has quit [Changing host]
ebzzry has joined #nixos
Ariakenom has joined #nixos
toppler has joined #nixos
suhashebbar[m] has quit [*.net *.split]
l33[m] has quit [*.net *.split]
sputny[m] has quit [*.net *.split]
GerdFlaig[m] has quit [*.net *.split]
alexoundos[m] has quit [*.net *.split]
ZD[m] has quit [*.net *.split]
hackeryarn[m] has quit [*.net *.split]
Diamaths[m] has quit [*.net *.split]
elais[m] has quit [*.net *.split]
dominicusin[m] has quit [*.net *.split]
am3on[m] has quit [*.net *.split]
roadt[m] has quit [*.net *.split]
macerbi[m]1 has quit [*.net *.split]
is0x3F has quit [*.net *.split]
pinage404[m] has quit [*.net *.split]
Victor[m] has quit [*.net *.split]
bikki[m] has quit [*.net *.split]
florianjacob has quit [*.net *.split]
Yakulu[m] has quit [*.net *.split]
domenkozar[m] has quit [*.net *.split]
timokau[m] has quit [*.net *.split]
kleisli has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
Mateon1 has quit [Remote host closed the connection]
Mateon1 has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
acowley has quit [Ping timeout: 240 seconds]
Sinclair116 has joined #nixos
Sinclair116 has quit [Read error: Connection reset by peer]
<wedens> and my laptop cpu is too ancient to try intel-media-driver
toppler has joined #nixos
acowley has joined #nixos
hackeryarn[m] has joined #nixos
pinage404[m] has joined #nixos
roadt[m] has joined #nixos
ZD[m] has joined #nixos
Diamaths[m] has joined #nixos
l33[m] has joined #nixos
florianjacob has joined #nixos
GerdFlaig[m] has joined #nixos
elais[m] has joined #nixos
macerbi[m]1 has joined #nixos
Victor[m] has joined #nixos
am3on[m] has joined #nixos
is0x3F has joined #nixos
dominicusin[m] has joined #nixos
bikki[m] has joined #nixos
o1lo01ol1o has joined #nixos
timokau[m] has joined #nixos
suhashebbar[m] has joined #nixos
alexoundos[m] has joined #nixos
Yakulu[m] has joined #nixos
domenkozar[m] has joined #nixos
sputny[m] has joined #nixos
aristid2_ has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
ATuin has joined #nixos
toppler has joined #nixos
byrn has joined #nixos
benny_ has joined #nixos
aristid is now known as aristid_
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
aristid2_ is now known as aristid
aristid has quit [Changing host]
aristid has joined #nixos
aristid has joined #nixos
aristid has quit [Changing host]
benny_ is now known as benny
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
ATuin has quit [Quit: WeeChat 2.6]
ixxie has quit [Ping timeout: 250 seconds]
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
benny has quit [Quit: ZNC - https://znc.in]
benny has joined #nixos
benny is now known as Guest81021
toppler has joined #nixos
Guest81021 is now known as benny
endformationage has joined #nixos
ATuin has joined #nixos
ATuin has quit [Client Quit]
toppler has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
<adisbladis> wedens: Even if you could you'd likely end up with the same problem :/
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<adisbladis> wedens: Do you happen to have hybrid graphics?
is_null has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<jophish> tilpner: For completeness here is the bug report and patch for neovim: https://github.com/neovim/neovim/issues/11216
<jophish> thanks for the help earlier :)
toppler has joined #nixos
is_null has quit [Ping timeout: 264 seconds]
<adisbladis> wedens: It looks like it might not be a critical error message: https://github.com/intel/libva/blob/master/va/va.c#L430
<adisbladis> (according to my understanding libva will attempt every known symbol name in succesion until it finds a compatible abi?)
is_null has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<adisbladis> So you'll _always_ see 1_0 if every other symbol version fails
toppler has joined #nixos
gila has joined #nixos
acarrico has quit [Ping timeout: 276 seconds]
toppler has quit [Ping timeout: 240 seconds]
ConsumeristProvo has joined #nixos
<wedens> adisbladis: yes, I have a hybrid graphic, but dGPU is disabled in bios
<ConsumeristProvo> hello
Heirlung has quit [Ping timeout: 268 seconds]
<ConsumeristProvo> I'm trying to compile a program that uses SDL2_ttf using nix-shell, but upon compilation I get tons of errors saying the SDL_ttf.h file cannot find SDL.h. What gives?
toppler has joined #nixos
<ConsumeristProvo> this is the error:
<ConsumeristProvo> /nix/store/az6kzml7li3d3k0w182kkd366cb68bkh-SDL2_ttf-2.0.14/include/SDL2/SDL_ttf.h:34:10: fatal error: SDL.h: No such file or directory
<wedens> adisbladis: and vainfo fails with non-zero code and errors, so I doubt it's non-critical in this case
h1x has joined #nixos
toppler has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
obfusk__ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<ConsumeristProvo> anyone can help? I googled a bit and found that I can use nix-env with "sdlEnv", but that doesn't seem to work on 19.03. I'm using the command "nix-shell -p SDL2 SDL2_ttf" and then running make on the program.
simukis__ is now known as simukis_
toppler has quit [Ping timeout: 240 seconds]
is_null has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
is_null has joined #nixos
ATuin has joined #nixos
ATuin has quit [Client Quit]
toppler has quit [Ping timeout: 240 seconds]
is_null has quit [Ping timeout: 265 seconds]
is_null has joined #nixos
toppler has joined #nixos
<arianvp> Qt apps stopped working for me on gnome since 19.09
<arianvp> in some cases
<arianvp> qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
<arianvp> This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
<arianvp> Aboted (core dumped)
toppler has quit [Ping timeout: 264 seconds]
<fusion809> Hi, in a NixOS 19.09 VirtualBox VM I get this error when running nixos-install: https://imgur.com/a/rrTwJUw. I've re-run nixos-install a few times and every time I get the same error. Whenever I try to boot my installation I get a blackscreen with a cursor blinking (and that doesn't change after waiting for 10 mins). Here's my configuration.nix file: https://gist.githubusercontent.com/fusion809/b4ccbea27078067eea8c3651c801753a
<fusion809> /raw/874d512c2334200f49c8ead1419e94a013a8303f/configuration.nix.
toppler has joined #nixos
is_null has quit [Ping timeout: 268 seconds]
noudle has joined #nixos
is_null has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
mmlb has joined #nixos
toppler has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
ConsumeristProvo has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
<fusion809> Tried removing OS prober line from configuration.nix and re-running nixos-install, and while the command completed without error, it still fails to boot correctly.
<Aleksejs> Hello, after I moved to 19.03, fonts in some apps are broken, basically the same as here https://bbs.archlinux.org/viewtopic.php?id=248635. Can I find out which font I need to install?
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<alexarice[m]> arianvp: which app? Qt infrastructure changed between 19.03 and 19.09 and the derivation likely needs updating
is_null has quit [Ping timeout: 240 seconds]
<infinisil> Aleksejs: You mean 19.09?
<Aleksejs> no, I'm still on 19.03, I'm slow to update on my work PCs
<arianvp> alexarice[m]: hedgewars
toppler has quit [Ping timeout: 264 seconds]
<alexarice[m]> arianvp: I'll take a look
<alexarice[m]> arianvp: Think this was fixed after the 19.09 split off. Will ask for a backport
toppler has joined #nixos
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
lukash_ has joined #nixos
<avn> Folks, anyone use docker and userns-remap within nixos?
toppler has quit [Ping timeout: 240 seconds]
<lukash_> hello, I've just installed nixos (into a btrfs subvolume), still on my other system when I do nixos-enter, the default profile doesn't exist and I have no clue what to do
clever has joined #nixos
<ornx> i have my nixpkgs (stable/release and unstable/master) in a git repo on my hard disk (so i dont use channels (i dont think??)), so to do eg nix-shell i have to do -I nixpkgs=/path/to/localrepo -I unstable=/blah/blah etc, is there some way to set these as environment variables (or set my nix channel to use the local repos) or something, so i dont have to pass those flags to nix-env/nix-shell et al every time i want to use them?
<Aleksejs> I'm trying to "yarn add usb" and I'm getting an error "../libusb/libusb/os/linux_udev.c:40:10: fatal error: libudev.h: No such file or directory". What package should I install?
toppler has joined #nixos
<ornx> libraries dont get added to the normal default shell
<clever> Aleksejs: you should use `nix-shell -p udev`
<Aleksejs> clever: I have udev in my configuration.nix
<clever> Aleksejs: installing it wont add the headers, only nix-shell can do that
<Aleksejs> ah
<Aleksejs> it helped, thanks
<nornagon> if you have multiple packages on your system that provide the same binary (e.g. java), how do you switch which one you get when you type "java" on the shell?
__monty__ has joined #nixos
WilliButz has quit [Quit: WeeChat 2.6]
<clever> nornagon: only add one of them to systemPackages, or add zero, and use nix-shell to pick one as-needed
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<nornagon> i'm unfamiliar with nix-shell, something like `nix-shell -p jdk11_headless`?
WilliButz has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<clever> nornagon: yeah
<nornagon> bleh, it doesn't respect zsh being set as my shell, that's irritating
<clever> nornagon: nix-shell always uses bash, you can also try `nix run nixpkgs.jdk11_headless`
toppler has joined #nixos
<nornagon> ooh, `nix run` has a fancy progress bar. is that a newer command?
<nornagon> also drops me into bash though :)
<nornagon> but with a different PS1
<alexarice[m]> nornagon: I believe `nix run` is newer
toppler has quit [Ping timeout: 240 seconds]
<lukash_> anyone can help me? I've spent hours getting the instalation to work and anything I've searched for has been rather unhelpful...
<arcnmx> nix run nixpkgs.jdk11_headless '(with import <nixpkgs> {}; writeShellScriptBin "bash" "exec zsh \"$@\"")'
drakonis_ has joined #nixos
<arcnmx> :p
<nornagon> arcnmx: very convenient :p
drakonis has quit [Ping timeout: 240 seconds]
<ornx> man nix is so cool, i tried to build something and it didnt work so i thought "oh god ill have to spend ages figuring out how to compile this"
<ornx> and then i remembered that i can just call configurePhase and buildPhase and etc
<tilpner> lukash_: What do you mean by "the default profile does not exist"?
<tilpner> lukash_: If you mean that a directory linked by in ~/.nix-profile doesn't exist, that's fine
<lukash_> tilpner: yes:
<tilpner> lukash_: It will be created once you install something into it: nix-env -iA nixpkgs.hello
<lukash_> # ls /nix/var/nix/profiles
<lukash_> per-user system system-1-link system-2-link system-3-link system-4-link system-5-link system-6-link system-7-link system-8-link system-9-link
<lukash_> y
<idf> is anybody having problems with VAM and vim-plug on neovim?
<idf> pathogen works fine
<tilpner> You can also just ignore ~/.nix-profile forever
<lukash_> tilpner: there may be a different problem then
<idf> but vim-plug complains about unexisting git and VAM about undefined functions
<lukash_> when I run the command you suggested I get:
<lukash_> error: attribute 'nixpkgs' in selection path 'nixpkgs.hello' not found
<tilpner> lukash_: nix-env -iA nixos.hello
<lukash_> tilpner: error: attribute 'nixos' in selection path 'nixos.hello' not found
<clever> lukash_: nix-channel --list?
<lukash_> I'm also unable to update my channel and do basically anything
<tilpner> Try nix-channel --update
<tilpner> Oh
<clever> lukash_: what error does --update give?
<lukash_> tilpner: that one does work
<lukash_> # nix-channel --update
<lukash_> unpacking channels...
<lukash_> warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
<lukash_> error: writing to file: Operation not permitted
<lukash_> error: program '/nix/store/l4zaz0z1x9w549xj0m0y9a2p8fik2w8a-nix-2.3/bin/nix-env' failed with exit code 1
<pikajude> do I need to explicitly list localhost in `builders` in my config or will it be implicitly added?
<clever> lukash_: what user did you run it as?
<lukash_> clever: root
<clever> pikajude: nix will use localhost automatically
Heirlung has joined #nixos
<pikajude> okay, i see
<clever> lukash_: is something mounted read-only?
<clever> lukash_: is this on nixos?
<clever> lukash_: what does dmesg say?
<lukash_> clever: it's through nixos-enter into my new btrfs subvolume
<lukash_> nothing mounted ro (except /sys/fs/cgroup)
drakonis_ has quit [Read error: Connection reset by peer]
<clever> bbl
toppler has joined #nixos
drakonis_ has joined #nixos
<lukash_> nothing relevant in dmesg
toppler has quit [Ping timeout: 240 seconds]
cjpbirkbeck has joined #nixos
toppler has joined #nixos
<lukash_> the problem is I have no idea what is causing what
asymptotically has quit [Quit: Leaving]
<lukash_> looking at the nix-channel --update command I can't even see any syscall failing on permission when I run it with strace
<lukash_> I have no idea what that error is supposed to mean (given I'm root)
<lukash_> don't even get me started on the error message not containing the path to the file...
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
toppler has quit [Ping timeout: 268 seconds]
evanjs has joined #nixos
toppler has joined #nixos
<ornx> https://pastebin.com/nGtkcCbe what does this mean? why do some have - (dash) and some have _ (underscore)?
<ornx> a package in unstable failed to build because it was expecting gdk-pixbuf (dash) but worked when i changed it to an underscore
<wedens> gdk_pixbuf is an alias for gdk-pixbuf
<ornx> i see
<ornx> i dont understand why my local nixpkgs dont seem to have the alias though
<wedens> nixpkgs revision difference
<wedens> `gdk_pixbuf = gdk-pixbuf; # added 2019-05-22`
toppler has quit [Ping timeout: 240 seconds]
<wedens> your nixpkgs are probably older than that
freeman42x has joined #nixos
<wedens> `gdk-pixbuf` is the new name
<ornx> ahhhhhhhh
<ornx> thats odd though because ive definitely done a git pull much more recently than from five months ago...
<lopsided98> The PR wasn't merged to staging until the end of July, and didn't get into master until the next staging merge
<clever> lukash_: did you use strace -f?
<ornx> ah now i see
<samueldr> there's also the fact that the "check" and "real" eval disables aliases
<evanjs> Alright... not entirely sure what's going on... but I'm suddenly getting `nix: src/libexpr/attr-set.hh:54: void nix::Bindings::push_back(const nix::Attr&): Assertion `size_ < capacity_' failed.` on my desktop
<clever> evanjs: got a backtrace?
<evanjs> clever: yeah it was happening with `nix-eval` so I tried with `nixos-rebuild --show-trace` but that killed gdm.... let me try in a vterm or screen or something
<evanjs> Wait... crap. nixos-rebuild works fine... >_>
<clever> evanjs: id give memtest86 a pass
dycan has joined #nixos
toppler has joined #nixos
<evanjs> clever: x_x wait really, you think it might be memory related?
<clever> evanjs: that could explain random crashes in many programs
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
<cjpbirkbeck> systemd-boot isn't adding any more entries on its list and i can't replace it with grub and nothing i do seems to fix anything
<clever> cjpbirkbeck: is /boot mounted?
<cjpbirkbeck> no, and trying to mount then running nixos-generate-config does seem to work
<cjpbirkbeck> i'm using efi, btw
<clever> cjpbirkbeck: if /boot isnt mounted, then you wont be updating the boot config
<clever> cjpbirkbeck: how does it not work when you run nixos-generate-config?
<cjpbirkbeck> clever:doesn't work
<lukash_> clever: nope, good tip: https://pastebin.com/px0xjqma
<clever> cjpbirkbeck: what part doesnt work?
<cjpbirkbeck> sorry for misspelling
tnks has quit [Ping timeout: 276 seconds]
<evanjs> clever: okay, rebuilding with systemd boot loader memtest86 enabled I guess. Full scan or..? x_x
<clever> lukash_: try with --option sandbox false
<cjpbirkbeck> well, i can mount the drive, but it seem to not stick around
<clever> cjpbirkbeck: is it added to hardware-configuration.nix?
<lukash_> clever: that's for the nixos-enter command?
<clever> lukash_: for the nix-channel cmd
drakonis_ has quit [Ping timeout: 264 seconds]
fenedor has joined #nixos
<lukash_> clever: no change.. it seems more like the problem is with the chroot / nixos-enter though?
drakonis_ has joined #nixos
fendor_ has joined #nixos
pikajude has quit [Quit: ZNC 1.7.4 - https://znc.in]
<cjpbirkbeck> clever:the boot drive is list in the hardware_configuration.nix file, but looking at lsblk it show the drive as being unmounted
<cjpbirkbeck> shows
toppler has quit [Ping timeout: 240 seconds]
<clever> cjpbirkbeck: is hardware-configuration.nix listed in configuration.nix?
<wedens> someone has working vaapi + intel on 19.09?
pikajude has joined #nixos
<evanjs> clever: hey wait look x_x -- https://github.com/NixOS/nix/issues/3140
<pikajude> wait, what does nix run do?
<pikajude> i've never seen that
<evanjs> so much for memtest86 :p
<cjpbirkbeck> clever:yes, it is
<clever> cjpbirkbeck: can you gist both files?
fendor has quit [Ping timeout: 240 seconds]
fendor__ has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<clever> evanjs: weird
<evanjs> clever: yeah... can't even run `nix run nixpkgs.nix-info -c nix-info -m` like OP did, though :P
WilliButz has quit [Remote host closed the connection]
WilliButz has joined #nixos
<cjpbirkbeck> clever: that might take a while, since i am not computer and i cannot easily copy-paste the urls
<arcnmx> pikajude: it's like if nix-shell only had -p
<clever> cjpbirkbeck: nix-env -iA nixos.gist ; gist --login ; gist -p configuration.nix hardware-configuration.nix
<clever> evanjs: nix-shell? nix-env? nix-build?
<evanjs> clever: it's just `nix <cmd>` that breaks things AFAICT
<evanjs> `nix-cmd`s work fine
szyk has joined #nixos
<clever> evanjs: but you can use the other commands to get nix-info, to run that for the ticket
toppler has quit [Ping timeout: 268 seconds]
<nornagon> ... would it be crazy to use unionfs-fuse to create a union fs for a specific systemd unit while it's running? e.g. ExecStartPre = "+unionfs /some/dir.top=RW:/some/dir.bottom=RO /some/dir.unified" and ExecStopPost="+umount /some/dir.unified"
<clever> nornagon: you can do that with fileSystems.
<nornagon> :o
<evanjs> clever: Oh, sure, I was already manually constructing that
<clever> nornagon: finding an example...
<nornagon> background is that i'm running a service (minecraft) that likes to scribble all over its directory and i wanna isolate the changes it makes during runtime from the base file set
<nornagon> clever: thanks!!
<evanjs> clever: ahhhh derp. I don't _need_ to do that. Well, that makes things easier :P
toppler has joined #nixos
<clever> nornagon: this tells nixos how to run a fuse binary to mount something
<cjpbirkbeck> clever:https://gist.github.com/cjpbirkbeck/fb61973c39288393f0fae0082df8f575
dycan has quit [Remote host closed the connection]
<clever> cjpbirkbeck: try removing this line, boot.loader.efi.efiSysMountPoint = "/boot/efi";
<clever> cjpbirkbeck: thats only to be used if the fat32 is mounted at /boot/efi
<nornagon> clever: this example mounts at boot, is that right?
<clever> nornagon: yeah
<clever> nornagon: you can use the normal options = [ "noauto" ]; to prevent that
<nornagon> kk. i guess there's no special reason for me not to do that, but i was imagining mounting it when the service was started and unmounting on service stop
<evanjs> clever: seems like it's something from 2.3 -> 2.3.1 *shrugs* -- /nix/store/l4zaz0z1x9w549xj0m0y9a2p8fik2w8a-nix-2.3/bin/nix works fine. Anybody else on nix*-unstable experiencing broken nix commands?
toppler has quit [Ping timeout: 240 seconds]
<clever> nornagon: systemd also has a requires mounts for option
<clever> evanjs: bisect time!
<evanjs> Nuuuuuuu *cries*
<clever> services/network-filesystems/samba.nix: unitConfig.RequiresMountsFor = "/var/lib/samba";
<clever> nornagon: this tells systemd to not start the service until the given fs has been mounted
<clever> nornagon: not sure if that will force-mount it (ignoring noauto), or it will just block the service from starting
<cjpbirkbeck> clever:okay, that finally seems to have fixed it
<clever> cjpbirkbeck: it sounds like the bootloader was configured wrong, so all reboots where causing a rollback
<clever> cjpbirkbeck: which undid the effects of fixing /boot
toppler has joined #nixos
Standa[m] has joined #nixos
<evanjs> clever: whatever. I'm going in. If edolstra or somebody doesn't beat me too it.
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
byrn has quit [Quit: WeeChat 2.6]
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
chloekek has quit [Ping timeout: 240 seconds]
<clever> evanjs: 2.3.1pre6936_61e8162 passes here
<evanjs> clever: how did you test the compiled program? I must've run configure or something wrong
<evanjs> I just nix-shell'ed, ./bootstrap, configure, make
selfsymmetric-mu has quit [Remote host closed the connection]
infinee_ has quit [Quit: Leaving]
<clever> evanjs: both nix-build and configure+make result in a working binary, for `.../nix run nixpkgs.hello -c hello`
Okinan has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
toppler has joined #nixos
<j4m3s__> Hi ! I'm trying to install nixos on my laptop, with full disk encryption, but grub tries to mount partition that is in the encrypted part... Even though I have preLVM = true; enableCryptoDisk etc... Any ideas ?
<evanjs> clever: Mmkay it works after I actually create+chmod+chown /usr/local and install there :P
<evanjs> clever: anyway, looks like that's ref 61e81621?
<clever> j4m3s__: do you have a plaintext /boot ?
<evanjs> ah I see it now. Annoying the abbreviations are one char different
<j4m3s__> nope, /boot is inside my root partition which is encrypted
<clever> j4m3s__: then grub must open the encrypted disk to find the kernel/initrd, and preLVM wont have any impact until after that step
<j4m3s__> yep, but how do I tell grub that ?
<j4m3s__> Since it's on the EFI partition and there's no grub.cfg lying around
<clever> j4m3s__: where is the EFI part mounted to?
toppler has quit [Ping timeout: 264 seconds]
<j4m3s__> /boot/EFI
<clever> j4m3s__: and youve set boot.loader.efi.efiSysMountPoint ?
growpotkin has joined #nixos
<j4m3s__> Yep!
alexherbo26 has joined #nixos
<clever> j4m3s__: *looks*
toppler has joined #nixos
alexherbo2 has quit [Ping timeout: 245 seconds]
<clever> that flag just sets an env var before running install-grub.pl
<clever> and nothing in nixpkgs checks that var
<evanjs> on a less bug-related note, does anybody know how I could better stay up to date in terms of linux kernels while also locking myself to the latest kernel that has a corresponding VBox binary available on cachix?
<evanjs> Like if I wanted 5.2 or 5.3 but didn't want to build VBox myself _every_ time I upgrade
<clever> evanjs: get hydra to build it for you
<evanjs> clever: like my own hydra instance?
<clever> j4m3s__: ah, that env var is a direct option for grub
<clever> evanjs: either your own, or file a pr to nixpkgs, to hydra.nixos.org could pre-build it
<j4m3s__> clever: so what should I do ? pass it to nixos-install as env ? (does that even work?)
<clever> j4m3s__: setting the nixos option will pass that env var to grub for you
<evanjs> clever: oooo that's a thought. Didn't think of the latter option. Would be interesting if I could set that up but also get autoUpgrade to work in sync with it. i.e. "Don't try to build this from source if it's not available as a binary"
cosimone_ has joined #nixos
<clever> evanjs: thats what channels do
cosimone has quit [Ping timeout: 250 seconds]
toppler has quit [Ping timeout: 264 seconds]
<clever> evanjs: the channel doesnt update until hydra has at least tried to build every single package
<o1lo01ol1o> I'm trying to debug a driver problem; given a paritially functional clean install of 19.09, what's the cleanest way to get to 17.09?
<clever> evanjs: so if the package is in the release.nix, the channel wont update until hydra has tried (but a failure still counts)
<clever> o1lo01ol1o: most of the time, you can just change the nix-channel, `nixos-rebuild boot`, and reboot
<evanjs> `32 revisions left to test` -- oh boy. Only 5 steps though
<o1lo01ol1o> clever: that's what i've done but it looks like my nvidia (titan black; series 700) drivers are still borked. Guess I'll try 16
<j4m3s__> clever: thing is I already had enableCryptodisk to true and it doesn't work
toppler has joined #nixos
<o1lo01ol1o> just wanted to be sure that changing the channel was sufficient
<clever> o1lo01ol1o: usually is
<j4m3s__> clever: It tries to mount a disk by its lvmid (which I have not precised in the conf), and fails because it is on the encrypted disk
<clever> j4m3s__: then something else must be wrong with the cryptodisk setup, are you using luks?, hmmm, maybe grub doesnt understand lvm on luks?
<j4m3s__> I'm using luks yep
<gchristensen> btw {^_^} got real sick last night. they'll be back soon :)
cosimone_ has quit [Client Quit]
<j4m3s__> grub normally works with lvm or luks, why should it with both ? x)
<j4m3s__> shouldn't*
knupfer has joined #nixos
cosimone_ has joined #nixos
<clever> j4m3s__: would need to run tests in a vm to see if it does or doesnt work
<clever> gchristensen: that reminds me, my entire house just dropped off the face of the internet, while out for thanks giving
cosimone_ has quit [Client Quit]
asymptotically has joined #nixos
<j4m3s__> mmm it works, because my current pc has it and it works. and it also is running nixos x)
<clever> gchristensen: all vpn's that connect out are mia, the public ip doesnt respond
<clever> j4m3s__: how do the configs between the 2 differ? can you give more info like the lsblk of both?
<j4m3s__> NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
<j4m3s__> sda 8:0 0 931.5G 0 disk
<j4m3s__> ├─sda1 8:1 0 500M 0 part /boot/EFI
<j4m3s__> └─sda2 8:2 0 931G 0 part
toppler has quit [Ping timeout: 240 seconds]
<j4m3s__> └─root 254:0 0 931G 0 crypt
<j4m3s__> ├─vg-swap 254:1 0 8G 0 lvm [SWAP]
<clever> ,pastebin j4m3s__
<j4m3s__> └─vg-root 254:2 0 923G 0 lvm /
<j4m3s__> sr0 11:0 1 1024M 0 rom
<j4m3s__> y
<clever> ,paste
<j4m3s__> ups
<samueldr> clever: the bot isn't there for a short while longer :)
<clever> gchristensen: ah, still not fixed?
abathur has joined #nixos
cosimone has joined #nixos
cjpbirkbeck has quit [Quit: Quitting now.]
<arianvp> Why didn't 19.09 switch to Linux 5.4 ?
<srhb> arianvp: Because it's not LTS. Or at least it wasn't at release time.
toppler has joined #nixos
<srhb> It's not even released yet, even...
<clever> j4m3s__: and what about the 2nd machine?
cosimone has quit [Client Quit]
<j4m3s__> i'm doing the pastebin so it's clearer
<arianvp> Oooh
<arianvp> Haha that explains
<samueldr> _latest continues pointing to the latest stable
<samueldr> currently is 5.3
<j4m3s__> but it's basically the same
cosimone has joined #nixos
cosimone has quit [Client Quit]
toppler has quit [Ping timeout: 240 seconds]
{^_^} has joined #nixos
<gchristensen> ,botsnack
<{^_^}> Oh thanks, have a cookie yourself
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos
toppler has joined #nixos
Zer0xp has joined #nixos
<j4m3s__> (note that the second lsblk is from the iso)
<gchristensen> clever: yeah.... it was broken by a full disk and failed writes, then rabbitmq failed, and then recovery failed.
LouisDK has joined #nixos
<clever> gchristensen: ouch
<clever> gchristensen: in my case, its much more of a mystery, the entire network is just offline, including the router, so i have no way to debug anything!
nexgen has quit [Quit: Leaving]
<gchristensen> yep. had to delete some state. ouch!
<clever> its nixos, what do you even need state for? :D
<gchristensen> hehe
<gchristensen> persistent messages :)
drakonis has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
NoctisLabs has quit [Quit: WeeChat 2.6]
drakonis_ has quit [Ping timeout: 252 seconds]
toppler has joined #nixos
wfranzini has quit [Remote host closed the connection]
<samueldr> services.journald.extraConfig = ''\nSystemMaxUse=2048M\n'' # <- I have something similar in my configurations
wfranzini has joined #nixos
<samueldr> though I instead have maxUse computed as the smaller between a 64th of the rootfs or 4GB; rootfs size is a custom configuration I use to set similar automatic maximums
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c725b282493 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<samueldr> not sure if in your case the journal was absurdly huge :)
Mr_Keyser_Soze has joined #nixos
ZerataX has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<LouisDK> I still get "error: anonymous function at /home/louis/nixpkgs/pkgs/applications/video/mythtv/default.nix:1:1 called without required argument 'nvidia_x11', at /home/louis/nixpkgs/lib/customisation.nix:69:12" while trying to build: error: anonymous function at /home/louis/nixpkgs/pkgs/applications/video/mythtv/default.nix:1:1 called without required
<LouisDK> argument 'nvidia_x11', at /home/louis/nixpkgs/lib/customisation.nix:69:12 - Other packages have no problem including it: https://github.com/NixOS/nixpkgs/blob/69d58ee24506e2b3b5aff347ae3b0791110340ec/pkgs/tools/system/nvtop/default.nix - does nvidia_x11 really have to be installed doing build despite it being a disabled option?
toppler has joined #nixos
Swant has joined #nixos
drakonis_ has joined #nixos
<ivan> LouisDK: if you want to install nvtop yes
toppler has quit [Ping timeout: 265 seconds]
<ivan> oh I misread
<ivan> I don't see nvidia_x11 in 19.09's mythtv/default.nix
toppler has joined #nixos
<alexarice[m]> LouisDK: I already told you how to do this
<alexarice[m]> look at `nvtop` definition in `all-packages.nix`
<alexarice[m]> you need `mythtv = callPackage ... { nvidia-x11 = linuxPackages.nvidia_x11; }`
gila has joined #nixos
toppler has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
domogled has joined #nixos
Mr_Keyser_Soze has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
clever_ has joined #nixos
Mr_Keyser_Soze has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c725b282493 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
toppler has quit [Ping timeout: 240 seconds]
m0rphism has quit [Quit: WeeChat 2.4]
m0rphism has joined #nixos
h1x has left #nixos [#nixos]
toppler has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> for some reason
<fresheyeball> all of the sudden, pulling from one of my caches is all "broken pipe"
<evanjs> clever: mmkay https://github.com/NixOS/nix/issues/3140#issuecomment-541446378 -- first time bisecting, but hopefully that helps *shrugs*
cosimone has joined #nixos
<fresheyeball> is there a way I can kick sshServe?
<fresheyeball> restart it somehow?
toppler has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
Heirlung has quit [Ping timeout: 264 seconds]
<clever> fresheyeball: sshServe just uses sshd
toppler has quit [Ping timeout: 264 seconds]
<fresheyeball> hmm, I already tried systemctl restart sshd
<fresheyeball> maybe I should do so on the client as well
Fare has joined #nixos
<manveru> fresheyeball: mismatching nix versions?
Heirlung has joined #nixos
<fresheyeball> what do you mean by nix version?
<manveru> fresheyeball: also try `ssh-ng` instead of `ssh`
toppler has joined #nixos
<manveru> well, the version of nix that the nix-daemon uses
<clever> evanjs: i think the failure depends on the value of $NIX_PATH
<fresheyeball> they do not match
<clever> evanjs: and what channels you have
<fresheyeball> 2.1.3 vs 2.2.2
toppler has quit [Ping timeout: 240 seconds]
<fresheyeball> but these systems where share nix-stores via sshServe for a while now without issue
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fresheyeball> why would a version mismatch suddenly cause broke pipe all over the place?
clever_ has quit [Changing host]
clever_ has joined #nixos
toppler has joined #nixos
zupo has joined #nixos
clever has quit [Quit: leaving]
domogled has quit [Ping timeout: 264 seconds]
feep_ has joined #nixos
feep has quit [Disconnected by services]
clever_ is now known as clever
doublex has quit [Ping timeout: 250 seconds]
<pikajude> isn't there a tool that takes a cabal project freeze file and generates a nix expression from it?
<pikajude> i remember that being a thing
toppler has quit [Ping timeout: 265 seconds]
<fresheyeball> what the hell?
<fresheyeball> I restarted the nix-daemon and sshd on both sides
<fresheyeball> writing to file: Broken pipe
<fresheyeball> on both sides
cosimone has quit [Quit: Quit.]
<fresheyeball> I can ssh between the two machines without issue
<fresheyeball> and I can sudo ssh nix-ssh@ both machines without issue
<ivan> are you using a nix cache over ssh?
<fresheyeball> yes
<fresheyeball> sshServe
<{^_^}> nix#2395 (by nh2, 1 year ago, open): Use of PR_SET_PDEATHSIG results in Broken pipe errors when using SSH substituters
<ivan> try nix-serve or eris
<clever> fresheyeball: what about `ssh user@host nix-store --version?
feep_ is now known as feep
kleisli has quit [Ping timeout: 265 seconds]
<fresheyeball> clever: works in both directions
sigmundv has joined #nixos
<fresheyeball> everything was working great until today
toppler has joined #nixos
<clever> fresheyeball: what about `ssh user@host nix-build '<nixpkgs>' -A hello` ?
NoctisLabs has joined #nixos
<fresheyeball> interesting!
<fresheyeball> what are you onto clever?
<ivan> that nix bug prevents ssh caches from working reliably, so ssh working elsewhere is not interesting
<fresheyeball> so if I ssh in and run that command it succeeds
<fresheyeball> if I so the ssh user@host style
<fresheyeball> it fails
<clever> fresheyeball: what error does ti fail with?
<fresheyeball> zsh:1: no such file or directory: nixpkgs
<clever> fresheyeball: then $NIX_PATH isnt being set, need a different test
<clever> > "${hello}"
<{^_^}> "/nix/store/fmjrlfw1a8d4rqgiwbi87ia88fhix7fk-hello-2.10"
<clever> fresheyeball: try `ssh user@host nix-store -r /nix/store/fmjrlfw1a8d4rqgiwbi87ia88fhix7fk-hello-2.10`
<evanjs> clever: seems like it. Removing `:/nix/var/nix/profiles/per-user/root/channels` from my NIX_PATH seems to allow nix commands to work
<fresheyeball> that worked
<clever> evanjs: can you include the full output of `nix-channel --list` (as root and not), and `echo $NIX_PATH` in the ticket?
toppler has quit [Ping timeout: 265 seconds]
selfsymmetric-pa has joined #nixos
<fresheyeball> clever: just to be clear that command working when I ran it on the client with myself as the user
<clever> fresheyeball: and now youve ruined the test, it only works if the path doesnt exist
<clever> fresheyeball: you need to do `nix-store --delete <thatpath>` to reset things and be able to test it
<evanjs> clever: assuming that's better than what nix-info gave then yes
<clever> evanjs: nix-info formats the channels differently, and doesnt include $NIX_PATH
cosimone has joined #nixos
<clever> bbl
<evanjs> clever: sure sure, figured as much and yeah re nix_path
toppler has joined #nixos
fresheye1 has joined #nixos
cosimone has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos
Havvy has quit [Read error: Connection reset by peer]
risson has quit [Quit: Pouet. WeeChat 2.4]
<evanjs> clever: mmkay. Hopefully that's enough info for now..
toppler has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
Havvy has joined #nixos
cosimone has joined #nixos
toppler has joined #nixos
ng0 has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
LouisDK has quit [Remote host closed the connection]
toppler has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.2]
alexherbo261 has joined #nixos
<o1lo01ol1o> Does anyone happen (to be / have been) running an nvidia GTX 700 series card in any version of nixos?
Jackneill has quit [Remote host closed the connection]
<fresheye1> fuck me everything is just borked by this
[Leary] has joined #nixos
Lears has quit [Read error: No route to host]
alexherbo26 has quit [Ping timeout: 268 seconds]
toppler has quit [Ping timeout: 268 seconds]
idf has quit [Ping timeout: 264 seconds]
selfsymmetric-pa has quit [Remote host closed the connection]
ixxie has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
<clever> fresheye1: what does nix-store -r say?
<clever> fresheye1: when ran over ssh, and only ssh
jntd has joined #nixos
Fare has quit [Ping timeout: 264 seconds]
Lears has joined #nixos
[Leary] has quit [Remote host closed the connection]
feep_ has joined #nixos
feep has quit [Disconnected by services]
feep_ is now known as feep
drakonis_ has quit [Quit: Leaving]
toppler has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
<jntd> how do I reference a security.wrapped binary in a service?
<clever> jntd: which one and why do you need it?
<jntd> collectd. to use the S.M.A.R.T. plugin
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9610d2733e3 (from 58 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<clever> jntd: systemd runs things as root by default, so you shouldnt need the wrapped binary
toppler has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
<jntd> clever: collectd run as collectd user
<clever> jntd: the wrappers all exist in /run/wrappers/bin/
civodul has joined #nixos
<jntd> clever: right, but I don't know how to link these two (wrapped binary systemd unit) together.
toppler has joined #nixos
<clever> jntd: /run/wrappers/bin/collectd
toppler has quit [Ping timeout: 240 seconds]
jimmyeatworld has joined #nixos
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
jntd has quit [Remote host closed the connection]
risson has joined #nixos
toppler has joined #nixos
cosimone has quit [Read error: Connection reset by peer]
jntd has joined #nixos
xelxebar has quit [Ping timeout: 260 seconds]
cosimone_ has joined #nixos
<jntd> clever: I'm trying to follow the nixos way, wrapper dir can be redefined.
cosimone_ is now known as cosimone
<srhb> jntd: You can refer to config.security.wrapperDir
kleisli has joined #nixos
toppler has quit [Ping timeout: 264 seconds]
xelxebar has joined #nixos
<jntd> srhb: but I'll have to write my own unit file, right? Can I refer the wrapped binary via services.collectd?
toppler has joined #nixos
<clever> jntd: you would need to use "${config.security.wrapperDir}/collectd" i think
<srhb> jntd: Yes, at least partially you'd have to, if the option isn't exposed.
<srhb> (Which it isn't)
knupfer has quit [Ping timeout: 264 seconds]
Fare has joined #nixos
<manveru> pikajude: you mean https://input-output-hk.github.io/haskell.nix/ ?
wedens has quit [Quit: Connection closed for inactivity]
mexisme has joined #nixos
toppler has quit [Ping timeout: 264 seconds]
LouisDK has joined #nixos
<LouisDK> I have to combine these two call packages: mythtv = libsForQt5.callPackage ../applications/video/mythtv { }; mythtv = callPackage ../applications/video/mythtv { libXNVCtrl = linuxPackages.nvidia_x11.settings.libXNVCtrl; };
<jntd> srhb: I'm thinking in something like services.collectd.package, but security.wrappers returns a set with a path and a string and there is no mention to the wrapped bin.
<LouisDK> - in all-packages.nix
jasom has joined #nixos
toppler has joined #nixos
aswanson has joined #nixos
<danderson> So I asked 12h ago, but perhaps more experts are around now... I'm writing a module for pppd, which supports defining multiple connections. I'm hitting an infinite recursion, and I don't understand how to fix it. Any nix experts around who can help me understand?
Fare has quit [Read error: Connection reset by peer]
<danderson> I'm quite a nix noob, so I've been taking inspiration from etc.nix and a few other simple modules, to figure out how to do this. But clearly I've got it wrong still.
growpotk- has joined #nixos
risson has quit [Quit: Pouet. WeeChat 2.6]
<clever> danderson: you cant set config directly to the result of mkMerge, because they you cant depend on any part of config
<clever> danderson: you need to break it up into parts, like i did in the weechat.nix example
<clever> danderson: nixos needs to know which attrs of config you are setting, so it can route around your value, and figure it out later
toppler has quit [Ping timeout: 268 seconds]
<danderson> I'm confused, why does the mkmerge anger nix? Isn't the end result the same?
<clever> danderson: you also dont use the @ sign if you are giving each IF its oan ExecStart
<danderson> I'm sure I'm just missing how the internal work
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/05ed82e6f43 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<clever> danderson: the problem, is that it must know every attribute of config.<?> before it can give you the value of config.networking.pppd
<aswanson> I'm getting a strange error when running `nixos-rebuild switch`, after the step `Updating GRUB 2 menu` : `Died at /nix/store/<hash>-install-grub.pl line 33`. I assume something is missing/broken under /boot but I don't know what
<danderson> aaah
<clever> danderson: and it cant know what your mkMerge returns, until it knows what config.networking was
cosimone has quit [Quit: Quit.]
<danderson> okay. So, I have to give it enough information to know that I'm only setting environment.etc and systemd.*
<clever> danderson: but if you instead config.environment = mkMerge ... ; config.systemd = mkMerge ...;
toppler has joined #nixos
<clever> danderson: then it can figure out what your doing later, and not cause recursion
<danderson> okay, I see now. I was assuming nix's lazy eval was more clever than it is
<danderson> that makes sense now. Thank you!
doublex has joined #nixos
<danderson> and yes, the systemd service is all kinds of broken, because I wasn't sure how to express "please just do the equivalent of `systemctl enable pppd@foo.service`, don't actually write a new unit file"
<danderson> but I can iterate on that in my system, once the module actually builds.
jntd has quit [Remote host closed the connection]
risson has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
LouisDK has quit [Remote host closed the connection]
toppler has joined #nixos
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
LouisDK has joined #nixos
<LouisDK> I have to combine these two call packages in all-packages.nix:mythtv = libsForQt5.callPackage ../applications/video/mythtv { };mythtv = callPackage ../applications/video/mythtv { libXNVCtrl = linuxPackages.nvidia_x11.settings.libXNVCtrl; };
cosimone has joined #nixos
evanjs has joined #nixos
cosimone has quit [Client Quit]
toppler has quit [Ping timeout: 240 seconds]
Fare has joined #nixos
<freeman42x> any easy fix for this? <<error: attribute 'unmarkBroken' missing, at /home/neo/Sources/miso-jsaddle/sample-app/shell.nix:9:14>>
<infinisil> freeman42x: You're probably using a nixpkgs version where this hasn't been added yet, it's a recent change
<infinisil> You can define it yourself in a surrounding `let in` or so as a workaround
<freeman42x> infinisil, oh, I see
<freeman42x> infinisil, I am using 19.03
toppler has joined #nixos
Ariakenom has quit [Quit: Leaving]
<freeman42x> oh 19.09 has been released, I can upgrade OS I guess
WilliamHamilton has joined #nixos
<danderson> clever: fantastic, my module builds now! Thanks so much for walking me through that.
ixxie has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 276 seconds]
<freeman42x> like... WAT? [root@nixos:~]# nix-channel --update Segmentation fault
<freeman42x> and guess what? it run fine the second time
growpotk- has quit [Quit: ZNC 1.7.4 - https://znc.in]
toppler has joined #nixos
<danderson> transient error with a segv in the error path?
<danderson> either that or check your RAM for errors
Mr_Keyser_Soze has quit [Ping timeout: 264 seconds]
<WilliamHamilton> I'm looking for a wifi card to use with NixOS; is there something I should know (incompatibilities, etc)? I'd choose a Asus PCE-AC55BT probably
<danderson> for hardware support, nixos isn't significantly different from other linux distros, so the main thing to check is linux kernel support
<danderson> if whatever card has a driver that supports the common 80211 frameworks in the kernel, it should mostly just work
selfsymmetric-mu has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<danderson> a quick google tells me that particular card is actually just an Intel wifi chipset under the hood. Intel chipsets are well supported on linux, so it should be fine
<WilliamHamilton> danderson thank you very much!
<danderson> for nixos specifically, make sure you enable the option to install proprietary firmwares in your system
<danderson> intel wifi chips need the kernel to load a firmware blob into them when they start up, so you need to tell nixos to dump those firmware blobs into the filesystem at the standard location
<danderson> It'll be one of these options: https://nixos.org/nixos/options.html#firmware
<danderson> not sure which, but I'd start with `hardware.enableRedistributableFirmware = true`
toppler has joined #nixos
<danderson> and see how things go from there
<WilliamHamilton> duly noted, thanks! :)
<hpfr[m]> I tried getting distributed builds to work but couldn’t, but now I can’t rebuild to turn off the distributed builds because rebuild still tries and fails to connect to the build server. How can I force a local rebuild so I can turn it off?
liamdiprose has joined #nixos
fendor_ has quit [Ping timeout: 268 seconds]
Fare has quit [Read error: Connection reset by peer]
endformationage has quit [Ping timeout: 265 seconds]
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
<tilpner> hpfr[m]: --option builders ""
toppler has quit [Ping timeout: 240 seconds]
evanjs has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
toppler has joined #nixos
LouisDK has quit [Remote host closed the connection]
<freeman42x> can anyone tell which exact package is causing this build issue? https://gist.github.com/razvan-flavius-panda/c72492b46f2c86b909c2830f5ac87a68
<freeman42x> I thought it was the nodejs one but I tried the 10 and 12 version and it still does not build
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<infinisil> freeman42x: Well it says "../src/fibers.cc:741:43: error: no matching function for call to 'v8::Value::ToNumber()'", so maybe it wants nodejs8
<manveru> v8 is the name of the engine, no relation to the version number
toppler has quit [Ping timeout: 265 seconds]
<infinisil> Oh, never mind then
<manveru> still might be a version issue though :)
<freeman42x> the thing is, I can't just remove nodejs since I need it for Electron
<freeman42x> is there a way to just tell it to use the nodejs from 19.03? v11 worked fine
toppler has joined #nixos
wfranzini has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 240 seconds]
wfranzini has joined #nixos
<manveru> yeah, you'll have to import nixpkgs from 19.09
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<freeman42x> manveru, how do I do that only for that package?
<freeman42x> I'm assuming the nodejs build is the issue... not sure though
asymptotically has quit [Quit: Leaving]
drakonis has joined #nixos
andymandias_ has quit [Ping timeout: 240 seconds]
Fare has joined #nixos
andymandias has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
abathur has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
br_ has quit [Ping timeout: 264 seconds]
qqlq has quit [Quit: ZNC 1.7.5 - https://znc.in]
Fare has quit [Read error: Connection reset by peer]
toppler has quit [Ping timeout: 268 seconds]
<freeman42x> I removed the nodejs and electron packages and it still fails: https://gist.github.com/razvan-flavius-panda/9b78187d9b919d9e2506167e19292fd9
<freeman42x> any ideas?
br_ has joined #nixos
__monty__ has quit [Quit: leaving]
<fresheye1> I don't see any work around for sshServe not working
<fresheye1> other than abandoning it for the moment
toppler has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
<clever> fresheye1: what did the nix-store -r over ssh return?
<clever> fresheye1: you never answered that question
o1lo01ol1o has joined #nixos
Zer0xp has quit [Ping timeout: 264 seconds]
toppler has quit [Ping timeout: 268 seconds]
<pikajude> i'm on the edge of my seat
br_ has quit [Ping timeout: 240 seconds]
<hpfr[m]> tilpner: —builders “” doesn’t work. I have builders-use-substitutes on as well
toppler has joined #nixos
<pikajude> oh, i had no idea about that option
<pikajude> that's perfect!
mabel has quit [Quit: WeeChat 2.6]
toppler has quit [Ping timeout: 240 seconds]
Fare has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Fare has quit [Read error: Connection reset by peer]
toppler has joined #nixos
inkbottle has quit [Ping timeout: 240 seconds]
inkbottle has joined #nixos
xfix_ has joined #nixos
drakonis_ has joined #nixos
<hpfr[m]> tilpner: —option builders “” —option substituters “” worked
drakonis has quit [Ping timeout: 240 seconds]
<hpfr[m]> Why is —option not in man nixos-rebuild
<clever> hpfr[m]: In addition, nixos-rebuild accepts various Nix-related flags, including --max-jobs / -j, --show-trace, --keep-failed, --keep-going and --verbose / -v. See the Nix manual for details.
<clever> hpfr[m]: its part of this clause
toppler has quit [Ping timeout: 240 seconds]
<hpfr[m]> Yeah, I just saw that and assumed that was the case
<hpfr[m]> Anyway, I guess remote builds are working but the substituters aren’t
<clever> hpfr[m]: are all substituters reachable?
<clever> hpfr[m]: what does it hang on if you use -vvvv ?
pikajude has quit [Quit: ZNC 1.7.4 - https://znc.in]
xfix has quit [Ping timeout: 240 seconds]
pikajude has joined #nixos
szyk has left #nixos [#nixos]
<freeman42x> how can I find out what package needs this package to be installed? `builder for '/nix/store/7lb1phyrf62scp1v0950f47vm51cl1l4-node-azure-cli-0.10.20.drv' failed with exit code 1`
toppler has joined #nixos
br_ has joined #nixos
<clever> fresheye1: nix tells you, on the like immediately after that one
<hpfr[m]> clever: I don’t have time to check right now unfortunately but thanks for the tip, I will post later if I have time to try it
<danderson> Need another hand with my nixos module. Adding a conditional to my systemd unit's wantedBy results in the eval error "value is a set while a Boolean was expected". https://gist.github.com/danderson/3ccead0709988ec2a2f86de8b71ec531
<danderson> Removing the conditional in `wantedBy` makes the error go away, which just leaves me confused. cfg.autostart is a bool, and afaict I'm not defining sets anywhere in here.
<danderson> and again the trace just shows things failing somewhere in the bowels of nix, rather than pointing to something in my own module.
toppler has quit [Ping timeout: 240 seconds]
<danderson> The trace does show that it's failing while evaluating my `wantedBy` attribute, so that's consistent... I just don't get what it's trying to tell me.
br_ has quit [Ping timeout: 268 seconds]
<clever> danderson: that error makes no sense to me either, but i would try `= lib.mkIf cfg.autoStart [ "multi-user.target" ];`
toppler has joined #nixos
<danderson> clever: I grepped for other wantedBy uses in nixpkgs, and found that some other packages implement this conditional with: `wantedBy = optional cfg.autostart "multi-user.target";`. So I did that, and it works now.
<danderson> so... ???
<danderson> hmm, although I say "it works", but the unit doesn't exist or start despite autostart being true...
<clever> danderson: does the file exist in /etc/systemd/system/ ?
<danderson> oh, wait, I'm an idiot. I'm not setting the options any more, so obviously there's nothing to create.
<danderson> (I removed `networking.pppd.centurylink` from my configuration.nix while debugging)
<clever> danderson: you can also do `nix repl '<nixpkgs/nixos>'` and then eval any option you want, to see what is set to what
<clever> they should all be under config
<danderson> okay, `optional` actually results in the same error. More confusing, `mkIf cfg.autostart ["multi-user.target"]` results in a different error: "error: ‘mkIf’ called with a non-Boolean condition"
<danderson> so... cfg.autostart is apparently not a bool... But it is though :(
feep_ has joined #nixos
feep has quit [Disconnected by services]
toppler has quit [Ping timeout: 268 seconds]
<danderson> oh, oh!
<danderson> missing `mkOption` in the definition of autostart.
<danderson> so it's just a random attrset, not an option. Derp.
<clever> danderson: ah, yep, that will do weird things
<clever> danderson: lib.mkEnableOption may also interest you
toppler has joined #nixos
<fresheye1> I wish I knew what happened that caused this sshServe race issue to surface
<fresheye1> because its just as consistently broken now as it was consistently working yesterday
toppler has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
toppler has joined #nixos
alexherbo261 has quit [Ping timeout: 240 seconds]
mjsir911 has quit [Quit: Goodbye, World!]
mjsir911 has joined #nixos
o1lo01ol1o has joined #nixos
alexherbo261 has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
<freeman42x> opened an issue for this: https://github.com/NixOS/nixpkgs/issues/71096
<{^_^}> #71096 (by razvan-flavius-panda, 19 seconds ago, open): Cannot upgrade to 19.09 - node-azure-cli-0.10.20.drv builder failed
<ornx> i just had a problem where an invalid icon-theme.cache was installed to my nix profile
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<ornx> because the store is read only (obviously), how do i actually fix this?
WilliamHamilton has quit [Ping timeout: 260 seconds]
br_ has joined #nixos
<ornx> i "fixed" it by coping the whole icons directory to ~/.local and deleting the offending cache, but ideally i would like to fix the actual problem and generate a valid icon-theme.cache that contains all of the icons i have installed
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<clever> ornx: only systemPackages via configuration.nix supports running commands after merging, to update such caches
<ornx> ah...
<clever> ornx: you could manually implement it if you make your own drv with buildEnv and a post command, and then put everything with icons into that buildEnv
<clever> then install just that with nix-env
br_ has quit [Ping timeout: 268 seconds]
toppler has quit [Ping timeout: 276 seconds]
ddellacosta has quit [Ping timeout: 250 seconds]
<ornx> ill probably just put a sticky note on my monitor that says "remember to copy icons to ~/.local after install" :P
<ornx> but thank you anyway
ddellacosta has joined #nixos
m0rphism has quit [Ping timeout: 268 seconds]
<ornx> is running commands after merging via nix-env something that is intended to be supported ever?
<ornx> it seems like a rather useful feature...
toppler has joined #nixos
<Ralith_> can someone merge https://github.com/NixOS/nixpkgs/pull/70490 ?
<{^_^}> #70490 (by Ralith, 1 week ago, open): openxr-loader: fix missing graphics API support
<clever> ornx: its a limitation of the buildenv that nix-env uses to merge things
<clever> ornx: only the nixpkgs buildenv can run thngs in the post hook
<ornx> ahh, i see
<gchristensen> infinisil: what if the github PR unfurler included "(by maintainer)" if the " 11.by: package-maintainer" label is applied?
<infinisil> "unfurler"?
<gchristensen> the {^_^} feature which pastes the subject / PR info when linking an issue
<Ralith_> gchristensen: <3
freeman42x has quit [Ping timeout: 264 seconds]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<infinisil> Ah I see
pbb has joined #nixos
toppler has quit [Ping timeout: 276 seconds]
<infinisil> Sounds like a good idea to me
<infinisil> And is doable without too much effort
<gchristensen> cool :D
toppler has joined #nixos
alexherbo261 has quit [Ping timeout: 276 seconds]
noonien has joined #nixos
suhashebbar[m] has left #nixos ["User left"]
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #71078 → arcanist: fix broken package [19.09] → https://git.io/Je8mW
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to release-19.09: https://git.io/Je8ml
jimmyeatworld has quit [Ping timeout: 265 seconds]
br_ has joined #nixos
toppler has joined #nixos
<Ralith_> argh how the crap do I get home-manager to update
<Ralith_> keeps freaking out about "attribute 'vte-ng' missing," which supposedly a recent commit to master fixed but nothing I do seems to actually install that commit
Ralith_ has quit [Remote host closed the connection]
lukash_ is now known as lukash_|away
toppler has quit [Ping timeout: 240 seconds]
br_ has quit [Ping timeout: 268 seconds]
Ralith_ has joined #nixos
<Ralith_> I think it's stuck in some cache somewhere but nuking ~/.cache/nix does no good
toppler has joined #nixos
IdleBot_bf4161f7 has joined #nixos
IdleBot_bf4161f7 has left #nixos [#nixos]
<clever> Ralith_: is the fix in a channel yet?
<Ralith_> what?
<Ralith_> I don't use channels
<Ralith_> just programs.home-manager.path = https://github.com/rycee/home-manager/archive/master.tar.gz;
philr has joined #nixos
<Ralith_> I think I need to get nix to stop cacheing that URL but idk how
xfix_ has quit [Quit: Konversation terminated!]
toppler has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
cjpbirkbeck has joined #nixos
<clever> Ralith_: thats in ~/.cache/nix/tarballs/
<clever> for the user doing the eval
<Ralith_> which user is that?
<niso> the hydra build seems to fail (while working locally): https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.newsboat.x86_64-linux#tabs-status
<niso> *again*
<Ralith_> nuking it for the user running home-manager switch certainly didn't help
<Ralith_> I'm not sure the home-manager.path setting is even being used :/
<Ralith_> changing it has no impact on the store paths in the error message
toppler has quit [Ping timeout: 265 seconds]
<clever> Ralith_: depends on if your using plain home-manager or the home-manager module in nixos
xkapastel has joined #nixos
toppler has joined #nixos
freeman42x has joined #nixos
<Ralith_> definitely plain
<Ralith_> not a single mention of it in my configuration.nix
freeman42x has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 240 seconds]
br_ has joined #nixos
freeman42x has joined #nixos
Mr_Keyser_Soze has joined #nixos
<clever> Ralith_: then it will be within your own users home
<Ralith_> well, nuking the cache isn't doing anything and changing the path isn't doing anything
<clever> Ralith_: is the fix in home-manager or nixpkgs?
toppler has joined #nixos
<infinisil> clever: home-manager apparently: https://github.com/rycee/home-manager/pull/865
<{^_^}> rycee/home-manager#865 (by kalbasit, 5 days ago, merged): termite: use vte-ng at pkgs.termite.vte-ng
<infinisil> Ralith_: Maybe you're using a home-manager version too new for the nixpkgs version
wfranzini has quit [Remote host closed the connection]
<infinisil> As it seems like it can be the case from that PR's discussion
wfranzini has joined #nixos
<Ralith_> infinisil: the first thing I tried was switching the path back to release-19.09, but to no effect
<infinisil> Ralith_: So what's the exact error with the trace too? You can pass `-v` to home-manager to see the trace
<Ralith_> ah, wait, there I go, I had to disable termite, switch to release-19.09, enable termite, switch again
<infinisil> Ralith_: Hm I see, so what did you change in the end?
br_ has quit [Ping timeout: 265 seconds]
<Ralith_> I had been on master, you were right that it's too new
<Ralith_> first time that's been an issue in ages
toppler has quit [Ping timeout: 265 seconds]
Ralith_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rbrewer123 opened pull request #71097 → pyznap: 1.2.1 -> 1.4.3 → https://git.io/Je8m9
toppler has joined #nixos
Ralith_ has joined #nixos
<{^_^}> [nixpkgs] @wucke13 opened pull request #71098 → Reliable epson → https://git.io/Je8mH
toppler has quit [Ping timeout: 240 seconds]
alexherbo261 has joined #nixos
<Ralith_> and now everything's the right color again, hooray
sigmundv has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
jonathan34 has quit [Ping timeout: 260 seconds]
endformationage has joined #nixos
fenedor has quit [Quit: Leaving]
noudle has quit []
toppler has quit [Ping timeout: 268 seconds]
br_ has joined #nixos
toppler has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
alexherbo261 is now known as alex```
<freeman42x> how can I check which package needs: /nix/store/7lb1phyrf62scp1v0950f47vm51cl1l4-node-azure-cli-0.10.20.drv ?
<{^_^}> [nixpkgs] @risicle opened pull request #71099 → imagemagick: 6.9.9-34 -> 6.9.10-68, fixing numerous CVEs → https://git.io/Je8mN
<infinisil> freeman42x: `nix-store -q --referrers <path>` probably works
Rusty1 has joined #nixos
<freeman42x> so the entire 19.09 system depends on it? https://gist.github.com/razvan-flavius-panda/f8a940476150a8a935e0974b0c4f06a1
toppler has quit [Ping timeout: 240 seconds]
<freeman42x> yeah, since that is required by: /nix/store/bmq6fm857xrz7iphd9gmrqcizv05l9j9-nixos-system-nixos-19.09.789.7952807791d.drv
<{^_^}> [nixpkgs] @sevanspowell opened pull request #71100 → prometheus, ekg-prometheus-adapter: Remove from broken-packages → https://git.io/Je8mx
<freeman42x> so nixos 19.09 requires... node-azure-cli... that makes 0 sense to me
<ben> are you sure you didnt like explicitly mention it in your configuration
<freeman42x> I am still stuck on: https://github.com/NixOS/nixpkgs/issues/71096
<{^_^}> #71096 (by razvan-flavius-panda, 1 hour ago, open): Cannot upgrade to 19.09 - node-azure-cli-0.10.20.drv builder failed
br_ has quit [Ping timeout: 268 seconds]
<freeman42x> wtf, I searched for it before and it was not there and now it is...
fendor_ has joined #nixos
toppler has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
mbrgm_ has joined #nixos
fendor_ has quit [Quit: Leaving]
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
toppler has joined #nixos
freeman42xx has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to master « nixos/environment: don't set GTK_DATA_PREFIX or GTK_EXE_PREFIX »: https://git.io/Je8Yq
freeman42x has quit [Ping timeout: 246 seconds]
toppler has quit [Ping timeout: 276 seconds]
br_ has joined #nixos
<superbaloo> would anyone have an example of installer.cloneConfig usage?
<superbaloo> can't seem to make it work
toppler has joined #nixos