gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<lovesegfault> bbigras: Oh, interesting
<lovesegfault> it didn't overwrite my resolv.conf
<bbigras> maybe try restarting the service
<bbigras> I'm not sure but it's possible if you reboot that the resolv.conf will not be overwritten.
<bbigras> like if tailscale starts before resolved or something
<bbigras> when it's overwritten (overridden?) you should see the 100.100... dns
mtr has quit [Quit: WeeChat 2.9]
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-chat
<infinisil> infinisil vs super spicy ramen: Round 2
<lovesegfault> I mean, I manually added that to my unbound config bbigras
<lovesegfault> I made it _only_ point to 100.100.100.100 for DNS
<lovesegfault> and I clear the cache and disabled DNSSEC
<lovesegfault> but that just completely broke my DNS :D
<bbigras> resolv.conf has 127.0.0.1 or something for unbound?
<energizer> what does all this fancy dns stuff buy you?
<lovesegfault> bbigras: yup
* infinisil has used dilution
<bbigras> magicdns is to connect to your phone with just its host. like "phone"
<lovesegfault> ^
<lovesegfault> from anywhere b/c tailscale
<bbigras> infinisil: the 2x ramen or the regular one? well both are too much for me.
<energizer> but that's just tailscale, not systemd-resolved or unbound
<energizer> right?
<infinisil> bbigras: 2x ramen?
<bbigras> I wonder if /etc/nsswitch.conf has "resolve" (which is for systemd-resolved), if it will obey the nameserver in /etc/resolv.conf
<bbigras> infinisil: https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcQFzEt-yiu0LdRkBK6P-eDf1NZYOI0W9cqwMseHlX2ufWmwO85HqQ&usqp=CAc
<samueldr> infinisil: gotta dilute that water down with ramen
<infinisil> Ah no it's not that one, there's many kinds in my local shop :)
<jtojnar> supersandro2000: Added --exclude flag https://github.com/jtojnar/nixpkgs-hammering/pull/9
<{^_^}> jtojnar/nixpkgs-hammering#9 (by jtojnar, 1 hour ago, open): Move printing of messages to the tool
<lovesegfault> energizer: tailscale gives you the VPN
kalbasit has quit [Remote host closed the connection]
<lovesegfault> it also has this magic DNS feature
<lovesegfault> but we don't know how to set it up
kalbasit has joined #nixos-chat
<infinisil> samueldr: Not sure about that!
<infinisil> Dilution wasn't very effective..
<samueldr> isn't water not really effective against capsaicin because of how it's an oil?
<bbigras> yeah put milk in the ramen
<samueldr> make it with hot oil
<samueldr> (carefully)
<bbigras> lovesegfault: is systemd-resolved active on your system? maybe run resolvectl to check what it uses as dns servers
<bbigras> when I tested magicdns earlier. I was able to resolve a host with nslookup but not with ping.
<infinisil> samueldr: From the intermediate value theorem, dilution should help
<bbigras> I wonder if ping used systemd-resolved
<adisbladis> infinisil: Dilute it with more chili
<bbigras> we need an adult
<infinisil> adisbladis: Not sure about that one either!
<samueldr> how cute, using maths against chemistry and biology
<samueldr> :)
<samueldr> in other news
<samueldr> new google feature to hate soon
* colemickens randomly throws out that nscd is often a source of dns headaches for him
<adisbladis> infinisil: Always works for me ;)
<samueldr> looks like this new feature is about "drilling down" into a subject
<energizer> samueldr: tbh i'm glad interfaces are starting to use the miles of horizontal whitespace
<samueldr> oh, it wasn't about the design
<samueldr> it was about how it's going to try again to "understand" things
<bbigras> nscd is the thing using /etc/nsswitch.conf ?
<samueldr> which, we've seen it's far from being able to
<energizer> ionno, it certainly understands a lot of things
<energizer> not everything of course
<bbigras> I like asking google questions like "when was time game released"
matthewcroughan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<samueldr> it *infers* a lot
<samueldr> but too much
<samueldr> and context is often EXTREMELY lacking
matthewcroughan has joined #nixos-chat
<samueldr> like I was searching something about financial stuff, and its answer used the "bad example" section of an article as if it was an answer
<energizer> heh
<samueldr> people are trusting this to give actual answer
<samueldr> this is terrible
red[evilred] has joined #nixos-chat
<red[evilred]> colemickens (IRC): Good move. I threw nscd out back with Solaris 2.6 :-P
<energizer> not exactly novel for a website to give a wrong answer
<energizer> i think we're pretty well accustomed to that by now
<gchristensen> bbigras: glibc looks at nsswitch.conf
<gchristensen> nscd looks at nscd.conf
<bbigras> what uses nscd?
<gchristensen> glibc
<bbigras> thanks
<gchristensen> I've had to Learn Things lately about this stuff
<bbigras> I remember seeing something about nscd while using sssd to join an active directory domain.
<gchristensen> yeah thats the sort of goop I've had to learn about ....
* bbigras thinks about baiting gchristensen into trying tailscale's magicdns to make him solve our problems for free.
<energizer> doesnt d anderson use nixos
<energizer> he'll probably do it
* gchristensen slinks out the back before the opportunity arises
<bbigras> haha
<bbigras> I think I saw a bug report for nixos+magicdns from him
<bbigras> I think he had a special case
<infinisil> This was a good fight, but the ramen has been defeated
<gchristensen> fwiw the issue I've been fighting with is having to recompile everything if you want to integrate with ldap in some specific way
<{^_^}> tailscale/tailscale#631 (by danderson, 17 weeks ago, open): DNS reconfig fails when using systemd implementation of resolvconf
<bbigras> oh. like ssh and login (pam?) works with sssd but not other apps like gdm?
<bbigras> "Gitea v1.13.0 is released - Includes Kanban Issue Boards" uh. we mentioned gitea today.
<cirno-999> noob question; what does 'collision between' (in nix store) really mean?
<energizer> two files with the path
<energizer> two files with the same path
<cirno-999> mmm, still don't get it
<cirno-999> collision between `/nix/store/6j3xqf34j7aqqbbir5lhfxrn1jpfimnm-libva-1.7.3/lib/libva.so' and `/nix/store/y4z73amcdggqinchni9fdz0w90v9fi4k-libva-2.8.0/lib/libva.so'
<cirno-999> they have diff paths, no?
<energizer> idk
<samueldr> (hi, support is not in the off-topic channel :))
<energizer> #nixos is the place for support tho
<samueldr> oops, sorry for the echo
<cirno-999> okay ;D
<cirno-999> (was not really support as I don't have an issue, was just curious~)
<samueldr> it has to do with the "profiles" stuff in Nix though
<samueldr> profiles smushes together multiple derivations and it turns out there's a collision between two paths, here lib/libva.so
cole-h has quit [Ping timeout: 240 seconds]
<gchristensen> til ~/.ssh/rc
<lukegb> whu
<lukegb> huh
<samueldr> echo exec true > ~/.ssh/rc
<samueldr> good way to break a system in a sysadmin torture situation
<gchristensen> haha
<samueldr> obviously the ticket should be "$SERVER does not work"
rajivr has joined #nixos-chat
NinjaTrappeur has quit [Ping timeout: 260 seconds]
<gchristensen> oh cool
<gchristensen> it runs before your shell is started
<gchristensen> so you could use it to setup transient mounts and stuff
<gchristensen> but not break your shell
<samueldr> does it run the script "as a script" or is it forced into a shell?
<samueldr> e.g. `#!/path/to/brainfuck-interpreter` would work?
<gchristensen> it is executed by `sh` according to man sshd
<samueldr> aw
<gchristensen> bummer indeed since an unknown executable defaults to sh anyway in the kernel ...
<samueldr> it could still be bad documentation
<abathur> _speaking of shebangs_
<samueldr> hi
<abathur> I've been summoned
<abathur> from my shebang lair
<samueldr> what fun things have you got for us?
<gchristensen> snprintf(cmd, sizeof cmd, "%s -c '%s %s'",
<abathur> I really wish there was like a compendium of unique shebangs, I'm betting there are some cool ideas out there that are just hard to search for
<gchristensen> shell, _PATH_BSHELL, _PATH_SSH_USER_RC);
<samueldr> gchristensen: no!
<samueldr> the shell is way too entrenched for my tastes
<samueldr> and they say systemd has its 10 tackles deep into everything
<samueldr> more and more I think everything is just glued together to /bin/sh *incidentally* and *accidentally*, so not even by design
<gchristensen> that is why my /bin/sh logs everything that calls it
<samueldr> /bin/sh should be a wrapper that, yeah, logs things, and sleeps at start
NinjaTrappeur has joined #nixos-chat
<gchristensen> sleep? aggressive, cruel, I like it
<samueldr> can't really output to stdout or stderr as _will_ break something
<abathur> so, in my shebang-lair, I'm trying to figure out how resholve should solomon the shebang-baby, and I'm starting to think: 1) it's an error to have a shebang, unless resholve writes it; 2) it's an error to *not* have a shebang, unless you tell resholve there shouldn't be a shebang; 3) resholve has options to strip off a shebang or specify a new interpreter by absolute path
<samueldr> why would there be no shebang?
<samueldr> could it simplify your job to remove the option of not having a shebang?
<samueldr> resholve HAVING to write a shebang
<abathur> well
<abathur> for context, I'm thinking about resholve having to write the shebang as an annoying alternative to resholve trying to parse the existing shebang
<abathur> i.e., it *may* be easier to match the first N #! lines, strip them, and write a new shebang per instruction than to try and parse the existing shebang and resholve it
<samueldr> isn't a shebang supposed to *only* be the first line and first chars of the file?
<samueldr> #! nix-shell is nix itself parsing that
<abathur> right, and that's getting at my qualm
<samueldr> nix-shell reads all the file
<abathur> i.e., resholve trying to do something simple and consistent that squares with what a user might expect
<samueldr> you can put that at the end of your file if you want
<abathur> that's even more horrifying :)
<samueldr> it could be part of a string!
<samueldr> something like <<EOF\n#! nix-shell -p something\nEOF
<samueldr> since, obviously, nix-shell doesn't know about the actual file format
<samueldr> so if you try to make a generator script that uses nix-shell, to output something using nix-shell, it can be weird!
<abathur> nod
<abathur> I don't know how common the multiline shebang stuff is in practice
<abathur> I know shlevy's project exists, and there's one in the spack ecosystem
<samueldr> I don't either, what's more common is tools re-reading the top line shebang
<abathur> I'm honestly not super concerned about the multiline
<abathur> but yeah
<gchristensen> I think only nix-shell does the multi-line thing... and it is not a good idea ... :x
<samueldr> why isn't it a good idea?
<gchristensen> well I should say instead that I don't think it is a good idea
<samueldr> reproducibility-first, not a great idea, sure... and perfs-wise, it sucks
<samueldr> but it's really convenient
<gchristensen> it lets you inject arbitary code in to a script if you can control anything enough to put a \n in it
<samueldr> and even about reproducibility, you can make it reproducible with just enough care by pinnng
<samueldr> if you generate a script with user input, then execute it through nix-shell. right?
<gchristensen> yea
<abathur> my concern is avoiding having to do a full shell parse of the shebang to handle something like #!/usr/bin/env HOME=/awshucks letsgetweird
<gchristensen> ack
<abathur> so I'm thinking of strict/simple/dumb ways to get what the user needs (a correct shebang!) without having to be too smrt
<gchristensen> maybe "oops don't do that" is thebest choice here
<abathur> so I lean towards something like "make having a shebang an error (unless they specify a replacement shebang)", because then all resholve has to do is recognize leading #! lines
<abathur> oops don't do which? :)
<{^_^}> systemd/systemd#17778 (by ssahani, 2 days ago, open): timesync: Introduce network time security protocol
<bbigras> the last version of chrony that we have supports NTS but I would prefer using systemd
lassulus has quit [Ping timeout: 256 seconds]
matthewcroughan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<ashkitten> hmmm if steam runtime 2 (soldier) is using its own containerization method, i wonder if nixos will be able to just use that directly like other distros
matthewcroughan has joined #nixos-chat
<samueldr> wasn't there a nod towards that in their gitlab recently?
<samueldr> I seem to recall someone linking to that
lassulus has joined #nixos-chat
lassulus has quit [Ping timeout: 256 seconds]
patagonicus4 has joined #nixos-chat
patagonicus has quit [Ping timeout: 260 seconds]
patagonicus4 is now known as patagonicus
<ashkitten> samueldr: i think so
<ashkitten> does anyone know if steam input controller emulation outside of steam itself is functional?
<ashkitten> i don't know if it's worked since we switched to bubblewrap for steamrt
lassulus has joined #nixos-chat
lassulus has quit [Ping timeout: 246 seconds]
lassulus has joined #nixos-chat
lassulus has quit [Ping timeout: 256 seconds]
lassulus has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
endformationage has quit [Quit: WeeChat 2.9]
<bbigras> https://github.com/NixOS/nixpkgs/pull/105746 oh I didn't know 0.14 was out
<{^_^}> #105746 (by marsam, 2 hours ago, open): terraform_0_14: init at 0.14.0
<samueldr> this is somewhat imposing https://www.aliexpress.com/item/4000929927333.html
kalbasit has quit [Ping timeout: 256 seconds]
nullheroes has quit [Ping timeout: 256 seconds]
neeasade has joined #nixos-chat
<lovesegfault> samueldr: that is pretty imposing :D
nullheroes has joined #nixos-chat
nullheroes has quit [Ping timeout: 240 seconds]
nullheroes has joined #nixos-chat
<sphalerite> ha, I like it
<sphalerite> wait, you can snap the top off to make it fit in a low-profile desktop? hahaha even bette
<sphalerite> r
<sphalerite> https://www.aliexpress.com/item/4001289486725.html lol 8-bay home storage chassis
<srhb> sphalerite: IPFS ready no less!
<srhb> It's like VR ready cases.
<srhb> (Or does that acronym have more meanings...)
<bbigras> haha
<sphalerite> srhb: not that I know of. But I guess a lot of storage does make sense for IPFS stuff.
<srhb> Sure. :P The marketing is just ridiculous.
<sphalerite> I think it's mostly about search terms. I would be surprised if people do actually search for IPFS on aliexpress, but… people do often surprise me with their weirdness
<sphalerite> https://www.aliexpress.com/item/4000884004501.html wow this looks kind of cool but also ergonomically terrible
<sphalerite> Help I'm stuck on aliexpress again.
<srhb> xD
NinjaTrappeur has left #nixos-chat ["WeeChat 2.9"]
cole-h has joined #nixos-chat
lassulus has quit [Quit: WeeChat 2.7.1]
<supersandro2000> jtojnar: thanks. I will tell you how it works
FRidh has joined #nixos-chat
lassulus has joined #nixos-chat
thibm has joined #nixos-chat
<eyJhb> And we never saw sphalerite again.
<supersandro2000> I don't know if nixpkgs-hammer works now correct or not
<supersandro2000> When evaluating attribute ‘terraform-full’:
<supersandro2000> No issues found.
<supersandro2000> but at least it is not complaining about the ordering anymore with every package
FRidh has quit [Ping timeout: 260 seconds]
<eyJhb> supersandro2000: how do you pick the PRs that you do nixpkgs-review on?
<supersandro2000> eyJhb: all except update bot on amd64
<supersandro2000> *all that I review
<supersandro2000> and I look at the ogborg labels. If the PR has zero changes for a platform I don't run it on there
<thibm> aoc day 3 done, still in Nix :)
<thibm> The complexity is still not to high to bother optimise the solution
<etu> thibm: Wow :D
<eyJhb> supersandro2000: so just something like - https://github.com/NixOS/nixpkgs/pull/105770
<{^_^}> #105770 (by r-ryantm, 2 hours ago, open): pianobar: 2020.04.05 -> 2020.11.28
<eyJhb> What are you using to build?
<supersandro2000> eyJhb: yeah but my machine is not there yet
<supersandro2000> eyJhb: a PC with Linux on it 5 cm next to me
<eyJhb> "not there yet", meaning you have queued a lot of builds?
<eyJhb> Meant more in terms of specs :p :D
lassulus has quit [Ping timeout: 240 seconds]
lassulus has joined #nixos-chat
cole-h has quit [Ping timeout: 256 seconds]
lassulus has quit [Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
<supersandro2000> I want to do a lot more
<supersandro2000> older Intel 4 core
<eyJhb> I am tempted to running a bunch of nixpkgs-review once I arrive at uni. I just have a hard time picking them out
<eyJhb> https://github.com/NixOS/nixpkgs/pull/105774 such a PR would be fun, 500+ rebuilds
<{^_^}> #105774 (by r-ryantm, 1 hour ago, open): libpulseaudio: 13.0 -> 14.0
<supersandro2000> yeah, I won't build that
<eyJhb> It should be fairly doable with what I have at uni
<supersandro2000> if you run more than one pr at once make sure to not pick ones that introduce new packages
<supersandro2000> those will fail the nix-shell
lassulus has joined #nixos-chat
<eyJhb> Damn, it seems like they have downgraded my instance, wth
<eyJhb> I will make sure of that :) New packages generally also need more reviewing
FRidh has joined #nixos-chat
<eyJhb> Well, I will find out in a moment
<srk> eyJhb: that one looks fun, cache queries were like 7MiB. stopped it at [0/13246 built, 6/0/9377 copied (726.7/127212.8 MiB), 224.2/58541.1 MiB DL]
<srk> ,random-pr
<{^_^}> https://github.com/NixOS/nixpkgs/pull/83871 (by edolstra, 35 weeks ago, open): documentation.nixos.enable: Default to false
<thibm> BTW, where is the documentation for "1/10/26 built" and/or what does they mean?
<thibm> (it's obvious for 2 numbers, but 3? current/done/total?)
<srk> yeah, I think so
lassulus has quit [Ping timeout: 246 seconds]
<srk> I still prefer nix-build output as nix build hides the list of the derivations that need dling / building
<thibm> Yeah it's kinda obvious after all
<infinisil> thibm: No idea, but it won't be necessary to know in the future: https://github.com/NixOS/nix/pull/4296
<{^_^}> nix#4296 (by edolstra, 1 day ago, open): Progress indicator improvements
<infinisil> srk: This also improve that ^ :)
<thibm> Yeah I heard about that
* thibm looking at the asciinema
<thibm> wow
da_dada has quit [Ping timeout: 272 seconds]
<srk> infinisil: sort-of, it still won't show you the list upfront :)
da_dada has joined #nixos-chat
<thibm> you have the 'r' key
<thibm> Maybe you can configure it to show the list upfront
<srk> maybe
<thibm> I like the ability to increase/decrease verbosity while the command is running
<srk> it's pretty nice feature of old nix-build as I often stop builds when the list is too long or contains weird deps
<vika_nezrimaya> we have a ,random-pr commanhd?
<vika_nezrimaya> wow
<vika_nezrimaya> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<vika_nezrimaya> ,
<{^_^}> Special commands: find tell locate expand inclusive-language random-pr permalink - Commands sorted by use count, page 0 (use ,<n> to view page <n>): help libraries channels ping paste escape'' -a escape" library overlay ifd pinning botsnack profiling unfree ask which-channel xml imperative xy fancy-uninstall tofu wololo nixlang++ pointers cache pills commands home-manager runtimedeps thesis invite stateversion exec unstable matrixbridge
<thibm> srk: Yeah do the same
<vika_nezrimaya> ,inclusive-language
<{^_^}> Can only be used in PMs: ,inclusive-language #<channel> <user>: Anonymously send a PM to a user saying "Hello and welcome to #<channel> 👋. We'd appreciate when you address the whole channel using all inclusive words such as; everyone, all, folks, y'all, youz, or fellow humans. Thank you and enjoy your stay! <This is an anonymously sent, pre-written message. If you have any questions, feel free to ask in #nix-diversity>"
<thibm> ,define random-pr = 104920
<srk> vika_nezrimaya: please use /q {^_^} :)
<vika_nezrimaya> ok
<srk> ,random-pr
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63916 (by tadeokondrak, 1 year ago, open): nixos/synapse-bt: init
<eyJhb> ...... They resized my host from 32 cores and 256 GB ram to 2 cores and 16 GB ram, without notice
<LinuxHackerman> "they"?
<infinisil> LinuxHackerman: Hm?
<LinuxHackerman> who are "they" in eyJhb's message :p
<eyJhb> LinuxHackerman: University :p
<infinisil> Ah
<LinuxHackerman> very nice of them
<eyJhb> I got access to a machine at uni we use for simulation and stuff, but suddenly they just... Resized it, and I cannot resize it back as I get a error
<srk> eyJhb: other peoples computers :D
<eyJhb> LinuxHackerman: yeah :p Always fun... Especially when we have a guidance meeting soon :p
<eyJhb> srk: true... :(
<insep_> i liked today's task
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
<thibm> Trying to setup a project with conda (to compare what I get compared to new Nix packages): it breaks.
<thibm> at list it fails consistently on a Ubuntu box and a CentOS box :>
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
lassulus has joined #nixos-chat
supersandro2000 has joined #nixos-chat
<eyJhb> I think I have found the thing I hate the most, writing configs in .ini files, which are somewhat complex...
<sphalerite> > (pkgs.formats.ini {})
<{^_^}> { generate = <CODE>; type = { _type = "option-type"; check = <CODE>; deprecationMessage = null; description = <CODE>; emptyValue = <CODE>; functor = <CODE>; getSubModules = <CODE>; getSubOptions = <CO...
<sphalerite> eyJhb: ^ :p
<eyJhb> Tempted, so tempted! But the problem here is also, that the order of these things in the config I am doing, are magic. Also...
<eyJhb> I mean, look at this - https://termbin.com/1f00
<infinisil> Ew
<infinisil> The heck is this
<srk> iniDSL
<hexa-> infiniDSL?
<eyJhb> This ... Oment++ ini files used for simulation! And it is , ew*\infty
<eyJhb> It is super ew. I miss normal stuff
<eyJhb> Whoops - https://termbin.com/0sfwa
evalexpr has quit [Remote host closed the connection]
evalexpr has joined #nixos-chat
vika_nezrimaya has quit [Ping timeout: 256 seconds]
<thibm> aerc seems nice though
<thibm> I used it a bit, but not as my main mail client
<eyJhb> thibm: I want to use it as a main client, but the version in nixpkgs is outdated, and there is a PR to update it. But it is having some issues I guess
<eyJhb> Seems cool! As I do not want to deal with mutt....
<thibm> Well that's one of the reasons I like Nix: it's (usually) easy to update the pakage yourself and/or use a non-yet-merged PR.
<gchristensen> call for help: if anyone wants to help me / #nixos-infra with some problems with the builders, here are some issues that are fairly small and should be easy enough to work on: https://github.com/grahamc/packet-nix-builder/issues
<eyJhb> Yeah, but there is ... Other stuff and things wrong. I am not sure why this would only affect NixOS however
<thibm> eyJhb: Yeah it's pretty cool. Like it's doing tmux-like stuff: when you compose a mail, you have a few lines on the top (opened mailbox, To:, Subject:, From:) and your editor on the bottom
<eyJhb> Yeah, I quite like it. And holy hell it was easy to get working + Go <3
<thibm> It's a game changer compared to mutt which just invokes your editor (and you loose access to all the mails meanwhile)
<eyJhb> gchristensen: cool! I will look at it if I get the time :D
<gchristensen> of course :)
Jackneill has quit [Ping timeout: 260 seconds]
Jackneill has joined #nixos-chat
lassulus has quit [Quit: WeeChat 2.9]
mtr has joined #nixos-chat
lassulus has joined #nixos-chat
<cirno-999> I love nixos~~
rnea has joined #nixos-chat
<supersandro2000> ping
Jackneill has quit [Quit: Leaving]
<supersandro2000> I think my IRC client died because I did git gc on the nix repo
waleee-cl has joined #nixos-chat
<supersandro2000> and it didn't even succeed
red[evilred] has joined #nixos-chat
<red[evilred]> Good Morning !
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-chat
<cirno-999> hiya
<thibm> cransom: what path led you to implicitcad?
<cransom> seeing the merge notices slide by in #nixos :)
<thibm> OK, I was curious because I discovered it today too and didn't remember how :)
aranea has quit [Changing host]
aranea has joined #nixos-chat
<cransom> i think i might have seen it much longer ago, but i didn't pay much attention because it had some weird rendering bugs.
<srk> the engine was completely rewritten and it works quite well now
<srk> lots of work going into Haskell eDSL usability atm
<thibm> (Wait, the PR was opened 20 minutes ago so I found it elsewhere)
vika_nezrimaya has joined #nixos-chat
<lukegb> supersandro2000: oof
<lukegb> run nix operations in a cgroup with less RAM? :^)
<lukegb> systemd-run --user --scope -p MemoryLimit=3G git gc? or something? I give up, systemd-run is exciting.
<Taneb> I've been trying out lorri in anger lately and it's pretty neat
<srk> there's also a openscad like QT gui for implicit - https://github.com/kliment/explicitcad/ (you can find nix files in a PR)
<Taneb> Although I would like it to be a little... more visible? what the build status of the env is
<crazazy[m]> is it me or are the AoC challenges getting easier?
<Taneb> crazazy[m]: give it a week or so then look at the trend. 3 items is not enough data to go on for something as subjective as easier
<Taneb> Unless you mean, "compared to previous years"
<crazazy[m]> oh ok
<crazazy[m]> also i feel like im reaching the limits of where I can use my `quickElem = f: xs: let i = elemAt xs; in f i` helper function
<crazazy[m]> highlight of today: https://i.imgur.com/svnsjeN.png
<hexa-> a week in last year they did graph things
<supersandro2000> lukegb: I should wrap nix around this
<bbigras> ah crap. I test to test a game with steamplay. I hope it works in a virtual machine.
<supersandro2000> I have no SWAP and my VMs dies again
<supersandro2000> can I limit CPU with that, too?
<lukegb> yeah
<supersandro2000> and create a builder scope? Like nix can use 8 GB and 4 cores but nothing more across those 5 commands?
<lukegb> I mean, for that you probably want to override the unit file for the nix daemon
<supersandro2000> I just limited the jobs amount
<supersandro2000> RAM is mostly used by nix iteself
<supersandro2000> and I would like to blacklist the building of tensorflow and torch
endformationage has joined #nixos-chat
<supersandro2000> so I want a slice with the ressource limits and then start my nix review in a scope systemd-run
rnea has quit [Ping timeout: 260 seconds]
cjpbirkbeck has joined #nixos-chat
cjpbirkbeck has quit [Client Quit]
kalbasit has joined #nixos-chat
rajivr has quit [Quit: Connection closed for inactivity]
<pie_> oh this is new to me <srk> there's also a openscad like QT gui for implicit - https://github.com/kliment/explicitcad/ (you can find nix files in a PR)
<pie_> no screenshoit :C
<srk> pie_: I'm still working on https://github.com/sorki/implicitpipe/ .. nearly usable :)
da_dada has quit [Ping timeout: 240 seconds]
da_dada has joined #nixos-chat
vika_nezrimaya has quit [Remote host closed the connection]
<bbigras> lovesegfault: I seem able to use nix-build-uncached with flakes now. All I need to figure out now is how to import my secrets conditionally.
<lovesegfault> :D
<lovesegfault> secrets are the main annoyance with keeping an OSS nix config
<bbigras> yeah
<joepie91> pie_: oh hey I know Kliment
<joepie91> at least, I assume it's the same one
<f0x> joepie91: yes :) https://github.com/kliment/catws
<joepie91> heh
<joepie91> that does sound like our kliment
<f0x> that's the purring cat smd board he did the workshop with
kalbasit_ has joined #nixos-chat
<joepie91> aha
kalbasit has quit [Ping timeout: 240 seconds]
<srk> I only know he wrote pronterface :)
<f0x> this board, it purrs and eyes light up if you stroke across the round pads correctly
<joepie91> ha, nice
<srk> <3
<f0x> it definitely made tiny smd a lot more accessible, showing the basics of stenciling/solderpaste, then placing parts with tweezers, then simple reflow on a super cheap hotplate
<srk> cool. I've built reflow owen from cheapo toaster owen few years ago
<f0x> i've done some things on my own 12 eur hotplate now
<f0x> also designed a whole bunch of boards, KiCad is great when you learned to use it
<srk> yeah, this toaster owen was like 20 eur. +SSR, PT100 and F4 control board
<f0x> and routing is way too fun of a puzzle hehe
<srk> IRL planarity
<srk> I've used Freerouting before but now I route most stuff by hand
<f0x> yeah haven't bothered with any auto routing
<srk> freerouting is/was pretty good for simple things. or at least checking that the board is actually routable (in case of single sided ones)
<f0x> ^^ last complex board
<srk> cool!
<bbigras> it's pretty
<srk> what's the deal with black boards .. :D
<f0x> aesthetics!
<joepie91> srk: just wait, the upcoming hype is full-colour printed boards
<f0x> much much nicer than green soldermask
<srk> hah
<joepie91> (I'm serious :P)
<srk> joepie91: how?
<f0x> UV printing
<joepie91> srk: I don't know how the process works exactly, but I've seen a few full-color boards now
<f0x> oh and super tiny USB-C PD power board to get 20v
<f0x> the tamafoxi (bigger board i sent first) was basically my only pcb where I made myself not optimize for size..
<f0x> srk: neat, I've been meaning to do something with STM's.. but the ESP32 is just so much nicer to have WiFi
<srk> yeah, I don't even do USB, only CAN comms
<srk> made a few esp8266 based boards but I don't like their toolchain
genevino has quit [Remote host closed the connection]
<srk> ESP32 is pretty powerful for the prize tho
genevino has joined #nixos-chat
<srk> reminds me I need to finish and release nodemcu-manager for these :D
<lovesegfault> Since you're a flaky boi now you might not need this :D
<lovesegfault> Man, I really need to learn how to become a flaky buoi myself
<bbigras> thanks!
<bbigras> you could check my diff. I'll squash my commits.
<lovesegfault> That'd be helpful
<lovesegfault> let me go look
<bbigras> I'm pushing the commits right now. I'll link
* lovesegfault waits
<joepie91> lovesegfault: becoming a buoy seems inadvisable :P
genevino has quit [Remote host closed the connection]
<lovesegfault> The fact that we both share >=90% of our config makes me really wonder whether a better way to have a shared "nix-sensible" exists
<lovesegfault> or something like that
genevino has joined #nixos-chat
<bbigras> There was someone a while ago who wanted to make easily sharable profiles with flakes. Something like, you want emacs, use this profile.
<bbigras> I wonder if it was possible to use them with heavy customization.
<lovesegfault> bbigras: I'll be posting comments with questions on that commit
<bbigras> lovesegfault: 👍️
kalbasit_ has quit [Remote host closed the connection]
kalbasit has joined #nixos-chat
<bbigras> some things might not make sense haha. I did move stuff around to avoid some infinite recursions. not really knowing why it worked after the change.
cole-h has joined #nixos-chat
<lovesegfault> bbigras: does deploy-rs not have any secrets support?
<bbigras> lovesegfault: I have no idea. I'll check
<bbigras> this was the project I was refering to https://github.com/nrdxp/nixflk
<lovesegfault> Oh, yeah, I've seen that one
<lovesegfault> The only thing I remember disliking was how things were organized
<bbigras> how so?
<bbigras> deploy-rs's blog post doesn't mention secrets. I opened an issue to ask.
<lovesegfault> I don't recall, that's just my mental note
<lovesegfault> Looking at it now, the idea of these user profiles seems kind of useless
<lovesegfault> more likely than not users want their own configs
<lovesegfault> bbigras: how is nixUnstable working for you?
<lovesegfault> When I tried it a while back it was very broken
<bbigras> yeah. maybe some good default could be nice though. For things like emacs, maybe it could be nice to be able to say "I want emacs with rust support" and then you only tweak some specific settings.
<bbigras> lovesegfault: how does it break? when building nix stuff or some apps doesn't work well?
<bbigras> I'm only using it for my devShell, right? I think I didn't use it much. I only deployed to my laptop yet. and only used it for basic thing like browsing.
<bbigras> I had problems running some command like `nix run` but it was either a problem with my prompt (starship) or fish. running it with bash was fine.
<cole-h> lovesegfault: depoy-rs is used in conjunction with their vault.nix module, IIRC
<bbigras> oh yeah. I remember now
<bbigras> thanks
<cole-h> I'm interested in running Vault (so I can partake in gchristensen's exodus from GPG), but haven't had the time to (investigate how to) set it up
<bbigras> those "secrets" are strings like for passwords right? In my case I also want secrets nix config. Like import a list of hostnames for `networking.hosts` that I don't want public.
<cole-h> I think Vault has a "mountpoint" that you set up. You can add arbitrary files to it, so you could potentially `import "/mnt/vault/secret/hostnames.nix"`
<eyJhb> thibm: Are you ready?
<bbigras> cole-h: nice, thanks
<bbigras> Any way to use something like `import "/mnt/vault/secret/hostnames.nix"` with flakes without having to `git add` it?
<cole-h> As long as it's a string and not a path, I think that should just work...
<eyJhb> thibm: https://i.imgur.com/833uPv4.jpg I am the OnePlus One king! Received all four, three of them works the last one has a dead monitor :D So now I have five in total!
<cole-h> Let me verify
<lovesegfault> bbigras: I think copying closures was broken
<lovesegfault> it was a little bit ago
<lovesegfault> cole-h: Oh, nice!
<bbigras> what does "copying closures" mean?
<lovesegfault> nix-copy-closure
<lovesegfault> but in this case I think it was `nix copy` that wasn't working, for whatever reason
<lovesegfault> I didn't bother debugging it, just went back to stable nix
<bbigras> I didn't use it directly but maybe deploy-rs did (I guess it could push with ssh)
<bbigras> hmm `string '../../secrets/at_home.nix' doesn't represent an absolute path`
<lovesegfault> I use it all the time to copy a closure to a beefy server, build it, then copying the outputs back
<cole-h> bbigras: Darn, doesn't work.
<cole-h> bbigras: `./..`
<bbigras> cole-h: oh 😭
<clever> > ../../secrets/at_home.nix
<{^_^}> /var/lib/nixbot/secrets/at_home.nix
<clever> bbigras: paths work best when not quoted
<infinisil> I know people prefer https://framadate.org/ because it's open source, but I'll continue using https://www.when2meet.com/ because its UX is just so much better, and I haven't found anything comparable that's open source
<bbigras> clever: but I'm trying to fool nix flakes. I want those files to be used even if they are not in the git index.
<infinisil> risson: (not that you need to change your meeting poll, but for info ^)
<cole-h> bbigras: Yeah, guess that won't really work with flakes (since it has to copy all referenced paths into the store, and flakes cannot reference paths outside the flake...)
<bbigras> ah. thanks
<bbigras> I wonder if I could make an empty flake and override it on my desktop with `nix flake check --override-input` to make it point to my real secret stuff.
<bbigras> No idea if that flag is doing what I think it does.
<risson> infinisil: I'd prefer to have my own service hosted, but haven't gotten around to host it
<cole-h> bbigras: I think --override-input also updates the lock
<bbigras> cole-h: thanks
<bbigras> oh `nix flake check --impure` tries to include my file
<bbigras> I used an absolute path
<infinisil> risson: Is there something ready to selfhost? Or would you create your own?
<bbigras> is there a magic nix function to get the current directory as an absolute path?
<infinisil> bbigras: ./
<infinisil> > ./.
<{^_^}> /var/lib/nixbot/state/nixpkgs
<risson> I think I saw some interesting solutions for this
<risson> I won't go down the rabbit hole of writing something like this though
<infinisil> Well if you're interested from where Nix is executed, this is going to be impure, but you could use builtins.getEnv "PWD" then
<bbigras> infinisil: oh like cole-h suggested. thanks
<bbigras> > builtins.pathExists "./../../secrets/at_home.nix"
<samueldr> eyJhb: smells like a mobile nixos port?
<{^_^}> string './../../secrets/at_home.nix' doesn't represent an absolute path, at (string):440:1
<samueldr> eyJhb: though :/ armv7l
<cole-h> > builtins.pathExists ./. + "/../../secrets/at_home.nix"
<bbigras> builtins.pathExists ./ + "../../secrets/at_home.nix"
<{^_^}> cannot coerce a boolean to a string, at (string):440:1
<cole-h> > builtins.pathExists (./. + "/../../secrets/at_home.nix")
<{^_^}> false
<bbigras> thanks
<infinisil> That's also a hack to transform an absolute string to a path
<infinisil> > /. + "/some/path"
<{^_^}> /some/path
<infinisil> > builtins.typeOf (/. + "/some/path")
<{^_^}> "path"
<infinisil> :oo
<bbigras> infinisil: nice, thanks!
<bbigras> > (./. + "/../../secrets/at_home.nix")
<{^_^}> /var/lib/nixbot/secrets/at_home.nix
<bbigras> oh it tries to import `/nix/store/h6riyn8rdzkvj3grhj01hngnpsm82lg4-source/secrets/at_home.nix` but those files are not indexed.
<cole-h> Yeah
<eyJhb> samueldr: yeah, sadly. Won't that work?
<eyJhb> I almost got all of them to work btw.!
<bbigras> `builtins.getEnv "PWD" + "/secrets/at_home.nix"` does work. yay \o/
<samueldr> eyJhb: it might work, but there's no binary cache
<eyJhb> samueldr: But I have five OnePlus Ones now, I will make my own buildfarm!
<eyJhb> \s
<samueldr> eyJhb: good luck linking firefox on whatever ram they have :)
<samueldr> (that's another issue with armv7)
<eyJhb> I have curl ! But yeah....
<eyJhb> Are you saying that even if I get ff compiled, it would not run?
<samueldr> firefox is a big boi, with so much stuff built; IIRC the problem is that 32 bit of address space is not enough to fit the compilation unit in memory to link together all the build artifacts
<samueldr> so it might build most of the way, but fail at the end
<eyJhb> How uncommon is the armv7 nowadays for android?
<samueldr> for new devices, extremely as it's now mandated to be 64 bit IIRC
<samueldr> for new "not off-brand devices"
<samueldr> but you could still find some aarch64 devices with armv7l builds of android up to last year
<eyJhb> I think my main issue might be, that at some point apps will not work for my OPO, as there is a lot of SO atm...
<eyJhb> So in a couple of years, I might be really really forced to change :(
<samueldr> most likely
<samueldr> I figure though you're using LineageOS, right?
<samueldr> that at least updates the API level of Android
<eyJhb> Yeah I am, but that doesn't give me an advantage regarding apps. Yeah!
<eyJhb> Else I would have thrown it away
<samueldr> I don't think 64 bit for apps will be mandatory at the same time as it is to get the play store for OEMs
<samueldr> I would guesstimate a couple (2-3) years after maybe
<samueldr> I mean, 64 bit only
<eyJhb> Wondering if I should spend the 18 EUR on a new battery
<eyJhb> Hmm. that seems OK, would be nice if it rounds the 10 years mark first, just for fun
<bbigras> ` INFO deploy::utils::deploy > Success activating!` nice. using flakes on my desktop too now.
<srk> samueldr: not even e-ink display :(
<samueldr> yeah
<samueldr> I was thinking more along the lines of how the CM4 ditched the existing connector
<samueldr> they must have been quite peeved
<samueldr> and then, what's the deal with that not-a-touchpad square?
<srk> :D fun
<srk> e-ink display would make it really interesting
<samueldr> indeed
<srk> but would cost 10 times more I guess
<samueldr> you know the only reason it costs that much is because of their amazing patent game?
<bbigras> I was wrong. Forgot to use impure and locked myself out. Haha
<samueldr> bbigras: nah, you're right
<samueldr> IT is using flakes
<samueldr> YOU are not
<bbigras> Haha
<samueldr> be careful what you ask for
<joepie91> srk: seen m5paper?
<joepie91> also what samueldr said :P
<joepie91> fuck e-ink (the company)
<samueldr> they *might* also be artificially delaying development and exploratory work
<joepie91> I would not be surprised
<joepie91> their pace of development is way too regular
<joepie91> seems very "dosed" to market demands
<ashkitten> i feel like nixos has a pretty big issue with discoverability
<samueldr> (joking) and you _just_ discovered that?
<ashkitten> well, with the dolphinEmuMaster package now including udev rules... how is anyone supposed to figure that out?
<samueldr> who thought that our discoverability issues had discoverability issues? ;)
<ashkitten> yes it's on the wiki page, but...
<ashkitten> :p
<srk> yeah, I've heard about eink patents :(
FRidh has quit [Quit: Konversation terminated!]
<energizer> still >5x the price of an lcd display
<srk> 7.5" for $12 :)
<energizer> wow that's a nice price
<energizer> not loving the dpi tho
<energizer> text hard to read
<srk> energizer: that news display is awesome
dada_da has joined #nixos-chat
da_dada has quit [Ping timeout: 264 seconds]
thibm has quit [Quit: WeeChat 2.6]
<gchristensen> terraform 0.14 upgrades just in time for me to have finished the 0.13 upgrade
<cransom> cue balloon fall and confetti poppers as graham screams and raises his fists at god.
<gchristensen> wow cransom you know me so well
__monty__ has joined #nixos-chat
<bbigras> haha
<bbigras> lovesegfault: oh sorry I just saw the email notification. I replied to all the comments.
<bbigras> bbl
<lovesegfault> bbigras++
<{^_^}> bbigras's karma got increased to 4
<bbigras> 😃
<bbigras> don't hesitate if you have more questions.
<adisbladis> samueldr: Wow
<adisbladis> That "not-trackpad" thing is bizarre
<samueldr> buy a laptop shell from an ODM
<samueldr> see that cut-out
<samueldr> I KNOW, LET'S PUT IN GPIOs!
<adisbladis> I get it :)
<adisbladis> It's just _super friggin weird_
KREYREEN has quit [Ping timeout: 240 seconds]
<samueldr> exactly :)
KREYREEN has joined #nixos-chat
<colemickens> "550 Mailbox is full / Blocks limit exceeded / Inode limit exceeded" lol
__monty__ has quit [Quit: leaving]
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
<cirno-999> this looks rad
<bbigras> Isn't that the evil covid animal?
<cirno-999> damn looks like it
<cirno-999> lol
<bbigras> And they show a bull
<bbigras> "a laptop to die for" (not a real quote)
<samueldr> hopefully it'll get coreboot
<gchristensen> cloudfront distributions are for the birds
<ldlework> dude
<ldlework> why am i all of a sudden
<ldlework> having audio issues?!
<ldlework> i .. haven't changed my system at all
<ldlework> i don't wanna deal with audio issues again argh!!
<danderson> as a happy user of an all-amd laptop (thinkpad), I can recommend going all AMD for linux
<lovesegfault> danderson: o/
Dotz0cat has quit [Quit: ZNC 1.7.5 - https://znc.in]
<samueldr> gchristensen: I don't know what that means
<lovesegfault> I use an AMD GPU over USB-C (Razer Core X) and it works wondefully well, even hotplug works
Dotz0cat has joined #nixos-chat
<samueldr> lovesegfault: thunderbolt, I gather; on an AMD cpu?
<ldlework> As I speak into my mic, if I just go AHHHHHHHHHHHHHHHHHHHHHHHHHHHHH I instead get AHHHhhhh..hhhhHHHHhhh...hhhHHHHhh..
<ldlework> what in gods name would cause that?!
<samueldr> ghosts
<ldlework> holy shit i'm triggered
<energizer> what amd graphics driver do you use?
<lovesegfault> samueldr: thunderbolt, yeah
<energizer> er, what amd graphics driver do yall use?
<samueldr> (I hate being that guy, but type-c is only a connector :))
<samueldr> most (all) AMD-toting laptops I've seen doesn't have thunderbolt, at best it's clearly labeled that they support eDP alternate mode, and power delivery on which ports
<samueldr> sometimes it's not even labeled in the specs!
<lovesegfault> energizer: I think I have a 5600XT
<lovesegfault> running the drivers in the kernel
<danderson> thunderbolt on AMD is brand spanking new, so I'm not surprised to see it on very recent laptops... But yeah, USB-C is very annoyingly difficult to parse into "what can I actually _do_"
<samueldr> on recent AMD laptops I haven't seen it yet :
<samueldr> :)*
<danderson> and I use the default open source "radeon" driver, which works fine with my Vega 8 iGPU
<lovesegfault> my system currently has three GPUs
<samueldr> lovesegfault: time to add a fourth
<lovesegfault> I could if I forgo my dock :P
<danderson> In general, the radeon driver is pretty great. For some uses, you have to install the "radeon pro" proprietary driver, and I'm told that it's a bit garbage
<danderson> but for regular "I want a screen with pixels and also games", the OSS radeon driver is great :)
<lovesegfault> Yup, amdgpu has worked flawlessly for me
<lovesegfault> I had some issues when I first set this up, but a kernel update fixed it some time ago
<danderson> yeah, typically a brand new GPU needs a couple months of driver updates before it's rock solid
<danderson> but it happens very dependably
<joepie91> AMD GPUs++
<joepie91> very happy about their Linux support
<ldlework> It's audio going to the Pulse Audio Jack source that gets the sine-wave-volume effect.
<energizer> resume-from-suspend fails like 80% of the time for me, with amdgpu
<ldlework> Doesn't matter what device it comes from.
<ldlework> If I pipe audio directly from the device to the output device the audio is clear.
<ldlework> I don't know enough about the Pulse Audio Jack Source to ever fix this.
<energizer> fwiw there is #pulseaudio
<lovesegfault> danderson: did you catch my conversation with bbigras the other day about magic DNS?
<danderson> lovesegfault: I didn't, what's up?
<lovesegfault> danderson: neither of us seem to be able to get it to work with systemd-resolved or unbound
<lovesegfault> Is the process just to point unbound/systemd-resolved to 100.100.100.100 as the sole DNS server?