gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<Ashy> i wonder if nix could be made to spit out binaries in that format
<colemickens> I can't say that I feel that way about flakes actually. I thought I did at first, but it was largely just me getting used to restrictions and maybe some bugs.
<colemickens> I'm pretty sure my problem is HW or ID-ten-T related
cjpbirkbeck has joined #nixos-chat
<samueldr> Ashy: nix... yes, but not really, nix can do anything you ask it to do :)
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-chat
<infinisil> Arghh, my dark theme for github has a bug, or github changed something that it doesn't fully work anymore
<infinisil> And it doesn't just not work
<samueldr> it ultra doesn't work&
<samueldr> ?*
<infinisil> It actually works, but only after the bright page was shown for a split second
<infinisil> So pretty much for every page click I get a flashing image of bright white..
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
rajivr has joined #nixos-chat
<pie_> whoa thats a major version
<Church-> infinisil: Ouch
<infinisil> Huh what
<infinisil> Where's 1.x?
<infinisil> Church-: Context? :)
<cole-h> infinisil: (the bright white flash)
<cole-h> (I'd assume)
<Church-> ^
<infinisil> Ahh yes
<pie_> cole-h: anything particularly cool? none of these look interesting to my layman eyes
<cole-h> pie_: zstd compression is what I am most interested in
<pie_> infinisil: ohlol didnt even notices we skipped 1.x
<cole-h> Also if "Sectional zfs/zpool man pages" means what I think it means I'm super hyped
<infinisil> Church-: Damn!
<Church-> Aye, right?
<samueldr> Church-: the image-quoted tweet https://twitter.com/r_speer/status/1298297872228786176
<pie_> Church-: oh my god
<cole-h> lmao
<samueldr> it's way worse than the image-quote leads to think
<samueldr> oops, I got it from another RT I guess, and lost *that* thread
<Church-> samueldr: Yeppp
<Church-> samueldr: Seems it might be that way for certain German dialects as well :|
<samueldr> that third person believes it's possbile that this person caused way more damage to the "Scots" language field of study than anything else
<Church-> Eyep
<Church-> Which rather pisses me off.
<Church-> samueldr: The referenced reddit thread, christ.
<pie_> not sure whether to be terrified or laugh hysterically
<ashkitten> cole-h: oooh zfs 2.0
<ashkitten> can't wait for persistent l2arc
<infinisil> Ohhh zfsonlinux is now openzfs
<infinisil> I see
<infinisil> Or like, the repos got merged or something
<Church-> Yep
waleee-cl has quit [Quit: Connection closed for inactivity]
<ashkitten> yeah
<ashkitten> it's the upstream now
<ashkitten> and has both the linux and freebsd version
<pie_> the nix on droid person is nuts :D https://github.com/t184256
<Church-> Ye :F
<Church-> :F
<Church-> :D
<ashkitten> the "how" section on the python thing just says "importlib magic"
<ashkitten> i approve
<bqv> the python import thing would be cool if nixpkgs actually had a decent amount of useful python stuff
<bqv> every time i've reached for it, it's not had what i need
<bqv> and hacks just looks unholy
<Church-> bqv: Eh nixpkgs has a decent amount of python stuff
<Church-> Has everything I'd consider standard at least
<bqv> yeah, that's the thing
<bqv> anything i don't have installed already, that i might use that for, isn't there
<Church-> Also true. But python is easy enough to get built at least
<Church-> Have a number of stuff I need to upstream one day
<pie_> based poetry2nix
<pie_> so someone explain to me a hypothesis for how this is possible because ive got nothin
<bqv> magnets
<pie_> x11 works, servers dont time out and stuff, vncviewer works, connects, etc
<pie_> if i run xclock, it comes up, but the image is static
<pie_> as if time was stopped
<bqv> definitely magnets...
<bqv> just xclock?
<pie_> the processes are still running so i dont think its the windows disappearing and leaving the artefact image
<pie_> <
<pie_> * <
<bqv> * * <
<pie_> bqv: anything
<bqv> can you move the window?
<pie_> i can run x apps but i cant interact with anything and nothing moves
<pie_> no
<bqv> that's a level of fucked i've never experienced, but it could be a driver thing
<pie_> its just xvfb
<pie_> like...it cant just bee an input problem because xcock doesnt animate...?
<bqv> xcock huh
<pie_> OMG THE MINUTE HAND MOVED
<pie_> im dumb
<pie_> it doent have a second hand, of course it looks stuck
<pie_> ok maybe its an input issue
<pie_> bqv: whoops xD
<pie_> ok so why is there no input :I
<bqv> pie_: that's almost certainly a driver thing
<bqv> needs more evdev or libinput or some synaptics s***
<bqv> but i dunno, i gave up on the mess that is X11, for wayland
<pie_> but its a virtual device...
<pie_> virtual thingy
<bqv> oof
<pie_> well, i guess this is kind of bypassing that but xdotool works
<pie_> ofc thats not very convenient so i still need to figure it out
endformationage has quit [Quit: WeeChat 2.7.1]
cole-h has quit [Ping timeout: 258 seconds]
cole-h has joined #nixos-chat
xd1le has joined #nixos-chat
<pie_> bqv: using x11vnc works!!!!
<bqv> heh. clever
<pie_> whoda thunk being able to do stuff over the network is useful
<pie_> took me a bit to get pest the pebkac that i wasnt looking at the x11vnc error right in front of me and then i figured out you can disable the shmem feature
<pie_> why write blog posts when you can write github issues
<bqv> why write github issues when you can post on irc
<pie_> why not both
<colemickens> well, I found the source of some of my issues today, from the zpool status, I quote, "too many errors"
<sphalerite> colemickens: that can also be due to bad ram :p
<colemickens> -_-
<sphalerite> do you have ECC RAM?
<sphalerite> and do you have any redundancy on the pool?
<sphalerite> and which type of errors are you getting?
<colemickens> so, I also have my HD being mounted as a hyperV VM disk drive
<colemickens> and windows has been crashing, so that also is going on
<sphalerite> If they're all checksum errors and they're appearing across all the devices it's pointing suggestively towards the RAM again ;)
<colemickens> no ECC, no redundancy in pool (the only valuable thing is my unpushed partial commit and my current tabs).
<colemickens> the thing is, the files that are corrupt are stuff like Firefox's DBs that live in memory for long times probably
<colemickens> and those files would never be open when its running as a VM. :/
<sphalerite> though who knows what kind of fun things happen if the kernel (hypervisor or guest) is in bad RAM :D
<sphalerite> how did the overnight memory test look?
<colemickens> :| yeah. time to call it a day and start a better test.
<pie_> bqv: a glimpse of nix-shell from an xterm ran in nix-on-droid (i think? xD) in termux's x11 can be caught here https://github.com/t184256/nix-on-droid/issues/75#issuecomment-680664997
<pie_> since i spent like 3 days on it i ahve to show everybody :P
<pie_> this was a sidetrack while i started waiting for a kernel compile at some point...time to get back to that
<pie_> or think of a way to make a bring-up script for this (probably involves the nix stuff sshing into termux)
<pie_> hmm, can an app launch another app?
<bqv> how ...terrifying :p
<bqv> i've never been keen on the goddamn tiny displays of phones, bu that is pretty cool tbh
<bqv> pie_: gg :D
<pie_> i hate phones
<pie_> but i seem to be using mine a lot recently
<bqv> i think they can be mitigated for, ish
<pie_> it doesnt help when the keyboard is covreing half the screen of the vnc client
<pie_> soooo tiny screen?
<pie_> how about even tinier screen
<bqv> yeah, exactly
<pie_> should i submit this to the newsletter
<cole-h> I'm getting SERVFAILs randomly
<cole-h> I guess Orbi routers just suck
FRidh has joined #nixos-chat
<viric> Sometimes I'm surprised for seeing files with owner 666 in my fs
<viric> until I recall that I often run chown when I mean chmod
<sphalerite> hahaha
<bqv> lol
<sphalerite> do you use chmod 666 that much? D:
<viric> I bet many religions have a weaker foundation than this
<viric> sphalerite: maybe two or three times a year, I admit
<viric> (unix sockets things, most of the time)
xd1le has quit [Read error: Connection reset by peer]
xd1le has joined #nixos-chat
cjpbirkbeck has quit [Quit: Goodbye, take care]
cole-h has quit [Quit: Goodbye]
sorear has quit [Read error: Connection reset by peer]
jared-w has quit [Ping timeout: 260 seconds]
savanni has quit [Ping timeout: 272 seconds]
sorear has joined #nixos-chat
<sphalerite> anyone have HDD buying tips? I want high-capacity (8TB+) drives but non-SMR, and I heard the manufacturers aren't too open about whether their drives are SMR or not.
jared-w has joined #nixos-chat
<sphalerite> I'm considering the Toshiba MG07ACA12TE
Guest88372 has joined #nixos-chat
<eyJhb> sphalerite: they have started bashing them for it
<eyJhb> So I don't think it is a issue anymore
<eyJhb> But isn't the ironwolf from seagate the goto ?
<sphalerite> the toshiba one is a bit cheaper :p
<sphalerite> eyJhb: well, people have been bashing Donald Trump for a while…
<eyJhb> But it is, Toshiba, soooo
<eyJhb> I would check some benchmarks
<eyJhb> Yeah but I think WD realeased a statement for it
<eyJhb> They were the biggest offenders AFAIK
<sphalerite> I don't care much about performance, I just want it to store lots of data. Anything above 80MB/s write is enough for me
<lejonet> sphalerite: in general, the 8TB+ disks use either CMR or explicitly state SMR (because they are archival disks, i.e. WD purple), I have personally good experience with WD Red/Red Pro (6TB) and Toshiba N300 (6TB, tho I do believe those are EoL), I have 2 10TB running in one of my ceph nodes, but I can't remember the make and model
<sphalerite> lejonet: alright, thanks :)
<lejonet> sphalerite: I can double check the 10TB when I get home :P
<sphalerite> I think I'll just buy two of the toshibas
<eyJhb> I usually go WD, but I might have a fetish with them sphalerite
<eyJhb> Just like Intel
parsley936 has joined #nixos-chat
<lejonet> eyJhb: WD is generally my goto too, but I ensure that I always use at least 2 different manufacturers in my ceph nodes
<lejonet> especially now as the WD Golds costs roughly as much as WD Reds, so no point in not going for WD golds
<lejonet> or w/e they've renamed them to now, iirc they announced that they have or are going to rename them
<etu> Avoid WD Red nowadays, get at least WD Red+
<etu> WD Red is WD Red- :p
<lejonet> etu: you're thinking about the SMR debacle?
<etu> lejonet: yes
<lejonet> Because that is "just" the ones in 2-6TB
<lejonet> and if the goal is "only" 80MBps+ write, the SMR disks would be viable still
<lejonet> (Unless you're going to have 24/7 writes, then they'll fall behind hard)
<lejonet> If other enterprise disks are on the table, the seagate exoz isn't bad either
<etu> lejonet: Depends if you use ZFS or not
<lejonet> etu: that is true
<lejonet> Do you have any links to observations or tests that show that ZFS interacts with SMR more badly than for example ext4? (asking out of actual curiosity, not trying to refute your claim)
<lejonet> etu: thank you
<lejonet> etu: ah yeah, the biggest achilles heel that SMR have are many, small writes, especially random ones
<lejonet> Would've been interesting to be a fly on the wall during the meeting after the whole SMR debacle hit the wall, when they try to track down how they thought this was a good idea to sneak in :P
<adisbladis> lejonet: I'm guessing the thought process was something like this: "How can we make these cheaper? You know all those SMR platters we make? Those are cheaper."
<lejonet> adisbladis: SMR is pure firmware tho
<lejonet> adisbladis: but yeah, probably something along those lines "How can we push these platters to higher capacity without actually adding more platters?"
<lejonet> xD
<eyJhb> I just run with WD all the way
<eyJhb> I should really have some better backup on my server.
<eyJhb> I have just thrown whatever storage into it
<eyJhb> I really want to use Nix to make this challenge repository on Gitlab (security challenges), but I am sure it will scare some away...
rardiol has quit [Ping timeout: 240 seconds]
rardiol has joined #nixos-chat
<sphalerite> eyJhb: use nix, then work out how to make it work without nix and keep nix as an optional way?
<sphalerite> eyJhb: build docker containers with nix?
<sphalerite> thought: mount all filesystems except /nix and /run/wrappers with `noexec`
parsley936 has quit [Read error: Connection reset by peer]
parsley936 has joined #nixos-chat
waleee-cl has joined #nixos-chat
<infinisil> Oh wow
<infinisil> > ping.meta.description
<{^_^}> "A helpful tool that lets you debug what part of your API is causing you issues"
<infinisil> > ping.meta.homepage
<infinisil> Very easy to confuse this with the standard ping dbinary
<elvishjerricco> Does `boot.cleanTmpDir` slow down boot noticably? I imagine recursively deleting a directory with potentially several gigabytes stored amongst many files could take a little while.
<elvishjerricco> Wondering if doing a zfs rollback of /tmp to an init snapshot would be better, and what systemd ordering to use for such a thing. Maybe After=zfs-import Before=zfs-mount?
<eyJhb> sphalerite: might be the way
<eyJhb> It just seems easier, to do it like that, when I have to pull in multiple repositories
<eyJhb> And maybe others as well.
<eyJhb> Having a git where I just cp the files seems excessive
endformationage has joined #nixos-chat
neeasade has quit [Ping timeout: 240 seconds]
<etu> hmmhh
<etu> Anyone that has working screensharing in sway?
cole-h has joined #nixos-chat
FRidh has quit [Quit: Konversation terminated!]
__Sander__ has joined #nixos-chat
<colemickens> etu: yes
<colemickens> I have it working via wf-recorder, obs+wlr-obs, or firefox with my pipewire-PR patch applied. They all work.
cjpbirkbeck has joined #nixos-chat
xd1le has quit [Ping timeout: 244 seconds]
<eyJhb> I got a request for a NixOS book. Do we have anything or something coming?
<samueldr> I know of nothing of the sort
* colemickens poor trees
xd1le has joined #nixos-chat
<samueldr> let's assume the book is of the e type
<samueldr> you know, a booke
<eyJhb> Damn
<eyJhb> Seems it is a general theme, that NixOS is lacking documentation
<bqv> Get the manual published hardback
<eyJhb> The manual is no good either
<cole-h> colemickens: I'd love you forever if you made your firefox-nightly flake also expose firefox-beta-bin
<colemickens> :(
<samueldr> the manual is a reference, not a tutorial
<samueldr> which most books end up tending more toward
<samueldr> though tbf, a NixOS book I think would become stale quite quickly :/
<eyJhb> Have heard multiple times, it has things that contradicts each other and not beginner friendly
<eyJhb> True
* colemickens has thought about a nixbyexample with runnable code ala nixcloud.io
<samueldr> colemickens: I double dare you to do it
<eyJhb> But there is a lack of documentation, for people starting out with NixOS. Like what it is, what should you do, what is optional, etc.
<samueldr> yeah
<colemickens> samueldr: it's on the list! Some other, also very nixos related things to do first.
<samueldr> that's something that's in the sights of the marketing team, once some of prerequisite goals are attained
<eyJhb> What is the link for play with Nix?
<eyJhb> Would be wounderful
<colemickens> only thing I know of is: https://nixcloud.io/tour/
<eyJhb> I still miss a GOOD way of looking up functions ...
<colemickens> but that's an older version of Nix.
<eyJhb> But it is something!
<samueldr> eyJhb: functions of what :)
<samueldr> builtins? nixpkgs lib?
<eyJhb> attrsets.*
<colemickens> eyJhb: I think there is :doc now in the repl, according to the nixos/nix issue I've been skimming
<eyJhb> builtins
<eyJhb> Everything basically
<eyJhb> `error: unknown command ':doc'` :/
<eyJhb> Basically the most common commands, you might need. Those in the manual as well etc.
<eyJhb> AS I stated before, something like this - https://sm.alliedmods.net/api/ :p Or go the Godoc way
<samueldr> the lib.* funtions are all in the manual, though the size of the page makes it awkward
<eyJhb> Would be cool as well
<colemickens> oooh if search.nixos.org also searched builtins,lib,nixpkgs.lib, I would be soo happy.
<samueldr> which this is currently stalled on the big bike shed
<eyJhb> It won't load because it is so heavy sometimes samueldr , or takes forever
<samueldr> colemickens: check in the repo's issues, if it's not there open an issue
<samueldr> eyJhb: yeah, thus "awkward"
<eyJhb> Yeah
<colemickens> samueldr: search.nixos.org is still in nixos-homepage?
<samueldr> eyJhb: we had a split-up version earlier this year^W^W last year going,
<samueldr> colemickens: no, its own repo
<samueldr> (linked at the bottom of the search page)
<colemickens> kk found it
<eyJhb> Yeah, I saw that :D
numkem has quit [Quit: The Lounge - https://thelounge.chat]
<eyJhb> If I had more hours in the day
<samueldr> eyJhb: but it got stalled out with prejudice because of the docs kerfuffle
<eyJhb> But I am only getting fewer and fewer atm.
numkem has joined #nixos-chat
<eyJhb> kerfuffle?
<samueldr> >> a commotion or fuss, especially one caused by conflicting views.
<eyJhb> Ah
<eyJhb> Also
<eyJhb> ` virtual.Image = virtual.Image` wth
<eyJhb> 10/10 for that code
<samueldr> when you want to be sure your image is virtua
<samueldr> virtual*
<bqv> Aren't there like 3 different manuals, all with different content
<samueldr> bqv: yes
<eyJhb> I had this
<eyJhb> if !strings.Contains(virtual.Image, "/") {
<eyJhb> virtual.Image = fmt.Sprintf("%s:%d/%s", d.ServerIP, svcsregistry.RegistryPort, virtual.Image)
<bqv> I've never found it easy to lookup things
<eyJhb> } else {
<eyJhb> virtual.Image = virtual.Image
<bqv> So bloody confusing
<eyJhb> }
<bqv> Sorry eyJhb
<colemickens> eyJhb: wait whats your GH handle? I'll cc you? or just send you the lik
<eyJhb> THe documentation for nixos, is mostly in the .nix files.. Is where I find it
<{^_^}> nixos-search#160 (by colemickens, 7 seconds ago, open): Add a new tab to search builtins/lib/nixpkgs.lib
<eyJhb> colemickens: eyJhb :p
<bqv> Yeah its almost always easier to just search the repo
<samueldr> bqv: get in line :) all stalled out for the time being, hopefully by next release things are going to have it done
* colemickens sees the gitbook commits :
<bqv> O?
<colemickens> I guess mdbook, but this PR keeps getting new commits from time to time: https://github.com/NixOS/nix/pull/3857
<{^_^}> nix#3857 (by edolstra, 4 weeks ago, open): Convert manual to Markdown
<eyJhb> What is it currently?
<eyJhb> xml?
<bqv> wasn't ReST the goal?
<colemickens> (please note I have not kept up with any of the docs discussions and any opinions I have held have changed a few times so...)
<samueldr> bqv: go read the RFCs
<bqv> Theyre longer than the manuals
<samueldr> yeah
<samueldr> if you were only on IRC, you're only having a quarter of the discussion, if not less
<samueldr> eyJhb: the current implementation is still docbook
<bqv> That's why I rely on people to parrot the important stuff :p
<samueldr> bqv: or cherry-pick what they want :)
<eyJhb> Still more informed than Trump.
<bqv> Lmao
<cole-h> Nice, Twitter is ded
<cole-h> Oh, guess not
<cole-h> Guess it's just broken for me
<samueldr> so, the TLDR of the docs status is that the RFC for choosing a doc format closed inconclusively with the conclusion that an RFC that proposed a specific format had to be opened
<samueldr> building on the knowledge of the RFC for docs choosing a new RFC is now open selecting *a format only*
<samueldr> well, proposing markdown, and is currently in FCP
<colemickens> eyJhb: btw, this is what I was referencing earlier: https://github.com/NixOS/nix/issues/3904 not sure if its at all interesting to you
<{^_^}> nix#3904 (by lf-, 2 weeks ago, open): Feature: add `:doc` command to nix repl
<colemickens> cole-h: there was hope, but for a brief moment
rajivr has quit [Quit: Connection closed for inactivity]
<bqv> Lol
<bqv> samueldr: disposition merge?
<samueldr> bqv: what do you mean?
<bqv> samueldr: Whats the fcp disposition?
<bqv> Is the rfc looking positive?
<bqv> Neato
<bqv> Markdown ho
<ldlework> Man, Wolfram blowing my mind right now.
<srhb> The person? Always up for new juicy crackpottery!
<bqv> `fatal: you are on a branch yet to be born`
<bqv> i'm sorry?
<srhb> bqv: zero commits? :P
<bqv> ah, no, i just got a submodule into a broken state
<srhb> Oh, fun!
<bqv> hah, so it is possible, you can have the repository you're in as a submodule of itself
<cole-h> lol
<bqv> now to delete this cursed directory before it breaks something
cole-h has quit [Quit: Goodbye]
<pie_> clever: you had something for not using squashfs for (container?) images?
<pie_> problem again is they take annoyingly long to generate
<{^_^}> bqv: I'll pass that on to cole-h
<pie_> i never got around to doing the thing last time
<bqv> why thank you, bot
<taktoa[c]> I think clever went to bed
<bqv> intelligence never sleeps
<taktoa[c]> lol
<bqv> hooray, home manager is now a flake!
Jackneilll has quit [Ping timeout: 258 seconds]
Jackneilll has joined #nixos-chat
__Sander__ has quit [Quit: Konversation terminated!]
<elvishjerricco> Playing with zrepl now. There's a lot of documentation, but there is no documentation on the `status` subcommand -_- So now I have to read a bunch of Go code. And dear lord reading Go is awful.
xd1le has quit [Read error: Connection reset by peer]
xd1le has joined #nixos-chat
julm has quit [Quit: reboot]
julm has joined #nixos-chat
<bqv> how bizarre.. nixpkgs-wayland seems to break my eval
<colemickens> I blame anyone else.
<bqv> colemickens: i can, with nixpkgs#nixUnstable, reliably crash nix, and the file it stops eval on is your flake
<samueldr> colemickens: sounds good
<colemickens> cole-h: (I think I got distracted and forgot to come back)... I bet you could totally modify flake.nix to have the 'beta' attribute btw. I could give you pointers for it if you wanted. Otherwise if you open an issue I'll do it sometime in September.
<energizer> is there a program to change pitch of audio playback?
<worldofpeace> bqv: oooh yay!
<bqv> i mean it's undeniably a nix bug, but it always stops exactly at that pkgs/obs-studio/default.nix file, and has a really spooky effect on my pc (i think it actually puts all my cores at 100% or something, which is fucking impressive)
<bqv> worldofpeace: :D
<worldofpeace> energizer: yes, it's called a pitch shifter
<bqv> audacity can probably do that
<energizer> can i do it to live audio?
<bqv> with ffmpeg or something, probably
<worldofpeace> energizer: pulseeffects will work on the output sinks with what I think is the ladspa rubberband pitch shifter
<bqv> well this sucks. i can't eval :(