worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || 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/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
invokesu` has quit [Remote host closed the connection]
drakonis- has joined #nixos
invokesu` has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #94966 → nixos/ipfs: add QUIC transport to swarmAddress list → https://git.io/JJ18f
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JJ1Bg
<Graypup_> somehow when i build my crate with nix it is linking by calling rustc but when it is building in the nix builder it is calling g++ to link????
<Graypup_> what
drakonis- has quit [Client Quit]
<Graypup_> or is cargo quietly hiding that part because it's working properly?
<Graypup_> gosh this is frustrating
<Graypup_> i lied, it's calling cc. but still??
drakonis- has joined #nixos
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #94894 → python3Packages.dask: 2.14.0 -> 2.22.0 → https://git.io/JJXW7
<{^_^}> [nixpkgs] @jonringer pushed 5 commits to master: https://git.io/JJ1Bo
<Graypup_> can I somehow build this manually using the nix commands?
<Graypup_> I have tried unpackPhase; configurePhase; buildPhase; but those two are no-ops
HeN has quit [Quit: Connection closed for inactivity]
<drakonis> has anyone done znc with nixos and acme?
<Graypup_> aha eval "$buildPhase"
<Graypup_> wat
<Graypup_> so ... it builds if I eval "$buildPhase"
<Graypup_> in a pure nix shell
<Graypup_> oh wait, it's because my tests are failing
<Graypup_> failing* to build
<{^_^}> [nixpkgs] @jonringer opened pull request #94976 → python3Packages.msrest: 0.6.17 -> 0.6.18 → https://git.io/JJ1BP
<energizer> i have a bluetooth adapter embedded in my mobo, and another one embedded in my 802.11AX wifi pcie card. `bluetoothctl list` only shows one, and i think it's the mobo one. do i need to do something special to enable bluetooth on the new wifi card?
<DigitalKiwi> Graypup_: did you see my tweet
<{^_^}> [nixpkgs] @jonringer opened pull request #94977 → python3Packages.psutil: 5.7.0 -> 5.7.2 → https://git.io/JJ1BX
xkapastel has quit [Quit: Connection closed for inactivity]
davidv7 has quit [Remote host closed the connection]
drakonis- has quit [Quit: ZNC 1.8.1 - https://znc.in]
<Graypup_> DigitalKiwi, they look really nice!
<DigitalKiwi> Graypup_: :D
drakonis- has joined #nixos
<DigitalKiwi> i think i only have one more board before i have to gesso more boards :(
<DigitalKiwi> which is my least favorite part. maybe second only to going to post office
drakonis has quit [Quit: WeeChat 2.9]
drakonis has joined #nixos
drakonis has quit [Client Quit]
<{^_^}> [nixpkgs] @marsam opened pull request #94978 → shadowsocks-rust: 1.8.13 -> 1.8.14 → https://git.io/JJ1BA
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJ1Bx
dermetfan has quit [Ping timeout: 260 seconds]
Franklex has joined #nixos
drakonis- has quit [Quit: ZNC 1.8.1 - https://znc.in]
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
knupfer1 has quit [Client Quit]
knupfer has joined #nixos
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
knupfer has joined #nixos
jb55 has quit [Remote host closed the connection]
teto has quit [Ping timeout: 246 seconds]
jb55 has joined #nixos
drakonis has quit [Quit: ZNC 1.8.1 - https://znc.in]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #94979 → openrgb: 0.2 -> 0.3 → https://git.io/JJ10c
griff_ has joined #nixos
h0m2 has joined #nixos
h0m1 has quit [Ping timeout: 240 seconds]
ris has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #94948 → python3Packages.nix-kernel: init at 0.1 → https://git.io/JJ1O7
<{^_^}> [nixpkgs] @jonringer pushed commit from @costrouc to master « python3Packages.nix-kernel: init at 0.1 »: https://git.io/JJ10u
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bba261c785a (from 73 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @marsam opened pull request #94980 → zeek: 3.1.2 -> 3.1.5 → https://git.io/JJ105
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d3a1eb06ba4 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
alp has quit [Ping timeout: 272 seconds]
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #94879 → otfcc: fix aarch64 compatibility → https://git.io/JJXLD
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/JJ1Eu
drakonis has quit [Quit: ZNC 1.8.1 - https://znc.in]
<dxb[m]> has anyone set up a raspberry pi 4b with this guy's method/scripts? https://rbf.dev/blog/2020/05/custom-nixos-build-for-raspberry-pis/
cdknight[m] has joined #nixos
drakonis has joined #nixos
jb55 has quit [Remote host closed the connection]
<cdknight[m]> I was going to post something about struggling to install nixos on a 3b+ and then I saw what you posted dxb
<dxb[m]> lol
mrosenbe_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #94981 → python3Packages.cherrypy: 18.3.0 -> 18.6.0 → https://git.io/JJ1EQ
<dxb[m]> cdknight: are you using the official image? or that one? or something else?
<cdknight[m]> like it doesn't have a configuration.nix file
<cdknight[m]> (ootb)
<cdknight[m]> well I got an image from hydra
<{^_^}> [nixpkgs] @jonringer merged pull request #94973 → pythonPackages.hdlparse: init at 1.0.4 → https://git.io/JJ1Bv
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJ1E7
drakonis1 has quit [Quit: WeeChat 2.9]
orivej has joined #nixos
<cdknight[m]> https://hydra.nixos.org/build/124994450 from here, specifically
<cdknight[m]> When I used `sudo nixos-generate-config` and rebuild, and reboot it won't boot anymore lol
<dxb[m]> well for that image i think you need to set up your config a specific way
mrosenbe has quit [Ping timeout: 265 seconds]
<dxb[m]> one sec...
<cdknight[m]> hmm okay is there another image I can use or something
<dxb[m]> that's the image you should be using
<dxb[m]> follow this https://nixos.wiki/wiki/NixOS_on_ARM#NixOS_installation_.26_configuration
wnklmnn has quit [Quit: Leaving]
<cdknight[m]> Ahh okay I'll give it a shot
<cdknight[m]> thanks
<dxb[m]> np
<cdknight[m]> Also I'm on a 3b+ but I might wanna run my 4 on nixos as well lol
<cdknight[m]> but it says you can't run that on a stable release on the wiki?
<Graypup_> hai! I am back with weird rust problems https://gist.github.com/lf-/9b52bafd674f0a59b3bb5d8c37ecb67a
<dxb[m]> idk... my problem is i don't ever want to run it on a display, even for setting it up. that's why i'm using this dude's script to generate my images
<Graypup_> oh shit it's caching
<Graypup_> lmao
<cdknight[m]> ah yeah that'd be nice but I have a display
<cdknight[m]> hmm idk
<dxb[m]> and then my config and stuff is weird when i do it that way
<dxb[m]> i'm about to install on a pi4 and just plug it in cause this is annoying af lol
user_0x58 has quit [Read error: Connection reset by peer]
tarruda2 has quit [Ping timeout: 260 seconds]
<cdknight[m]> yeah you can probably just clone the sd card or something afterwards
<drakonis> znc acquired, at last.
<drakonis> i only have some issues with certs to handle now
<dxb[m]> well i have 2 pi 4s and 2 pi 3s in my little cluster thing, so at least 2 will need to be hooked up to a display at some point
<Graypup_> lol it works now
<Graypup_> got owned by a cache
<Graypup_> 11/10
<cdknight[m]> hmm yeah then go ahead and try this but I already tried the config you sent me previouslyu
<cdknight[m]> * hmm yeah then go ahead and try this but I already tried the config you sent me previously
<cdknight[m]> But... I excluded the fileSystems part
<cdknight[m]> So maybe I should go and try it again lol
<cdknight[m]> .... time to flash the image for like the fifth time now heh
<dxb[m]> you'll need the `/` entry
<dxb[m]> i think you won't want to keep the binaryCaches lines
<cdknight[m]> ah perhaps that was the issue
<cdknight[m]> yeah and the linuxPackages_rpi
<dxb[m]> because the pi 3b+ is supported on hydra or whatever
<cdknight[m]> mm
tarruda2 has joined #nixos
<cdknight[m]> you mentioned "cluster"... you're not doing kubernetes, are you
<dxb[m]> nope... currently they're all runnind arch linux and docker swarm
<dxb[m]> * nope... currently they're all running arch linux and docker swarm
<cdknight[m]> ah okay
<cdknight[m]> because I kinda wanted to run k3s on nixos, but then it's only in unstable or whatever
invokesu` has quit [Ping timeout: 265 seconds]
<dxb[m]> i built a pretty sweet installer for arch so i could avoid ever plugging them into a display, and now it looks like i'm gonna have to 😢 lol
<cdknight[m]> You could do the serial thing
<cdknight[m]> I think that was mentioned on the wiki, but it's too complicated for me
<dxb[m]> i don't have a serial cable...
<dxb[m]> does it work over usb?
<cdknight[m]> I have absolutely no clue
<dxb[m]> i'll try that first actually and see
<cdknight[m]> something like pi uart is what it is
<cdknight[m]> you have to hook it to an arduino
<cdknight[m]> from what im seeing on images
<cdknight[m]> * from what I'm seeing on images
<dxb[m]> sheeeit, no thanks
<cdknight[m]> well it's not bad tbh but easier to just hook to a display lol
<dxb[m]> oh, are you perhaps confusing a breadboard with an arduino?
<cdknight[m]> no I don't think so
<dxb[m]> ok
* cdknight[m] uploaded an image: image.png (735KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/QYKoPvBrRqEkLKnCMkJYafxo >
<cdknight[m]> But this is like
<dxb[m]> i know there are serial adapters you can hook up to the gpio pins
philr has joined #nixos
invokesu` has joined #nixos
<cdknight[m]> yeah
user_0x58 has joined #nixos
<dxb[m]> oh yeah that's an arduino
<cdknight[m]> I think that'd be what you want
<cdknight[m]> not this
<cdknight[m]> because you need the "red thing"
<cdknight[m]> yeah it'd probably be best to hook to a display, get a working nixos, and dump the image to a file or something
<dxb[m]> well, i also want to set this up on a few rpi zero ws and i don't have a mini hdmi for those things, and only one of mine has headers anyway so headless would really be nice
<cdknight[m]> too bad capture cards are expensive
<cdknight[m]> hmmm nixos can also be installed over another os?
<cdknight[m]> is that an option
<cdknight[m]> like I think you can do it on arch
Franklex has quit [Remote host closed the connection]
<dxb[m]> if i'm already plugging them in to a display it's not too much work to pop another one on the same cables after finishing one. probably easier than having to copy an entire image
Franklex has joined #nixos
<dxb[m]> yeah that might be an option too
<dxb[m]> not sure how well that works on arm
<cdknight[m]> yeah true also hooking into a display is annoying anyway; you get plagued by kernel messages telling you bluetooth is dying
<cdknight[m]> or undervoltage, but hopefully that isn't a problem for you
drakonis has quit [Quit: ZNC 1.8.1 - https://znc.in]
<dxb[m]> it'd be nice if you could put your initial configuration.nix on /boot and have nixos just grab it, put it in place, and run an initial rebuild and reboot
invokesu` has quit [Ping timeout: 256 seconds]
<cdknight[m]> yep especially also if it had an initial configuration.nix to work off of
<dxb[m]> like if you could do that on first boot that'd be super nice
<cdknight[m]> mm, although now I'm just trying to get it to work at all lol
<dxb[m]> that's kind of similar to what my arch installer thing does. https://github.com/kf5grd/archpi-installer this is it if you wanna check it out lol
<dxb[m]> it gives you wifi on first boot, plus lets you run arbitrary scripts. i've used it to completely configure a pi, including adding itself to my docker swarm, and then sending me a chat message via a webhook when everything was set up and running
drakonis has joined #nixos
<cdknight[m]> yes that's nice actually
<cdknight[m]> I have never scripted an arch install before
drakonis has quit [Client Quit]
<dxb[m]> if you've never installed arch on a pi before, it's a little different
<cdknight[m]> yeah I have always stuck with raspbian till now
<dxb[m]> you basically just partition your sd card and unpack the image onto the partitions and then boot
<dxb[m]> it's not like a normal arch install where you chroot into it and install your system with pacman
drakonis has joined #nixos
<cdknight[m]> so it just... works when you start it up?
<cdknight[m]> you just have to make your configuration changes
<dxb[m]> yeah, but you don't have wifi and stuff
<dxb[m]> https://github.com/kf5grd/archpi-installer/blob/master/install-arch.sh i mean you can basically see all the steps in this script
griff_ has quit [Quit: griff_]
drakonis has quit [Client Quit]
<dxb[m]> the only difference with that script is i'm not doing it on the sd card directly, i'm doing it in an image file that you write to the sd
<cdknight[m]> that'd be much more performant, I can imagine
<dxb[m]> yeah probably
<dxb[m]> but then you have to worry about resizing your partitions, which you wouldn't otherwise have to do
<dxb[m]> but that bootrunner script does that for you :)
<cdknight[m]> cool
<cdknight[m]> I'll check this out if I need arch linux arm
<cdknight[m]> it'd work for other arm boards too?
kn_ has joined #nixos
<dxb[m]> i have no idea actually
<dxb[m]> probably
<cdknight[m]> hmm okay because there's a greater chance I try archlinuxarm on a nonpi
<dxb[m]> i've used it on rpi 3, 4, and zero
<dxb[m]> * i've used it on rpi 3, 4, and zero w
<cdknight[m]> * hmm okay because there's a greater chance I try archlinuxarm on a non-pi
<dxb[m]> i'd be interested to find out what happens if you do try it
<kn_> hi, anyone running gnome-boxes on nixos-unstable? i can download/create vms, but they never start; messages on standard out/error say
<cdknight[m]> yeah I'll update you if I do try it but it'll be a while, since it's primarily since I'm considering buying another arm board
<kn_> (gnome-boxes:14966): Boxes-WARNING **: 03:14:01.241: machine.vala:633: Failed to start NetBSD 8.1: Unable to start domain: XML error: 'startupPolicy' is only valid for 'file' type volume
<dxb[m]> <cdknight[m] "yeah I'll update you if I do try"> which boards are you looking at?
<{^_^}> [nixpkgs] @ju1m opened pull request #94983 → lib: add mkDisableOption → https://git.io/JJ1zq
<kn_> looks like fedora already fixed this a while ago with https://src.fedoraproject.org/rpms/libvirt/c/401f9087bc2e4697d1f6018145d668eac1630d4d?branch=master but i have yet to work through nix(pkgs) to see if it already applies to libvirt on nixos and/or how to do so
drakonis has joined #nixos
<cdknight[m]> <dxb[m] "which boards are you looking at?"> odroid
<DigitalKiwi> there's #nixos-aarch64 where a lot of nixos on arm talk happens that you might be interested in
<cdknight[m]> not really pine64, since it's not very good value imo
<cdknight[m]> <DigitalKiwi "there's #nixos-aarch64 where a l"> interesting... I'll check that out
<dxb[m]> <DigitalKiwi "there's #nixos-aarch64 where a l"> i saw that in the wiki, is that available on matrix? i haven't been able to find it
<cdknight[m]> It's a freenode channel, but I can't find any activity there dxb
<cdknight[m]> You have to press enter in the room discovery or whatever
inkbottle has quit [Quit: Konversation terminated!]
<DigitalKiwi> https://logs.nix.samueldr.com/ lists a bunch of channels too and has logs
inkbottle has joined #nixos
<dxb[m]> hrm
<dxb[m]> this matrix shit is not very intuitive imo
<cdknight[m]> it used to be easier iirc
invokesu` has joined #nixos
<cdknight[m]> kinda sad
drakonis has quit [Quit: ZNC 1.8.1 - https://znc.in]
<cdknight[m]> or maybe it's since I've not used matrix in a while
drakonis has joined #nixos
<drakonis> hardly
<cdknight[m]> allright, flash number 7
<cdknight[m]> hopefully I don't wear out my sd card at this rate
invokesu` has quit [Ping timeout: 256 seconds]
<dxb[m]> you should've seen how many times i flashed images when i was building that arch installer
<dxb[m]> probably over 50 times within a couple days
<dxb[m]> maybe more, idk
knupfer has quit [Ping timeout: 260 seconds]
<dxb[m]> i had 2 sd cards that i would rotate so i could dd an image onto one while the other was still booted
kn_ has quit [Remote host closed the connection]
drakonis has quit [Quit: ZNC 1.8.1 - https://znc.in]
drakonis has joined #nixos
<cdknight[m]> yea lol I thought this would be easy and relatively
<cdknight[m]> * yea lol I thought this would be easy
<DigitalKiwi> only 2? :D
<DigitalKiwi> i buy them in packs of 5
<dxb[m]> i have a ton of them, but when i'm testing on 1 pi i only needed 2
<DigitalKiwi> do you have a micro sd card addiction too
griff_ has joined #nixos
<dxb[m]> lol i mean...
<dxb[m]> i literally have 5 of them in my pocket right now
<dxb[m]> no... 6
<DigitalKiwi> giggle
<dxb[m]> and a usb sd card reader/writer
<dxb[m]> and a rpi zero w
<dxb[m]> ...in my pocket.... right now lol
<DigitalKiwi> i found these <$2 from china usb 2 readers i like
<DigitalKiwi> i have six
<DigitalKiwi> ...or more
<dxb[m]> lol
<dxb[m]> i like these kingston brand sd cards...
<dxb[m]> the sell them with a little usb reader too
<cdknight[m]> sandisk sd cards from china are nice
<dxb[m]> it's just big enough to fit a card and the usb traces
<cdknight[m]> they're so cheap
<cdknight[m]> compared to the american counterparts
<cdknight[m]> and they're legit aswell
<dxb[m]> i used to think sandisk was the brand to get for sd cards but i've had too many of them die on me
<cdknight[m]> huh
<cdknight[m]> I like kingston for ssds
<cdknight[m]> since they're cheap
drakonis has quit [Quit: ZNC 1.8.1 - https://znc.in]
<dxb[m]> maybe it's because i pretty much only bought that brand
drakonis has joined #nixos
<dxb[m]> it's so frustrating when an sd dies too because it plays tricks on you for a while first
<DigitalKiwi> which is good i guess because they're not available anymore :(
<dxb[m]> i had a sandisk in my sp404 and it died recently and i lost all my samples :/
<dxb[m]> and i didn't realize that's what happened so i reloaded it with shit and put it back in there and started messing around, and then i shut down the sp and next time i turned it on my samples were gone. this happened like 4 or 5 times before i realized it was just a dead card
invokesu` has joined #nixos
<cdknight[m]> I've had an important 128gb usb stick die on me once
<cdknight[m]> it was the same, but in windows, back when I used to use it it used to say something about the USB needing repairing, then it would hang
<cdknight[m]> then... progressively, it got worse. it would crash explorer
kn_ has joined #nixos
<cdknight[m]> then I tried a mac and it immediately kernel panicked when I plugged it in
<cdknight[m]> and on linux, it gave me an io error, and failed to mount, and I knew it was dead.
<dxb[m]> i have one of those on my keychain
<cdknight[m]> that's fairly cool
<cdknight[m]> the only microsd reader I own is one i got from a closing store for fifty cents
<dxb[m]> lol
<cdknight[m]> I supposedly have one from my 3d printer, but I lost it
<cdknight[m]> sucks
Guest8197 has joined #nixos
<dxb[m]> yeah, i have a bigger one too that i use more often. i like that small one cause it basically turns a microsd into a usb flash drive
invokesu` has quit [Ping timeout: 265 seconds]
<Guest8197> Hi folks wish u a nice sunday
<cdknight[m]> found this
kn_ has quit [Remote host closed the connection]
<cdknight[m]> this looks useful
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<cdknight[m]> it has different configs than the nixos wiki, which is why I'm gonna t ry it
<cdknight[m]> * it has different configs than the nixos wiki, which is why I'm gonna try it
aw has joined #nixos
Guest8197 has left #nixos ["Trennungsnachricht"]
invokesu` has joined #nixos
stephank has quit [Quit: stephank]
spacefrogg has joined #nixos
stephank has joined #nixos
<{^_^}> [nixpkgs] @zowoq pushed to master « .editorconfig: add compilers/elm/registry.dat »: https://git.io/JJ1gV
invokesu` has quit [Ping timeout: 260 seconds]
tmaekawa has joined #nixos
Franklex has quit [Read error: Connection reset by peer]
Franklex has joined #nixos
drakonis has quit [Quit: ZNC 1.8.1 - https://znc.in]
drakonis has joined #nixos
Franklex has quit [Client Quit]
drakonis has quit [Quit: ZNC 1.8.1 - https://znc.in]
nij has joined #nixos
Supersonic112 has joined #nixos
drakonis has joined #nixos
Supersonic has quit [Ping timeout: 265 seconds]
Supersonic112 is now known as Supersonic
griff_ has quit [Quit: griff_]
<nij> I'm thinking of setting up a remote server.
<nij> Currently, I'm running arch happily, but am also learning nixos gradually (still a noob).
<DigitalKiwi> go for it
<nij> I wonder if it'd be a good idea if I install nixos instead of arch on that remote server.
<nij> DigitalKiwi: good to see you again :)
justan0theruser has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a4e77ce9cff (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<DigitalKiwi> my twitter is still @ArchKiwi but I'm all in on nixos
<nij> (y)
<DigitalKiwi> because i don't have a cute kiwi nixos logo
<nij> Would you recommend setting up a remote server that uses nixos?
<DigitalKiwi> yes
<nij> I might not buy a strong machine for that.. so I'm a bit concerned if I should use an OS as minimal as possible (eg arch).
<DigitalKiwi> how much ram? that's the biggest thing
<nij> I hope even a thinkpad x200 with a 2TB HDD will do the work.
<nij> Oh. Is 2GB ram good?
<DigitalKiwi> i've ran nixos on the cheapest ($5) digital ocean vps with 1GB of ram but you'll want swap if you do that
<nij> Or you need 4GB.
<DigitalKiwi> my server runs on 2
<nij> wah
<nij> that sounds fantastic
<nij> so far so good? stable enough?
<DigitalKiwi> i would not recommend the $5 but it is possible
<DigitalKiwi> you have to be careful with space
<nij> How about ssd vs hdd?
<DigitalKiwi> since 25GB will fill up fast so nix-collect-garbage vigilantly
<nij> HDD is cheaper if I need >2TB.
<nij> But HDD is also much slower.
<nij> I'm worried an HDD+2GBram won't be fast enough.
<DigitalKiwi> https://mostlyabsurd.com is on a $15 one it runs nginx, matomo, mysql, znc, all fine
<nij> Ah.. I should be more specific.
<DigitalKiwi> most of my machines are SSD but i have nixos on rpi with 32GB micro sd cards that only run at like 10-30MB/s with 1GB of ram...
<DigitalKiwi> yeah what you're trying to do would help
<nij> I want it to replace my Dropbox (embarrasingly)
<DigitalKiwi> i think you'll be fine though
<nij> so it should be able to up/download about less than 10GB per day
<nij> some times maybe 1TB is I decide to stir it up
<nij> DigitalKiwi: the rpi+32GB runs at 10MB/s? Is this upload/download speed?
<nij> That's fast enough for me!
<DigitalKiwi> the only time i notice slowness on HDD is like when i start kde. once it's up and running it's not going to be much difference in performance than arch
<DigitalKiwi> that's disk write speed
<nij> Oh..
<nij> :(
<DigitalKiwi> very slow :P
<nij> Very
<DigitalKiwi> but nixos runs on it fine
<nij> nixos is more taxing than arch right?
<nij> that's my impression
<DigitalKiwi> not really
<nij> hm
justanotheruser has joined #nixos
pylsan has quit [Ping timeout: 244 seconds]
<nij> So if that's for replacing dropbox.. would you still recommend I run it on a machine with HDD and a 2GB ram?
<DigitalKiwi> the symlinks cause some slowness at startup on an HDD or doing like nix-collect-garbage but running it isn't really an issue in my experience
<nij> I edit my notes and move my files quite often. Expect 50GB changes per day.
<DigitalKiwi> does your arch run on that same machien right now?
pmwhite has quit [Remote host closed the connection]
<nij> DigitalKiwi: I haven't set up a server.
<DigitalKiwi> oh
<nij> I'm thinking of getting a new thinkpad.
<nij> Wonder what would be the minimal requirement for my need.
<nij> Ideally I hope nixos can do the job, cuz it really makes more sense to me than arch does.
<nij> I hope I can gradually migrate there
<DigitalKiwi> anyway i don't know if that hardware will meet your needs or not (i don't know either way) but i doubt nixos will effect that
<nij> I seee
pmwhite has joined #nixos
<DigitalKiwi> 03:20:11 [kiwi@absurd-nixos ~]$ free -m
<DigitalKiwi> total used free shared buff/cache available
<DigitalKiwi> Mem: 1993 675 80 127 1237 1013
<DigitalKiwi> Swap: 3071 11 3060
<DigitalKiwi> that's that server that runs all of those things i listed earlier
<{^_^}> [nixpkgs] @wedens opened pull request #94985 → tdrop: 2018-11-13 -> 2020-05-14 → https://git.io/JJ1ap
<{^_^}> [nixpkgs] @wedens closed pull request #72827 → tdrop: 2018-11-13 -> 2019-10-04 → https://git.io/Je25e
pylsan has joined #nixos
<DigitalKiwi> it has 2 vcpus
<DigitalKiwi> load average: 0.00, 0.00, 0.00
<DigitalKiwi> lol
<nij> cool
<DigitalKiwi> tbf i don't get a lot of traffic :(
<DigitalKiwi> mostly it's for znc
<DigitalKiwi> rather most of the traffic is for znc lol
<nij> pat pat
<nij> I will figure out which hardware I need elsewhere. Seems that nixos is fine :)
<nij> thanks!
<DigitalKiwi> yw!
<DigitalKiwi> someone else might have a better idea
<DigitalKiwi> here i mean
<DigitalKiwi> surprised nobody else has said anything actually i guess it's off hours
<nij> it's indeed late
nij has quit [Quit: leaving]
<DigitalKiwi> anyway i'd expect the limiting factor in your setup is going to be network not disk
<DigitalKiwi> i guess depending on how remote it is
<DigitalKiwi> like i don't think i'd be able to upload 50GB in a day if i tried
<DigitalKiwi> but 50GBs of disk write is only a few minutes
cole-h has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
pmwhite has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 264 seconds]
invokesu` has joined #nixos
invokesu` has quit [Ping timeout: 240 seconds]
otti0815 has quit [Ping timeout: 256 seconds]
CMCDragonkai1 has joined #nixos
CMCDragonkai1 has quit [Remote host closed the connection]
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
endformationage has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @kirelagin opened pull request #94986 → networking: Set networking.search to [domain] by default → https://git.io/JJ1r9
diogenes_ has joined #nixos
Rusty1 has quit [Quit: WeeChat 2.3]
stephaneyfx_ has joined #nixos
stephaneyfx has quit [Ping timeout: 264 seconds]
user_0x58 has quit [Ping timeout: 256 seconds]
rajivr has joined #nixos
Tarinaky has joined #nixos
Tarinaky has quit [Client Quit]
Tarinaky has joined #nixos
Tarinaky has quit [Client Quit]
dansho has joined #nixos
invokesu` has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/5ac56e221fa (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
user_0x58 has joined #nixos
pjt_tmp has joined #nixos
zupo has joined #nixos
invokesu` has quit [Ping timeout: 256 seconds]
tmaekawa has quit [Quit: tmaekawa]
zupo has quit [Client Quit]
invokesu` has joined #nixos
palo1 has joined #nixos
user_0x58 has quit [Read error: Connection reset by peer]
user_0x58 has joined #nixos
invokesu` has quit [Ping timeout: 246 seconds]
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/debf9a3f0bd (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @vbgl opened pull request #94987 → coqPackages.stdpp: 1.2.1 → 1.4.0; coqPackages.iris: 3.2.0 → 3.3.0 → https://git.io/JJ16B
drakonis_ has joined #nixos
higemaru has quit [Quit: WeeChat 2.9]
orivej has joined #nixos
drakonis_ has quit [Quit: WeeChat 2.7]
drakonis_ has joined #nixos
drakonis_ has quit [Client Quit]
spudly- has joined #nixos
spudly- has quit [Changing host]
spudly- has joined #nixos
leungbk has joined #nixos
spudly has quit [Ping timeout: 256 seconds]
spudly- is now known as spudly
obadz has quit [Ping timeout: 256 seconds]
leungbk has quit [Quit: ERC (IRC client for Emacs 27.1)]
alexherbo2 has joined #nixos
malook has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJ1iB
zupo has joined #nixos
invokesu` has joined #nixos
zaeph has quit [Remote host closed the connection]
invokesu` has quit [Ping timeout: 240 seconds]
cole-h has quit [Quit: Goodbye]
orivej has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @danieldk opened pull request #94989 → python3Packages.numpy: add hypothesis to checkInputs → https://git.io/JJ1P9
<dxb[m]> cdknight: have you seen this? https://github.com/illegalprime/nixos-on-arm
<dxb[m]> looks like that might have what i need for my zeros at least
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
katrin has joined #nixos
Heirlung has quit [Read error: Connection reset by peer]
Heirlung has joined #nixos
user_0x58 has quit [Read error: Connection reset by peer]
samhza has quit [Remote host closed the connection]
samhza has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #94990 → gettext: drop darwin patch → https://git.io/JJ11V
stephaneyfx_ has quit [Quit: Leaving]
samhza has quit [Remote host closed the connection]
diogenes_ has quit [Quit: vergissmeinnicht]
tldr32- has joined #nixos
tldr32 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @FRidh closed pull request #94977 → python3Packages.psutil: 5.7.0 -> 5.7.2 → https://git.io/JJ1BX
realisation has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @danieldk opened pull request #94991 → amd-libflame: init at 2.2 → https://git.io/JJ11j
wspthr has joined #nixos
tldr32- has quit [Quit: ZNC 1.7.5 - https://znc.in]
tldr32 has joined #nixos
katrin has quit [Quit: mewp]
katrin has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #94992 → buildRustCrate: editorconfig fixes → https://git.io/JJ1Mz
teto has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8cf93f2623a (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
fendor has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
griff_ has joined #nixos
gthm has joined #nixos
realisation has joined #nixos
gthm has quit [Ping timeout: 260 seconds]
realisation has quit [Ping timeout: 260 seconds]
jabarszcz[m] has joined #nixos
lorencio[m] has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
rajivr has quit [Quit: Connection closed for inactivity]
diogenes_ has joined #nixos
realisation has joined #nixos
dansho has quit [Quit: Leaving]
Jackneilll has quit [Ping timeout: 256 seconds]
zupo has joined #nixos
dermetfan has joined #nixos
realisation has quit [Ping timeout: 256 seconds]
Jackneill has joined #nixos
dermetfan has quit [Ping timeout: 246 seconds]
katrin has quit [Quit: mewp]
alpha has joined #nixos
orivej has joined #nixos
katrin has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #94994 → blackmagic: unstable-2020-02-20 -> unstable-2020-08-05 → https://git.io/JJ1yg
sphalerite has joined #nixos
pjt_tmp has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alpha has quit [Ping timeout: 256 seconds]
lpetoroot[m] has quit [Quit: Idle for 30+ days]
Fuzen has quit [Quit: Idle for 30+ days]
sangoma has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #94992 → buildRustCrate: editorconfig fixes → https://git.io/JJ1Mz
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JJ1Sn
drewr has quit [Ping timeout: 260 seconds]
drewr has joined #nixos
realisation has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
sputny has joined #nixos
zupo has joined #nixos
realisation has quit [Ping timeout: 265 seconds]
maier_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @danieldk opened pull request #94995 → minizinc: 2.2.3 -> 2.4.3, fix build → https://git.io/JJ1Sy
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karantan has joined #nixos
karantan has quit [Client Quit]
<{^_^}> [nixpkgs] @vcunat pushed 6 commits to release-20.03: https://git.io/JJ197
<{^_^}> [nixpkgs] @jonringer merged pull request #93546 → lokalise2: init at 2.6.0 → https://git.io/JJCcz
<{^_^}> [nixpkgs] @jonringer pushed commit from @timstott to master « lokalise2: init at 2.6.0 »: https://git.io/JJ19p
leotaku has joined #nixos
<{^_^}> [nixpkgs] @zowoq pushed to master « .editorconfig: add upstream-updater »: https://git.io/JJ1HL
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #94996 → lisp-modules/iterate.darcs-context: delete → https://git.io/JJ1Hq
leotaku_ has quit [Ping timeout: 256 seconds]
malook1 has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88843 → vscode-extensions/update-8 → https://git.io/JfVse
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJ1HX
<{^_^}> [nixpkgs] @zowoq pushed to master « .github/workflows/editorconfig.yml: skip when diff is empty »: https://git.io/JJ1HQ
maier has joined #nixos
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « vmpk: fix build »: https://git.io/JJ1QJ
lsix has joined #nixos
Thra11 has joined #nixos
malook1 has quit [Quit: malook1]
malook1 has joined #nixos
ScottHDev has joined #nixos
zupo has joined #nixos
<ScottHDev> Hello, I'm trying to make a dbus server connecting on the system bus. I tried to add it's policy conf file in <package-store-path>/etc/dbus-1/system.d but I still can't have it running (The request to own the name gets denied). Do you know if there is a specific thing to do in nix to get it working.
<ScottHDev> (The package is installed via home-manager)
malook1 has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1365b9ac700 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
malook1 has joined #nixos
knupfer has joined #nixos
<symphorien[m]> ScottHDev: you can't add a service to the system bus with home manager as home-manager only touches your dot files and the system bus is, well, system wide
<symphorien[m]> dbus has a "packages" nixos option iirc
<afreakk> when i run sudo nixos-rebuild with the newest channel, it starts building qtwebkit. is there any way to check why its building that? I dont have any webkit-related packages installed at system-level afaik. I do have it on user-level though through home-manager
orivej has quit [Ping timeout: 240 seconds]
ris has joined #nixos
<symphorien[m]> afreakk: nixos-rebuild prints the drv path of the whole system. nix-store -q --tree foo.drv should tell you the dependency chain
<afreakk> so sudo nixos-rebuild will change versions of packages installed by a normal user?
maier has quit [Ping timeout: 240 seconds]
maier has joined #nixos
<ScottHDev> Then, if I can only use the session bus, can I have the session bus server be running as root?
lewo` has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @avnik opened pull request #94997 → Libguestfs dependencies → https://git.io/JJ15u
<symphorien[m]> You can use the system bus but with configuration.nix not home-manager
<symphorien[m]> And no home-manager cannot run things as root
<ScottHDev> Yes, I'll do that, thanks!
<symphorien[m]> <afreakk "so sudo nixos-rebuild will chang"> No
meh` has joined #nixos
maier has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @avnik opened pull request #94998 → Wine update → https://git.io/JJ156
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
aforemny has joined #nixos
<afreakk> symphorien[m]: --tree showed qtwebkit's dependencies, i think, I tried --referrers to show why its being installed, that showed teamviewer, which maybe makes sense :)
<aforemny> Hi, anyone got a HFP headset working on NixOS? I am wondering whether this should just work, or whether I do have to go the ofono route. The headset works fine as an A2DP sink, but it does not have HSP capabilities. pulseaudio shows the HSP/HFP profile as unavailable and does not let me switch to it.
<symphorien[m]> afreakk I meant, ask for the dependencies of of the whole system derivation like /nix/store/81v7p1g3l513jv152bsx1fjh70szg14a-nixos-system-nlaptop-20.03.2685.977000f149b.drv
orivej has joined #nixos
zupo has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
<afreakk> ah, symphorien[m] thats a nice view also :) would be nice to collapse etc, maybe some kinda gui for it
knupfer has joined #nixos
<symphorien[m]> I think there is one (nix-query-tree or something like that)
realisation has joined #nixos
shad has quit [Ping timeout: 256 seconds]
dermetfan has joined #nixos
shad has joined #nixos
sputny has quit [Remote host closed the connection]
realisation has quit [Ping timeout: 264 seconds]
knupfer has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #87867 → nixos/netadata: enable simple sandboxing → https://git.io/JfRqJ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JJ1F8
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/d3a1eb06ba4 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
malook1 has quit [Ping timeout: 246 seconds]
realisation has joined #nixos
<{^_^}> [nixpkgs] @StijnDW opened pull request #94999 → nixos/redmine: patch mercurial integration → https://git.io/JJ1Fi
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e9bd19d4d35 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
xeijin has joined #nixos
realisation has quit [Ping timeout: 264 seconds]
yusdacra[m] has joined #nixos
malook1 has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #95000 → ocamlPackages.tls: 0.12.3 → 0.12.4 → https://git.io/JJ1bn
malook1 has quit [Quit: malook1]
h0m2 has quit [Quit: WeeChat 2.9]
knupfer has joined #nixos
h0m1 has joined #nixos
diogenes_ has quit [Quit: vergissmeinnicht]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @dasj19 opened pull request #95001 → evolution-data-server: 3.36.4 -> 3.36.5 → https://git.io/JJ1bP
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
alp has joined #nixos
<{^_^}> [nixpkgs] @glaebhoerl opened pull request #95002 → qtcreator: 4.11.0 -> 4.12.4 → https://git.io/JJ1Nc
realisation has joined #nixos
<Reventlov> Hey
<Reventlov> I'm reading on https://nixos.org/nixos/manual/release-notes.html : « The security.acme.directory option has been replaced by a read-only security.acme.certs.<cert>.directory option for each certificate you define. This will be a subdirectory of /var/lib/acme. »
<Reventlov> I want to relocate the acme directory on /data/acme/, (/data/ is my "data" partition, and everything else is recreated when I recreate my VM images), is this "read only" option really read only?
<Reventlov> (which means I can't tell acme to use my data partition) ?
realisation has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJ1N1
<infinisil> Reventlov: Yeah it's read only
<infinisil> You could bind mount /var/lib/acme to /data/acme though
<Reventlov> should the "read-only" status appear on https://nixos.org/nixos/options.html#security.acme.certs.%3Cname%3E.direct for example ?
<Reventlov> I'll try the bind mount, good idea.
<{^_^}> [nixpkgs] @dasj19 opened pull request #95003 → accerciser: 3.36.2 -> 3.36.3 → https://git.io/JJ1Ae
syd has joined #nixos
<syd> Hi peeps! Is there any way to have a systemd service that depends on network-online.target in the user-space?
<syd> I mean a user-level systemd service
sangoma has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @jtojnar merged pull request #95003 → accerciser: 3.36.2 -> 3.36.3 → https://git.io/JJ1Ae
<{^_^}> [nixpkgs] @jtojnar pushed commit from @dasj19 to master « accerciser: 3.36.2 -> 3.36.3 »: https://git.io/JJ1Az
<{^_^}> [nixpkgs] @jtojnar merged pull request #95001 → evolution-data-server: 3.36.4 -> 3.36.5 → https://git.io/JJ1bP
<{^_^}> [nixpkgs] @jtojnar pushed commit from @dasj19 to master « evolution-data-server: 3.36.4 -> 3.36.5 »: https://git.io/JJ1AP
sangoma has joined #nixos
LouisDK has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93822 → portfolio: 0.46.6 -> 0.47.0 → https://git.io/JJBsU
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJ1AQ
rajivr has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<LouisDK> I'm about to build crossover for nixos: https://github.com/LouisDK1/nixpkgs/commit/9a789753e5dbf430cfb56e486b689676bc01f40a - but when I try to run "crossover" after installing I get this error: No python interpreter found - but "python" is added to "nativeBuildInputs".
fendor_ has joined #nixos
realisation has joined #nixos
v0|d has quit [Ping timeout: 256 seconds]
aforemny has quit [Remote host closed the connection]
<symphorien[m]> if it's at runtime, you probably need wrapping
fendor has quit [Ping timeout: 265 seconds]
freezeboy has joined #nixos
<freezeboy> Hello, I have a little problem to find the reason why a program (electron based) is crashing when I start it (SIGTRAP), anyone has any experience with such a situation ?
<{^_^}> [nixpkgs] @dasj19 opened pull request #95004 → evolution: 3.36.4 -> 3.36.5 → https://git.io/JJ1pt
realisation has quit [Ping timeout: 240 seconds]
<freezeboy> to give more context, I have a woring expression to run an appimage, but as it builds a huge fhs, it is really big and I am trying to extract the essential pieces into a cleaner derivation
<{^_^}> [nixpkgs] @LouisDK1 opened pull request #95005 → [wip] crossover: init at 19.02 → https://git.io/JJ1ps
LouisDK has quit [Remote host closed the connection]
zupo has joined #nixos
pniedzwiedzinski has joined #nixos
pniedzwiedzinski has quit [Remote host closed the connection]
malook has quit [Quit: malook]
<{^_^}> [nixpkgs] @TethysSvensson opened pull request #95006 → busybox: Pull in upstream patch for CVE-2018-1000500 → https://git.io/JJ1pX
syd has quit [Quit: Connection closed]
hspak has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @fgaz opened pull request #95007 → shattered-pixel-dungeon: 0.8.1 -> 0.8.2, add test → https://git.io/JJ1hv
teto has quit [Quit: WeeChat 2.9]
sangoma has quit [Ping timeout: 265 seconds]
pmwhite has joined #nixos
<sphalerite> my boot is broken on the latest nixos-unstable: for some reason, the btrfs kernel module isn't included in the initramfs even though it's definitely listed in boot.initrd.kernelModules (checked with nixos-option). Anyone have any idea what's going on ehre?
mallox has joined #nixos
alp has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 256 seconds]
wnklmnn has joined #nixos
Acou_Bass has quit [Ping timeout: 264 seconds]
<sphalerite> ok, this seems to be a bug in make-modules-closure or something… and it only happens on aarch64
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
<sphalerite> aah got it.
<{^_^}> [nixpkgs] @lsix merged pull request #94972 → rclone: 1.52.2 -> 1.52.3 → https://git.io/JJ14z
<{^_^}> [nixpkgs] @lsix pushed 3 commits to master: https://git.io/JJ1hy
cjpbirkbeck has joined #nixos
ScottHDev has quit [Ping timeout: 260 seconds]
ScottHDev4 has joined #nixos
Acou_Bass has joined #nixos
<{^_^}> [nixpkgs] @lheckemann opened pull request #95008 → modules-closure: don't ignore all deps if the first is builtin → https://git.io/JJ1jJ
<sphalerite> ^ the fix
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
nDuff has joined #nixos
knupfer has joined #nixos
<worldofpeace> sphalerite++
<{^_^}> sphalerite's karma got increased to 102
knupfer has quit [Client Quit]
<worldofpeace> ah wait, that wasn't correct
knupfer has joined #nixos
knupfer has quit [Client Quit]
<worldofpeace> ❇️ sphalerite
knupfer has joined #nixos
<worldofpeace> ✨sphalerite
<worldofpeace> omg, did I forget how to sparkle in #nixos
<worldofpeace> ✨ sphalerite
<{^_^}> sphalerite's karma got increased to 103
<worldofpeace> there, peace has been restored
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
bqv has quit [Quit: WeeChat 2.9]
Rusty1 has joined #nixos
bqv has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @HaoZeke opened pull request #95009 → libuv: Skip tests which time out → https://git.io/JJ1jj
<sphalerite> x)
realisation has joined #nixos
jmeredith has joined #nixos
smatting_ has joined #nixos
wnklmnn has quit [Ping timeout: 264 seconds]
smatting_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #94971 → gitAndTools.delta: 0.4.0 -> 0.4.1 → https://git.io/JJ14m
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJMeY
<{^_^}> [nixpkgs] @marsam merged pull request #94906 → bazelisk: 1.5.0 -> 1.6.0 → https://git.io/JJXz6
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJMes
<{^_^}> [nixpkgs] @marsam merged pull request #94807 → nfdump: 1.6.20 -> 1.6.21 → https://git.io/JJi5o
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJMeC
realisation has quit [Ping timeout: 260 seconds]
GerdFlaig[m] has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #94776 → leptonica: 1.79.0 -> 1.80.0 → https://git.io/JJiOT
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJMeo
<{^_^}> [nixpkgs] @marsam merged pull request #94791 → metabase: 0.36.0 -> 0.36.2 → https://git.io/JJirD
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJMeK
freezeboy has quit [Remote host closed the connection]
bqv has quit [Quit: WeeChat 2.9]
mrosenbe_ has quit [Read error: No route to host]
sangoma has joined #nixos
bqv has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<{^_^}> [nix] @Ericson2314 closed pull request #3449 → Smaller derivation refactor → https://git.io/JvSK5
xeijin has quit [Ping timeout: 245 seconds]
nature has joined #nixos
<cdknight[m]> <dxb[m] "cdknight: have you seen this? ht"> Meh, I got a working configuration.nix except that systemd keeps throwing errors and my network config is broken
<dxb[m]> <cdknight[m] "Meh, I got a working configurati"> i was able to get a pi zero w image running that lets me ssh in over usb… but it's running 19.09 or something and isn't getting a network connection from the laptop so i gotta figure that stuff out
stephaneyfx has joined #nixos
<cdknight[m]> oh nice, I mean, I had to switch to kernel 4.19 for it to work
<cdknight[m]> * oh nice, I mean, I had to switch to kernel 4.19 for it to ŏot
wnklmnn has joined #nixos
<cdknight[m]> * oh nice, I mean, I had to switch to kernel 4.19 for it to boot
zupo has joined #nixos
<cdknight[m]> I'm not using wifi, and all the documentation talks about wifi for raspberry pi network connections
realisation has joined #nixos
<{^_^}> [nixpkgs] @Izorkin closed pull request #94434 → nixos/sshd: change authorizedKeysFiles → https://git.io/JJajp
<cdknight[m]> * also, it works over dhcp, though, but not static
<cdknight[m]> * *also, it works over dhcp, though, but not static
Dagger has joined #nixos
Dagger is now known as Dagger2
realisation has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a5d6a46776a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
bqv has quit [Quit: WeeChat 2.9]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e9bd19d4d35 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/3012ed98c2e (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
griff_ has quit [Quit: griff_]
<{^_^}> [nixpkgs] @vbgl closed pull request #69725 → ocamlPackages.topkg: 1.0.0 -> 1.0.1 → https://git.io/JeZRN
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leungbk has joined #nixos
<{^_^}> [nixpkgs] @StijnDW opened pull request #95010 → dokuwiki: 2018-04-22b -> 2020-07-29 → https://git.io/JJMJE
Rajasun has joined #nixos
kleisli has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #95004 → evolution: 3.36.4 -> 3.36.5 → https://git.io/JJ1pt
<{^_^}> [nixpkgs] @jtojnar pushed commit from @dasj19 to master « evolution: 3.36.4 -> 3.36.5 »: https://git.io/JJMJ7
T-800 has joined #nixos
<{^_^}> [nixpkgs] @Atemu closed pull request #91680 → undervolt: allow strings in options again → https://git.io/JJePz
<T-800> is it possible in nixos to have plymouth show up in early stage 1? i have an encrypted hard drive and would like to enter it through plymouth if possible
<infinisil> T-800: Possibly with #88789
<{^_^}> https://github.com/NixOS/nixpkgs/pull/88789 (by puckipedia, 10 weeks ago, open): Request ZFS/LUKS passwords via Plymouth
zupo has joined #nixos
realisation has joined #nixos
griff_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #94990 → gettext: drop darwin patch → https://git.io/JJ11V
<{^_^}> [nixpkgs] @FRidh pushed commit from @zowoq to staging-next « gettext: drop darwin patch »: https://git.io/JJMUb
Acou_Bass has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Atemu opened pull request #95011 → undervolt: expose power limits as Nixopts → https://git.io/JJMUp
bqv has joined #nixos
T-800 has quit [Quit: Ping timeout (120 seconds)]
kiwi_34 has joined #nixos
wnklmnn has quit [Read error: Connection reset by peer]
kiwi_34 has quit [Client Quit]
fresheyeball has joined #nixos
wnklmnn has joined #nixos
wnklmnn has quit [Client Quit]
bukkitgerman8608 has quit [Ping timeout: 260 seconds]
<fresheyeball> hey out there
<fresheyeball> I am trying to use Haskell PCRE in my project
<fresheyeball> and I need to provide libPcre to my dep
<fresheyeball> how can I do that?
bukkitgerman8608 has joined #nixos
sputny has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<{^_^}> [nixpkgs] @marsam merged pull request #94978 → shadowsocks-rust: 1.8.13 -> 1.8.14 → https://git.io/JJ1BA
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJMTz
<{^_^}> [nixpkgs] @stigtsp opened pull request #95012 → perl: 5.30.3 -> 5.32.0 → https://git.io/JJMT6
pmwhite has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @stigtsp closed pull request #93036 → perl: 5.30.3 -> 5.32.0 → https://git.io/JJOzP
pmwhite has joined #nixos
Acou_Bass has joined #nixos
cr4y1 has joined #nixos
sheepfleece has joined #nixos
kleisli has quit [Ping timeout: 256 seconds]
<eyJhb> When using this - https://termbin.com/rubp
<eyJhb> I apply my patch and use that as my nixpkgs, with the nix variable. Shouldn't that work in general?
<eyJhb> I might have borked NixOS actually
realisation has quit [Read error: Connection reset by peer]
realisation has joined #nixos
sheepfleece has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @jonringer merged pull request #94976 → python3Packages.msrest: 0.6.17 -> 0.6.18 → https://git.io/JJ1BP
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JJMII
sheepfleece has joined #nixos
Narice has joined #nixos
<Narice> hello! I have a bit of a problem with xresources that I don't know at all how to solve
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Narice> there is a preprocessor error, never happened on arch. I also search the entire web for a solution but yeah, no luck
<fresheyeball> ok so I added pcre by calling overrideAttrs and passing it to buildInputs
<fresheyeball> but GHC is still not finding it
<fresheyeball> uncaught exception in Haskell main thread: ReferenceError: h$pcre_compile is not defined
<fresheyeball> ReferenceError: h$pcre_compile is not defined
sheepfleece has quit [Quit: Lost terminal]
Narice has quit [Remote host closed the connection]
Narice has joined #nixos
<fresheyeball> here is the code
jb55 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #94981 → python3Packages.cherrypy: 18.3.0 -> 18.6.0 → https://git.io/JJ1EQ
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.cherrypy: 18.3.0 -> 18.6.0 »: https://git.io/JJMIj
Rajasun has quit [Quit: Leaving]
<Pwnna> So I followed the documentation and setup python in development mode via shell.nix
<Pwnna> however, I can't get any of the entry_points (console_scripts) to show up
leah2 has joined #nixos
<Pwnna> I can import my package if I opened a python console
zupo has joined #nixos
<Pwnna> is this a known issue? I can't seem to find anything documenting this on the internet
noudle has joined #nixos
griff_ has quit [Quit: griff_]
__monty__ has joined #nixos
<Pwnna> oh maybe i'm doing something else wrong.. I'm trying to have buildPythonPackage in default.nix and trying to callPackage ./default.nix and overrideAttrs the nativeBuildInputs so I can have some executables available during development mode
<Mic92> Pwnna: there is overridePythonAttrs if your other package is also a python package.
<Pwnna> i think i'm doing this wrong
<Pwnna> basically i have a nodejs tool that I only use during development
<Pwnna> I think I can safely just have default.nix and then have nodejs in nativeBuildInputs
<Pwnna> rather than having nativeBuildInputs being empty in default.nix and trying to override it in shell.nix?
fresheyeball has quit [Quit: WeeChat 2.7.1]
<Mic92> Pwnna: if you want to avoid having this build dependency in the actual build of your it might make sense to have a dedicated shell.nix. You don't nee to leave nativeBuildInputs empty in this case in default.nix
cosimone has joined #nixos
<Mic92> If you don't care if it is downloaded during the build, one default.nix is enough
<Pwnna> yeah
<Pwnna> if i do care, how would i separate it tho?
<Pwnna> I tried to do something like (callPackage ./default.nix {}).overrideAttrs (_: { nativeBuildInputs = [nodejs]; })
<Pwnna> but this somehow stops python development mode from being activated
kleisli has joined #nixos
<Mic92> The package is a buildPythonPackage right?
<Mic92> you may need overridePythonAttrs instead of overrideAttrs
<Pwnna> yes
<Pwnna> hmm
<Pwnna> i will have to try it a bit later. thanks for the help
<Pwnna> it is very difficult for me to discover this tho :\
<qyliss> there's a proposal to make overrideAttrs do the right thing for python
<qyliss> (and other custom builder functions)
<qyliss> so it will hopefully get better
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Pwnna> well this is not nearly as bad as things like a python qt app
zupo has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #94998 → Wine update → https://git.io/JJ156
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJML5
<Pwnna> for that one i have like.. let package = package = ({ mkDerivationWith, buildPythonApplication, wrapQtAppsHook, lib, qtbase }: mkDerivationWith buildPythonApplication {postFixup = ''wrapQtApp...''}; in libsForQt5.callPackage package {}
<Pwnna> that said i'm pretty sure im doing that wrong too
<{^_^}> [nixpkgs] @jonringer merged pull request #94995 → minizinc: 2.2.3 -> 2.4.3, fix build → https://git.io/JJ1Sy
<{^_^}> [nixpkgs] @jonringer pushed commit from @danieldk to master « minizinc: 2.2.3 -> 2.4.3, fix build »: https://git.io/JJMLF
<jlv> Anyone know why `nixpkgs.haskellPackages.base` is `null`? And how do I get around that, if I need `haskellPackages.base`?
Acou_Bass has quit [Ping timeout: 260 seconds]
zupo has quit [Client Quit]
<nbathum> in the context of a buid, does `${placeholder "out"}` == `$out`?
<nbathum> build*
orivej has joined #nixos
Acou_Bass has joined #nixos
<symphorien[m]> yes
<symphorien[m]> but you don't need bash to interpolate the first
cole-h has joined #nixos
<nbathum> ahh thanks
growpotkin has joined #nixos
samhza has joined #nixos
<{^_^}> [nixpkgs] @jonringer closed pull request #94264 → steam-chroot: add cacert → https://git.io/JJ2cj
<{^_^}> [nixpkgs] @jonringer merged pull request #92078 → hepmc3: 3.2.0 -> 3.2.2 → https://git.io/JJTJ0
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJMq3
knupfer has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e4133302ddb (from 58 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
meh` has quit [Ping timeout: 265 seconds]
user_0x58 has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
fresheyeball has joined #nixos
<__monty__> infinisil: If you have some time could you take another look at #94892?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/94892 (by toonn, 1 day ago, open): Font joypixels emoji
jb55 has quit [Remote host closed the connection]
zupo has joined #nixos
Thra11 has quit [Ping timeout: 240 seconds]
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
user_0x58 has quit [Read error: Connection reset by peer]
<fresheyeball> shit I just don't know pkgconfig
<infinisil> __monty__: Will take a look soon :)
spudly has quit [Ping timeout: 256 seconds]
spudly- is now known as spudly
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #94852 → python2Packages.cryptography*: pin at 2.9.2 → https://git.io/JJPuf
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJMm3
cr4y1 has quit [Remote host closed the connection]
fresheyeball has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @jonringer merged pull request #94957 → scrcpy: 1.14 -> 1.15.1 → https://git.io/JJ1Cv
<{^_^}> [nixpkgs] @jonringer pushed commit from @dywedir to master « scrcpy: 1.14 -> 1.15.1 »: https://git.io/JJMm8
diogenes_ has joined #nixos
titano has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
titano has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
bvdw has quit [Remote host closed the connection]
bvdw has joined #nixos
pfr has quit [Ping timeout: 256 seconds]
glowpelt has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #94947 → iruby: init at 0.3.0 → https://git.io/JJ1OC
<{^_^}> [nixpkgs] @jonringer pushed commit from @costrouc to master « iruby: init at 0.3.0 »: https://git.io/JJMmb
sangoma has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #94944 → ledger-live-desktop: 2.8.0 -> 2.9.0 → https://git.io/JJ1mc
<{^_^}> [nixpkgs] @jonringer pushed commit from @FelschR to master « ledger-live-desktop: 2.8.0 -> 2.9.0 »: https://git.io/JJMmp
Dagger2 is now known as Dagger
Acou_Bass has quit [Ping timeout: 256 seconds]
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has joined #nixos
evanjs has quit [Client Quit]
evanjs has joined #nixos
cosimone has quit [Ping timeout: 244 seconds]
Acou_Bass has joined #nixos
<{^_^}> [nixpkgs] @06kellyjac opened pull request #95013 → deno: 1.2.2 -> 1.2.3 → https://git.io/JJMOC
pfr has joined #nixos
ScottHDev4 has quit [Ping timeout: 256 seconds]
diogenes_ has quit [Quit: vergissmeinnicht]
<{^_^}> [nixpkgs] @jonringer merged pull request #94923 → _1password-gui: init at 0.8.0 → https://git.io/JJXHs
<{^_^}> [nixpkgs] @jonringer pushed commit from @danieldk to master « _1password-gui: init at 0.8.0 »: https://git.io/JJMOl
<{^_^}> [nixpkgs] @bhipple merged pull request #94979 → openrgb: 0.2 -> 0.3 → https://git.io/JJ10c
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JJMO8
<{^_^}> [nixpkgs] @marsam merged pull request #94980 → zeek: 3.1.2 -> 3.1.5 → https://git.io/JJ105
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJMOE
philr has quit [Ping timeout: 256 seconds]
sheepfleece has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #94974 → tre-command: 0.3.1 -> 0.3.2 → https://git.io/JJ1BC
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJMOV
nature has quit [Quit: WeeChat 2.9]
diogenes_ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pfr has quit [Ping timeout: 260 seconds]
pfr has joined #nixos
Acou_Bass has quit [Ping timeout: 256 seconds]
<Pwnna> how do I append something into shellhook?
sangoma has quit [Read error: Connection reset by peer]
<Pwnna> because buildPythonPackage already modifies shellhook
<{^_^}> [nixpkgs] @jonringer closed pull request #93885 → python27Packages.dash-renderer: 1.5.0 -> 1.5.1 → https://git.io/JJREk
<{^_^}> [nixpkgs] @jonringer merged pull request #94851 → python3Packages.dash*: bump → https://git.io/JJP0R
<{^_^}> [nixpkgs] @jonringer pushed 4 commits to master: https://git.io/JJM30
zupo has joined #nixos
Acou_Bass has joined #nixos
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
<infinisil> Pwnna: What have you tried already?
<{^_^}> [nixpkgs] @jonringer closed pull request #94896 → Jetbrains IDE updates 2020.1 -> 2020.2 → https://git.io/JJX8s
captn3m0 has quit [Ping timeout: 256 seconds]
<Pwnna> Well nothing useful. I tried things like shellHook = ''$shellHook; ...'' but obviously doesn't work
sangoma has joined #nixos
<Pwnna> I see some stuff like shellHook = lib.concatStringsSep "\n" (lib.catAttrs "shellHook"
<infinisil> Pwnna: What's the surrounding code though
<Pwnna> nothing. I just want to add an alias in nix-shell
sheepfleece has quit [Quit: Lost terminal]
<Pwnna> the surrounding code is buildPythonApplication { }
<infinisil> Oh so it's buildPythonApplication { shellHook = ...; }?
<Pwnna> yeah
<Pwnna> i want to do that basically
lord| has joined #nixos
captn3m0 has joined #nixos
nature has joined #nixos
<infinisil> Pwnna: Hm it looks like buildPythonApplication uses this to add to shellHook: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/python/hooks/setuptools-build-hook.sh#L45-L48
<nature> Hi, I just set up wireguard on nixos with wg-quick, I was wondering how can I do the equivalent of `wg-quick down wg0` ?
<infinisil> Meaning if you set it yourself, it's not set
diogenes_ has left #nixos ["vergissmeinnicht"]
<infinisil> Pwnna: So I'd try setting it with `shellHook = "setuptoolsShellHook; <your commands>"`
<nature> as the file /etc/wireguard/wg0.conf doesn't exist due to how the nix store works
<infinisil> nature: systemctl stop wg-quick-wg0
<eyJhb> So.. There is a fun thing with NixOS, you can set your paths with nix. something. but, they will only take effect on the next build...
<eyJhb> Shouldn't that be a fault/error?
<infinisil> eyJhb: Way too little info
<nature> thx infinisil :)
<eyJhb> infinisil: tshh.. two sec :p
<infinisil> :)
<higherorder> Hi! I am trying to get a source file from a Git repo and run it, like so:
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eyJhb> `nix.nixPath` allows to specify nixpkgs, etc. but those will only take effect, after the build
<higherorder> however this throws "error: Cannot resolve module "file:///nix/store/w8sicl90r7nh9mbpwxd0q49hwa2zf751-source/server.ts"" (on service starts)
<higherorder> I assume I'm misusing fetchGit but not sure how
cosimone has joined #nixos
<eyJhb> So if you set the nixpkgs in your conf file, to something with a package not in the current nixpkgs, you have to rebuild with the new nixpkgs path added ti nix.nixPath, then you can add the package to your config
<eyJhb> Else you will get a error. I feel like it makes sense, while I really wish it did not behave that way
<infinisil> eyJhb: Oh yeah that's a common gotcha. But it's not a bug
<eyJhb> Is there any way to solve the none-bug?
<infinisil> It has to work this way, because evaluating the NixOS modules themselves requires a nixpkgs already. And if the NixOS modules specify the nixpkgs, then that's an infinite recursion
<eyJhb> But we do like those! I am guessing you can do something pkgs import ./ something ?
nature has quit [Quit: WeeChat 2.9]
<infinisil> eyJhb: "pkgs import ./"?
<infinisil> Oh pkgs = import ./path/to/nixpkgs?
zaeph has joined #nixos
<eyJhb> Yeah, I assume! That should be possible to do something like that in my main configuration, right?
<eyJhb> Not sure it will help me however...
<etu> You can also specify the variable nixpkgs using -I to nix-build, that way you can get it to take effect on the first build and then on all builds after it's set in the config
<infinisil> higherorder: Does that /nix/store/.../server.ts file exist?
<eyJhb> etu: yeah.. My main problem is, that I have some funky apply patches
<higherorder> infinisil: yes it does
<{^_^}> [nixpkgs] @jonringer merged pull request #87369 → urserver: init at 3.6.0.745 → https://git.io/JfCou
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJMsn
<eyJhb> And was playing with home-manager, where it was missing X in a module, which was a fault.
<eyJhb> So I cauld not switch :p
<higherorder> infinisil: ah hang on a second
<etu> eyJhb: That's why you would use -I to nix-build to specify which nixpkgs to use ;D
<infinisil> eyJhb: Assigning `pkgs` inside nixpkgs can change pkgs itself, but not all the nixpkgs modules you evaluate with
<infinisil> s/inside nixpkgs/inside configuration.nix
<infinisil> So while you could get a more recent version of minecraft that way, you couldn't pin the minecraft nixos module to that same nixpkgs version
<higherorder> infinisil: eh, seems to work now. Sorry. One question, though: Do I need to interpolate ${gist}, or ${gist.outPath}? Both appeared to work
<infinisil> higherorder: Both are the same, ${gist} is preferred
<higherorder> infinisil: what's the magic that pulls out the outPath when interpolating ${gist}?
Acou_Bass has quit [Quit: ZNC 1.7.5 - https://znc.in]
<infinisil> higherorder: The Nix string coercion, pretty simple actually:
<infinisil> > let value = { outPath = "hello!"; }; in "The value is ${value}"
<{^_^}> "The value is hello!"
<higherorder> infinisil: oh, so is the attribute `outPath` special-cased by Nix?
<infinisil> higherorder: I guess it is in that regard yeah :)
realisation has quit [Ping timeout: 240 seconds]
<infinisil> And derivations always set outPath correctly too
<higherorder> infinisil: Thanks! A quick follow up question: in the snippet I shared I didn't specify a revision in `fetchGit`. When I re-deploy my configuration, will it fetch the latest of that repo? I just tried it and no, it appears to stick to what it fetched when I first deployed the configuration?
<infinisil> eyJhb: There are at least 3 ways to declaratively pin nixpkgs for NixOS: Make a wrapper that sets -I nixpkgs; make a wrapper that uses a boot nixpkgs to evaluate the NixOS config once to extract the actual nixpkgs you want to use, then eval again; flakes
<infinisil> eyJhb: Or another one: Use a nixos-rebuild alternative which supports this by default (e.g. I'm using https://github.com/Infinisil/nixus which can do that)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/066c604eec6 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
sangoma has quit [Ping timeout: 246 seconds]
<infinisil> higherorder: It caches the result for an hour I think, but it should try to get the latest version after that time is over
knupfer has joined #nixos
Acou_Bass has joined #nixos
<higherorder> infinisil: ah interesting; where can I learn more about that caching behaviour?
<infinisil> higherorder: `man nix.conf`, `tarball-ttl`
<infinisil> Yeah 3600 seconds, can change that temporarily with `--option tarball-ttl 0`
<higherorder> infinisil: brilliant thanks; so git repositories are considered tarballs?
<higherorder> also I didn't know about man nix.conf; that'll come in handy
<eyJhb> infinisil: you use that for your local system as well. right?
<infinisil> higherorder: I guess that option was just used for non-tarballs for simplicity. I'd expect a rename eventually
<infinisil> eyJhb: Yea
<infinisil> eyJhb: Or krops, morph, nix-deploy, nixops (since recently I think) might support nixpkgs pinning too
<eyJhb> I have thought about using it for all my systems :p
<eyJhb> I am between morph and nixus
<eyJhb> Not sure nixops is the way to go, because, state
<{^_^}> [nixpkgs] @ryantm merged pull request #94779 → marvin: 20.15.0 -> 20.16.0 → https://git.io/JJilH
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JJMG3
<infinisil> Last time I heard, gchristensen and adisbladis are working for nixops not to need that much state anymore
<{^_^}> nixops#1264 (by grahamc, 19 weeks ago, open): Example NixOps State Backends
<infinisil> eyJhb: nixus is experimental anyways, so I can't really recommend it :P
<eyJhb> Holding you personally accountable, no matter what you say infinisil ! ;) :P
<infinisil> !!
<infinisil> (if you do want to experiment with it, I'd help though :))
<DigitalKiwi> infinisil: did that person do that node package
<eyJhb> I heard 24/7 live support right there as well! + being the most stable Nix thing we have ever seen!
<infinisil> DigitalKiwi: Yeah I think so
<eyJhb> (I am running no critical things , so it is OK to use I think infinisil )
<DigitalKiwi> did you merge it ;D
<eyJhb> Once I get some more time (exam tuesday), I will maybe look at it :D
<eyJhb> infinisil++
<infinisil> eyJhb: Oh no D:
<{^_^}> infinisil's karma got increased to 328
<infinisil> DigitalKiwi: Ah yes, #93179
<{^_^}> https://github.com/NixOS/nixpkgs/pull/93179 (by Zimmi48, 3 weeks ago, merged): nodePackages.get-graphql-schema: init at 2.1.2
jb55 has joined #nixos
<eyJhb> infinisil: Convex optimisation. I do not believe, that Nix have no experts in this field!
nature has joined #nixos
<nature> Anybody got redshift working on nixos ?
<nature> I enabled it in configuration.nix but can't fugure out why it doesn't change my screen colors...
<nature> I did correctly setup location.latitude and logitude as well
<nature> when I run the command redshit -l LAT:LON it works as intended
<nature> but it doesn't work automatically
<{^_^}> [nixops] @lukebfox opened pull request #1391 → Fix DiffEngineResourceState → https://git.io/JJMG2
suzanne has joined #nixos
<infinisil> nature: What's `systemctl --user status redshift`?
<nature> infinisil: it's inactive :/
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<infinisil> nature: Full output?
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<nature> infinisil: https://paste.rs/gOZ
<infinisil> nature: Hm, is there anything interesting in `journalctl --user -u redshift -e`?
jlslnx has joined #nixos
<nature> infinisil: "No entries"
<infinisil> nature: Hm, what's `systemctl cat redshift` then?
<infinisil> Oh I mean that with `--user`
<infinisil> nature: And after that, `systemctl --user status graphical-session.target` as well
<nature> infinisil: "cat" -> https://paste.rs/uGW
<nature> infinisil: "graphical-session" -> https://paste.rs/6eP
jlslnx has quit [Client Quit]
<infinisil> nature: Hm graphical-session should be active
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/e9bd19d4d35 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<infinisil> nature: What DM/DE/WM combo are you using?
<nature> infinisil: startx + bspwm
<nature> infinisil: but for now I am running xinitirc in a non "nixos" way via my .zprofile, planning to use home-manager afterwards
jlslnx has joined #nixos
<nature> infinisil: so I simply have startx.enable as a dm in configuration.nix and that's it
<infinisil> nature: Hm, you might need to call `/run/current-system/systemd/bin/systemctl --user start graphical-session.target` before you start your WM then
<infinisil> In your starting script
<infinisil> And `/run/current-system/systemd/bin/systemctl --user stop graphical-session.target` after the WM exits
<DigitalKiwi> why is dependabot making PR on my nixpkgs
<nature> ooooh ok thanks, let me give this a shot
<infinisil> nature: Normally NixOS does this with its xsession script: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/display-managers/default.nix#L91
<nature> infinisil: also this shouldn't be an issue once I start using bspwm via home-manager ?
<infinisil> home-manager starts graphical-session for you I'm pretty sure
<nature> ok wow thanks infinisil, I probably wouldn't have been able to figure this one out of my own!
<infinisil> No problem :)
<infinisil> nature: Does it work then?
leotaku has quit [Quit: ZNC 1.8.1 - https://znc.in]
<nature> infinisil: lemme try
nature has left #nixos ["brb"]
<{^_^}> [nixpkgs] @danieldk merged pull request #94991 → amd-libflame: init at 2.2 → https://git.io/JJ11j
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJMZ1
nature has joined #nixos
leotaku has joined #nixos
<nature> infinisil: ok, graphical-session started and now redshift kind of started too but failed now...
<nature> got some logs
<nature> infinisil: "`RANDR Query Version' returned error -1"
<infinisil> That's all the logs?
<nature> let me get you all the logs in a paste
<nature> infinisil: https://paste.rs/wd4
<infinisil> I guess I'd try googling for that error
<infinisil> nature: Oh also try out just running `xrandr` on its own
sangoma has joined #nixos
<nature> infinisil: xrandr works fine on its own
realisation has joined #nixos
<nature> infinisil: ok so I would need to add Environment=Display=:0 in the service, but nixos doesn't really let you do that right ?
<infinisil> It does, but the lines I linked should do that too in a non-hacky way
<manveru> hmm, i use redshift just fine...
pfr has quit [Ping timeout: 240 seconds]
<nature> infinisil: oh so I should put those in my xinitrc ?
<nature> infinisil: yes!!
<infinisil> nature: Whatever you're using to initialize your x session
lit8cdw6oq has joined #nixos
<nature> just running it worked, I get it now
<nature> infinisil: thanks a lot!
<infinisil> Np :)
Heirlung has quit [Ping timeout: 256 seconds]
<manveru> that's the home-manager config for it :)
<infinisil> manveru: Yeah it's working fine for me too, but they are using a bit of a special X setup which doesn't do some standard stuff which NixOS and home-manager would do
<manveru> ah, ok
<manveru> i didn't read that far back ^^;
<nature> kk thanks manveru I installed nixos recently, so I haven't setup home-manager yet
<nature> yes ^^' gonna standardize my setup soon
<manveru> no worries, maybe it helps in future
<manveru> home-manager finally allowed me to do some ricing :D
mallox has quit [Quit: WeeChat 2.9]
<nature> yes sure, I'll keep your redshift setup somewhere ;)
<{^_^}> [nixpkgs] @dasj19 opened pull request #95014 → epiphany: 3.36.3 -> 3.36.4 → https://git.io/JJMnl
<infinisil> manveru: Oh neat, got a screenshot?
<nature> my eyes thank you a lot infinisil :D
<manveru> infinisil: not yet :)
<infinisil> :D
<nature> manveru: what wm are you using ?
<manveru> i3
<{^_^}> [nixpkgs] @stigtsp opened pull request #95015 → firejail: add patches to fix CVE-2020-17367 and CVE-2020-17368 → https://git.io/JJMnB
Heirlung has joined #nixos
<manveru> it looks nicer in action, but that's hard to show in screenshots :)
griff_ has joined #nixos
<DigitalKiwi> look at all those pixels wasted as gaps :(
<manveru> i needed some place to put the shadows ;)
<DigitalKiwi> *chortle*
<infinisil> I do kind of miss not seeing my background that often
<infinisil> tiling WM + almost no gaps + no transparency
<DigitalKiwi> infinisil: have 9 virtual desktops like me and you can see it a lot more often
<manveru> and with three monitors, i don't really lack much space..
<DigitalKiwi> since rarely do i have windows on all of them
<nature> manveru: neat
sputny has quit [Remote host closed the connection]
<infinisil> DigitalKiwi: I do have 9, but why would I spend time on empty ones!
<DigitalKiwi> to see your desktop background, catch up ;D
<infinisil> Oh hah
<infinisil> Well I'd like to see it without not being able to do anything else :)
<manveru> i rotate backgrounds every twenty minutes to remind me to move a bit, and picom to actually see it
<nature> I don't put a background imnage so no need for gaps :p
<DigitalKiwi> mine is whatever kde has set
<eyJhb> manveru: I ignore those things too often
<infinisil> Maybe I should have negative gaps for even more space
<eyJhb> Had a dirll sergeant scream every 40 mintutes, to remind me to move
<eyJhb> Forgot to turn off volume during lectures
<eyJhb> Forgot to turn it back on after
<infinisil> manveru: What's your bar at the bottom? Looks very neat
<manveru> polybar
<{^_^}> [nixpkgs] @cript0nauta opened pull request #95016 → pythonPackages.flask_assets: fix tests → https://git.io/JJMnw
<infinisil> Hmmm
<manveru> the title display is a bit buggy atm... not aligned right :(
arinov has joined #nixos
<arinov> hey guys
<arinov> is there a way to block several preinstalled packages such as xterm?
dingenskirchen has joined #nixos
jlslnx_ has joined #nixos
Thra11 has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
jlslnx has quit [Ping timeout: 240 seconds]
<energizer> imo the default package list should be defined in a separate list defaultPackages that can be adjusted by the user, not just added into systemPackages immediately
endformationage has joined #nixos
jlslnx_ has quit [Quit: leaving]
jlslnx has joined #nixos
jlslnx has quit [Client Quit]
<energizer> if you want to customize the set of preinstalled packages maybe you're the person to make this change
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
<arinov> energizer: i am not very experienced in nixos now
bvdw has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJMcC
<{^_^}> [nixpkgs] @cpcloud opened pull request #95018 → upgrade: nomad to 0.12.1 → https://git.io/JJMci
<energizer> arinov: actually, is xterm even in the default package set?
<energizer> i dont think it is
<Ashy> xorg isn't installed by default so it can't be
<arinov> energizer: its installed in every desktop or wm profile
<qyliss> it comes with services.xserver.enable
<arinov> every distro i tried has the same cancer with defaults...
cosimone has quit [Quit: Quit.]
<energizer> arinov: you can customize services.xserver if you like
<arinov> can you give a link or something explained how?
<energizer> but i do wonder what problem you'd be solving
<arinov> i am solving the problem of unused second terminal
<chipb> oh noes. the disk space.
<energizer> arinov: is it the disk space you're worried about?
<qyliss> arinov: if disk space is a priority NixOS in its current form may unfortunately not be for you
<arinov> i am worried about shit in my desktop
<arinov> xterm is unused duplicate of default DE terminals
<energizer> arinov: are you saying it offense your aesthetic sense of minimalism? or is there some more pragmatic issue?
<energizer> offends*
<arinov> every desktop environment has its own integrated terminal, and every WM users prefer its own, what research did you to say xterm is really needed terminal in i3 (rxvt), KDE (Konsole), Gnome (gnome-terminal)?
<chipb> sorry, I shouldn't have been so snide.
<chipb> you might be surprised at the random, non-XDG stuff that expects xterm to be around.
<arinov> chipb: i have gentoo laptop, i have no surpising xterm is here
<arinov> it is in linux distribution 20 years
<arinov> but i dont have it in my systems
<arinov> so how to remove it from my installation of nixos? is it possible?
<qyliss> it's not really possible
<qyliss> unless you want to modify the sources
<chipb> can't customize services.xserver?
<arinov> i may be not understand, i am living my life to find distros and removing xterm from it
knupfer has quit [Ping timeout: 240 seconds]
<arinov> chipb: i am first time here trying nixos
<symphorien[m]> > can't customize services.xserver?
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):321:1
<chipb> arinov: that was directed more at qyliss. I don't know how customizable it is.
<qyliss> chipb: not really
griff_ has quit [Quit: griff_]
<qyliss> chipb: the list of packages it activates is hardcoded. Have you looked at the source?
<chipb> not at that yet. I'll take a gander.
<qyliss> It shoves a bunch of stuff into environment.systemPackages, including xterm
<qyliss> Once something's in a list in a NixOS module, it's basically impossible to get it out
<arinov> so the idea in replacing local file with that new one?
<chipb> personally, I think it's reasonable to include by default with X11 libs in general, but I'd also expect it to be removable if there were a need to.
<chipb> yuck.
knupfer has joined #nixos
<symphorien[m]> arinov yes but then you have to keep up with updates manually
<arinov> great
<symphorien[m]> so, in reality, I would advise against
<symphorien[m]> alternatively, you can keep your own fork of nixpkgs
<arinov> thanks
lit8cdw6oq has quit [Remote host closed the connection]
<symphorien[m]> and use nixos-rebuild with `-I nixpkgs=/path/to/nixpkgs`
<{^_^}> [nixpkgs] @SFrijters opened pull request #95019 → nixos/x11: Respect XCOMPOSECACHE/XDG_DATA_HOME if set in xsession-wrapper → https://git.io/JJMC5
<arinov> idea is brilliant, but no
<chipb> depending on how distasteful you find it, perhaps an overlay which reassigns the 'xterm' package to what should be "the" x terminal?
<chipb> or is that going to conflict when "the" terminal gets included in system.environment?
<symphorien[m]> chipb you can set priorities in case of clashes
<symphorien[m]> but it's at the file level
<arinov> chipb: why so many questions?
<arinov> i dont know answers
<symphorien[m]> so it's possible to install a fake package which contains $out/bin/xterm as a symlink to rxvt and set it to high priority
<arinov> i just expecting one terminal emulator per desktopmanager or whatever, i just wanted to have one browser instead of 2
<arinov> why not to installing kde with gnome automatically
<qyliss> xterm is trivially small compared to a browser
<qyliss> or a desktop environment
<arinov> maybe someone will use it
<arinov> good idea to have kde and gnome at once
<arinov> xterm is a mark
<qyliss> why not make ls and cat seperate packages?
<arinov> its a symbol
<qyliss> why not make every libc function a seperate package?
<chipb> arinov: you are aware there's more than yourself and I in channel, right? :-P
<chipb> I'm just trying to understand behavior myself.
<arinov> i asked one questions
<arinov> and as always i have no simple solution
<energizer> qyliss: is that so bad an idea?
<symphorien[m]> arinov may I draw your attention to the fact that nano is also hardcoded in systemPackages
<symphorien[m]> you can't get rid of it
<arinov> yeah
<qyliss> energizer: yes, because it would be a big maintenance overhead with no real benefit
<arinov> i cannot change the world, i just wanted to know have i ability to choose or not
<arinov> so it seems i havent
<arinov> i cant make my own nixos with one-two changes and move it everywhere i am
<typetetris> If in flakes world, nixpkgs becomes a flake, how does one do package overrides (with dependees in nixpkgs being rebuild with the new version of the dependency)?
<chipb> symphorien[m]: ah, the link thing's not a *terrible* choice, I guess.
<chipb> better than aliasing the xterm package to another package at least.
<symphorien[m]> still qualifies as sad, I think :þ
<arinov> have a nice day
arinov has quit [Quit: WeeChat 2.7.1]
sangoma has quit [Quit: WeeChat 2.9]
<symphorien[m]> at least no rebuilds
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
lsix1 has joined #nixos
<energizer> qyliss: i can imagine it helping incremental compilation if dependencies were more fine grained. like if naersk/snack worked at the function level instead of the package level
<chipb> typetetris: I gather you can apply overlays all the same, they just get applied in your system (or other top-level) flake.
lsix has quit [Ping timeout: 260 seconds]
<chipb> or hm. I guess that's a good question.
cosimone has joined #nixos
<qyliss> energizer: oh yeah sign me up for derivations at that granularity!
rardiol has quit [Ping timeout: 264 seconds]
cosimone has quit [Remote host closed the connection]
<energizer> or expression level :)
cosimone has joined #nixos
<typetetris> I stand before the problem of how to package nixops master and nixops-libvirtd, so the nixops command has nixops-libvirtd loaded as a plugin, an in nixops flake is "tested/used" and together with poetry2nix so conventional python nix stuff doesn't work and its all very frustrating :(
stephaneyfx has quit [Read error: Connection reset by peer]
stephaneyfx has joined #nixos
<{^_^}> [nixpkgs] @elliottvillars opened pull request #95020 → symbolator: init at 1.0.2 → https://git.io/JJMWZ
<aterius> I was getting screen tearing with kwin on nvidia proprietary drivers, so I tried enabled modesetting. Does hardware.nvidia.modesetting = true; cause a wayland session to launch by default now? It seems that I get horrible mouse lag when I enable that
<{^_^}> [nixpkgs] @Flakebi opened pull request #95021 → salt: 3001 -> 3001.1 → https://git.io/JJMWl
<{^_^}> [nixpkgs] @elliottvillars closed pull request #95020 → symbolator: init at 1.0.2 → https://git.io/JJMWZ
cole-h has quit [Quit: Goodbye]
cosimone has quit [Remote host closed the connection]
<chipb> are you you composing them in a flake you control and can add tests to?
<chipb> of course, I don't know nixops, nixops-libvirtd, or their relation beyond a wild guess.
<chipb> I'll shut up now.
<typetetris> chipb: I don't know the flake stuff yet, just reading through it. I was just buffled, as they depend on each other and both depend on nixpkgs. But If I compose them in a flake, will that ensure, nixops-libvirtd will use nixops in the same version as dependency, that I include in my flake? That both use the same nixpkgs? How do I even access the commands from the to link them in an out-Path? Where is even the basic
<typetetris> derivation with an out path in a flake?
<typetetris> And nixops flake depends on nixos-unstable ... how to turn that to nixos-20.03 just to see, if that might also be sufficient?
<chipb> I'm confused. are both already in their own flake?
jumper149 has joined #nixos
<typetetris> yes
<typetetris> I don't know, if that is intended
<typetetris> But maybe I am just confused about flakes and mess that up :)
fendor_ has quit [Ping timeout: 246 seconds]
<typetetris> okay, looks like nixops-libvirtd (a plugin for nixops) isn't a flake yet.
<typetetris> So how to put them together ...?
__monty__ has quit [Quit: leaving]
<chipb> to be clear, I'm not really sure myself. I'm poking at it blindly. :-)
nature has quit [Ping timeout: 244 seconds]
Kritnich has quit [Quit: Bye bye.]
<chipb> I think a flake is meant to be a standalone, atomic domain of utility that's been put through its own testing as captured in that flake. a sort of "mini-distribution" if you will.
<chipb> my expectation is you would install nixops from the flake, and if it has dependencies, it's sealed those up in its own domain.
<chipb> understanding nixops-livirtd being a backend of nixops, I'd then expect it to have incorporated into that flake somehow. but that goes back to your question of "how?", right?
<typetetris> yes
<typetetris> as at the moment the nixops flake doesn't incorporate any plugins ...
<{^_^}> [nixpkgs] @elliottvillars opened pull request #95022 → symbolator: init at 1.0.2 → https://git.io/JJMlv
<chipb> yeah, I'm seeing that now.
alexherbo2 has quit [Ping timeout: 260 seconds]
<chipb> I guess they're their own domains of concern anyhow.
<typetetris> Actually the just have to end up in the same python env, so nixops finds the plugin ..
dermetfan has quit [Ping timeout: 260 seconds]
<bqv> is nixops worth it, as a flake?
dingenskirchen has quit [Quit: dingenskirchen]
<typetetris> Don't know, at the moment it annoys me
dingenskirchen has joined #nixos
<typetetris> I would like to use it
<typetetris> with libvirtd
<chipb> bqv: I'd argue not given how unclear it is to integrate a plugin with it. heh.
<typetetris> Maybe I ignore the nix stuff, that comes with them and just bundle them as python apps.
<typetetris> But it would be sad, wouldn't it?
<chipb> I was about to suggest you'd want a regular old python.withPackages, just from the nixpkgs locked by the nixops flake, but of course theres another layer of...er...poetry.
<bqv> i'd want something that just takes a built system, maybe some extra config and some secrets, and does magic stuff with it
<bqv> cause that would work with flakes and non-flakes
<bqv> as it stands, apart from nixops, no solution works for flakes
<chipb> in fairness, I don't think flakes are meant to have all the use cases hammered out yet.
<bqv> sure, but you know, if any of them worked like that, there wouldn't be an issue
<chipb> I mean, how do you install nixops now?
<bqv> i don't use nixops either
<bqv> don't ask why
<chipb> ok. I won't. :-P
<chipb> typetetris: do you already use python.withPackages somehow to integrate non-flake nixops?
<bqv> at the moment i just ghetto my secrets, build using flakes, and copy and activate the results over ssh
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<chipb> haha. that's about where I'm at, so...
alp has joined #nixos
m0rphism has quit [Ping timeout: 265 seconds]
knupfer has quit [Ping timeout: 246 seconds]
realisat1on has joined #nixos
realisation has quit [Ping timeout: 260 seconds]
quinn has joined #nixos
<chipb> oh, I spotted pythonEnv in the outputs of the nixops flake.
<typetetris> chipb: no, they are build with poetry, so you would have to use poetry2nix somehow. But it is also unclear, how to combine them afterwards. Somehow, you need a python project with both of them as dependency maybe and then somehow get the app from nixops or so.
<typetetris> but I am not a python developer
demize has joined #nixos
<chipb> can you overrideAttrs that to add the nixops-libvirtd?
<typetetris> Maybe, I can try it.
griff_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #95007 → shattered-pixel-dungeon: 0.8.1a -> 0.8.2, add test → https://git.io/JJ1hv
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJMl1
Kritnich has joined #nixos
stephaneyfx has quit [Quit: Leaving]
<energizer> error: executing SQLite statement 'insert or replace into Refs (referrer, reference) values (?, ?);': database disk image is malformed (in '/nix/var/nix/db/db.sqlite')
<energizer> this keeps happening. i dont think there is anything wrong with the database
<typetetris> Tried that now, its still building: https://gist.github.com/typetetris/9b794fdec9a0180de72c9994823545b7 guessed about propagatedBuildInputs it is not described in poetry2nix documentation.
nDuff has quit [Quit: zzz]
johnny101 has joined #nixos
<typetetris> dies with errno 13 Permission denied on /nix/store/.../nixops-1.8.0/bin/charon
lsix1 has quit [Quit: WeeChat 2.9]
<bqv> maybe i could just take morph and rip out the building part
_habnabit has joined #nixos
<energizer> morph is nice, tho i wish it had concurrent deployments
<energizer> sqlite3 doesnt see anything wrong with /nix/var/nix/db/db.sqlite, but nix-shell keeps reporting "database disk image is malformed"
<chipb> typetetris: permission denied like bin/charon is not +x?
<energizer> what is the deal
<suzanne> Hi, I'm trying to populate /bin/, /lib etc. from a nix flake (on nixpkgs, not on NixOS). I hoped nix-env would help, but this gives "selector 'mypkgs' matches no derivations"
<suzanne> nix-env --experimental-features 'nix-command flakes' -p /tmp/test/ -i mypkgs flake.nix
<typetetris> chipb: I don't know, that was just the output I guess from poetry or some such. Now I just try it with nixpkgs-unstable
alp has quit [Ping timeout: 244 seconds]
<suzanne> /* flake.nix: */ {description = ""; inputs = {}; outputs = { nixpkgs, nix, self, ... }@inputs : { packageOverrides = nixpkgs: with nixpkgs; { mypkgs = nixpkgs.buildEnv { name = "my pkgs"; paths = [ bash ];};};};}
<jtojnar> huh, does nix-env even support flakes?
<bqv> not anymore
<bqv> flakes changed enough that it now requires nix profile
<chipb> jtojnar: I don't imagine so. nix-env's unapologetically dependent on NIX_PATH, right?
<chipb> bqv: it did before? huh.
<bqv> yep
<suzanne> Indeed seems like it doesn't anymore ;) but I'll try anything that groups the binaries of a bunch of packages in a single dir
<jtojnar> I have no idea, do not really use nix-env
<chipb> typetetris: fwiw I'm having a go at it too. I'm stumbling over getting specialArgs to pass through inputs. it seems it doesn't work how I expected. :-/
<_habnabit> hi! so idk if this is a nixos or nixops question (i'm just barely getting started with all of this) but how do i create arbitrary files/directories? i saw environment.etc but that's only for /etc? also if there's separate ways to like ensure a file has some contents vs. ensure that a file exists (and some default contents if it doesn't) but not care about what's in it
<jtojnar> chipb specialArgs work great for me
<suzanne> Hm, this seems more friendly, but expects a singe defaultPackage.x86_64-linux, not sure how to supply many packages: nix profile --experimental-features 'nix-command flakes' install . --profile /tmp/test/
<chipb> jtojnar: I don't doubt that. I'm just apparently slow. heh.
<suzanne> (thanks bqv for the pointer to nix profile)
<chipb> jtojnar: care to pastebin an example?
pfr has joined #nixos
evhan has joined #nixos
<typetetris> _habnabit: If you need stuff at runtime, you could create oneshot systemd-services, which create them. That is, what I usually do.
<chipb> I'm getting an EvalError spitting out "attribute 'specialArgs' missing" somewhere in lib/modules.nix
<chipb> jtojnar: thank you!
<_habnabit> typetetris, hypothetically that sounds good but that sounds like it would have quoting issues :(
evhan has quit [Client Quit]
<typetetris> _habnabit: If the files you need don't contain secrets, just put the content in `writeFile` or some such and just copy them in place with the systemd service.
<energizer> _habnabit: for files with fixed contents, it's typical to have programs read from nix store locations instead of from their normal arbitrary locations. for variable contents like databases and so on, some nixos modules take a dataDir= or similar argument.
<_habnabit> energizer, makes sense. how do i specify the content of a file there
<_habnabit> typetetris, oh writeFile might be what i wanted anyway?
<typetetris> Okay, building the gist I posted, some builder tries to uninstall nixops-1.8.0 and fails because charon isn't writable in the nixstore ...
<typetetris> _habnabit: `writeFile` just places the file in the store. I thought you wanted it in an arbitrary locatuon.
<_habnabit> typetetris, i'm not sure!!
<_habnabit> in the store might be fine
<typetetris> _habnabit: Then `writeFile` is certainly easiest.
<energizer> _habnabit: there are so-called "trivial builders", which can write different kinds of files writeTextFile, writeShellScriptBin, etc. https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/trivial-builders.nix#L75
<_habnabit> ah nice ok
<typetetris> good night, going to sleep
<chipb> jtojnar: er, is the second link using specialArgs? it seems to be just capturing the attrlist into a binding named 'inputs', or I'm *really* misunderstanding what specialArgs is supposed to do.
<chipb> oh, that's the outer call. I think I see what you're illustrating.
evhan has joined #nixos
<Graypup_> say I'm on nixos-19.09 and I want to give a package a newer cargo and rustc, how would I do that?
<Graypup_> write an overlay?
<Graypup_> specifically I have a project that imports default.nix and requires a certain version of rust, which 20.03 has but 19.09 does not
<Graypup_> *imports nixpkgs in default.nix but takes it as a parameter
<energizer> Graypup_: does your package take nixpkgs as an argument, or rustc/cargo?
<Graypup_> nixpkgs
<Graypup_> but I guess I could make those arguments too to make that use case easier
<energizer> it's usually easier that way
<Graypup_> the thing that's a bugger is that since I am a nix extension, I need to have the system nix version
<Graypup_> also, how would I do that with the rustPlatform.buildRustPackage?
<{^_^}> [nixpkgs] @jonringer merged pull request #95016 → pythonPackages.flask_assets: fix tests → https://git.io/JJMnw
<{^_^}> [nixpkgs] @jonringer pushed commit from @cript0nauta to master « pythonPackages.flask_assets: fix tests »: https://git.io/JJM8w
<{^_^}> [nixpkgs] @jonringer merged pull request #94953 → corerad: 0.2.7 -> 0.2.8 → https://git.io/JJ1Zl
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJM8o
<energizer> fwiw when naersk works i've found it to be the easiest way to package rust. when it doesn't work i dont know how to debug it :)
<{^_^}> [nixpkgs] @jonringer merged pull request #94754 → python3Packages.aiohttp-jinja2: ignore DeprecationWarnings → https://git.io/JJ6Sa
leotaku has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer pushed commit from @mweinelt to master « python3Packages.aiohttp-jinja2: ignore DeprecationWarnings »: https://git.io/JJM8P
leotaku has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
<Graypup_> energizer, lol sounds like fun
sigmundv has joined #nixos
realisation has joined #nixos
<Graypup_> already having fun
<Graypup_> for some reason naersk is passing -Z unstable-options on my stable rustc
realisat1on has quit [Ping timeout: 256 seconds]
philr has joined #nixos
<Graypup_> because the required --out-dir is not stable
<Graypup_> smh
<Graypup_> gonna commit crimes and pass RUSTC_BOOTSTRAP=1
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/96069f7d890 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
realisation has quit [Ping timeout: 256 seconds]
rardiol has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
cript0nauta has quit [Remote host closed the connection]
cript0nauta has joined #nixos
captn3m0 has quit [Ping timeout: 256 seconds]
cript0nauta has quit [Remote host closed the connection]
cript0nauta has joined #nixos
<Graypup_> crimes committed successfully
<DigitalKiwi> be gray do crimes
<{^_^}> [nixpkgs] @jtojnar merged pull request #95014 → epiphany: 3.36.3 -> 3.36.4 → https://git.io/JJMnl
<{^_^}> [nixpkgs] @jtojnar pushed commit from @dasj19 to master « epiphany: 3.36.3 -> 3.36.4 »: https://git.io/JJMBn
realisation has joined #nixos