gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<eyJhb> I am stuck at loading the nixpkgs manual
<eyJhb> And it crashes my fucking browser
<eyJhb> It needs to be split up...
<bqv> WTB rest manual
<cole-h> What's a good terminal calculator? I usually use bc, but I'd like floating point support
<bqv> Theres also dc, iirc
abathur has quit [Ping timeout: 264 seconds]
<bqv> Otherwise I just resort to python, heh
<cole-h> I guess Python will do lol. Thanks.
<samueldr> I use irb
CodeSpelunker has joined #nixos-chat
<infinisil> cole-h: bc has floating point support?
<cole-h> infinisil: Does not, which is why I was asking for another one
<infinisil> cole-h: bc -l
<cole-h> Oh, nice.
<infinisil> Or just `scale=20` or however many digits you need
<cole-h> The manpage isn't very forthcoming about what -l does lol. "Define the standard math library." is too vague
<infinisil> It mentions below that it does that, but also sets the scale to 20 by default
<infinisil> bc is my go-to calculator
<cole-h> Oh
<cole-h> Guess I should have read more of the manpage
<cole-h> (x
<samueldr> nah, reading the manpage is for other people
<cole-h> To be fair, that's way the way down.
<colemickens> next you're going to try to teach me to fish.
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
abathur has joined #nixos-chat
kalbasit has quit [Ping timeout: 240 seconds]
kalbasit has joined #nixos-chat
<cole-h> I remember a while ago that I could `cat` some "file" in /proc/$pid/ to see things like loaded fonts. Anybody happen to know which "file" I'm looking for?
<ivan> cole-h: /proc/$pid/fd/
<cole-h> Maybe, but there was a singular file that would contain many loaded assets in text form
<cole-h> Oh, it was /proc/$pid/maps
CodeSpelunker has quit [Quit: CodeSpelunker]
rajivr has joined #nixos-chat
kalbasit has quit [Ping timeout: 240 seconds]
<ashkitten> my laptop boots too fast :(
<ashkitten> colemickens: any idea why waypipe says "fork failed"?
<colemickens> I think I'm just done with sway for a while. I've had my fill of restarting multiple times a day because "reload" trashes my entire system.
<ashkitten> oof
<colemickens> No, I haven't had a chance to use waypipe.
<ashkitten> didn't they fix that bug?
<ashkitten> iirc sway 1.5 fixes that crash
<ashkitten> ofc, might have other crashes, but...
<ashkitten> oh, waypipe only complains on the version from nixpkgs-wayland
<ashkitten> hmm
<colemickens> the waypipe def i have might be old
<ashkitten> how do i get the original package in my nixos config?
<ashkitten> :( kitty does not work via waypipe
<ashkitten> does it not support hw accel?
<colemickens> I don't know, you'd probably have to re-import ${pkgs.path} with overlays set to [] and see if that wokrs
<ashkitten> the gsoc blog post for waypipe says kitty should work :/
cjpbirkbeck has quit [Quit: Goodbye, take care]
<ashkitten> hmmmm
<ashkitten> using -n to disable gpu makes kitty work
<ashkitten> ah, it says "Modifiers specified, but DRI is too old"
drakonis has quit [Quit: WeeChat 2.8]
<ashkitten> oh huh, i realized that since wayland doesn't have an equivalent to GLX (applications connect to the GPU on their own) it might not be necessary to have explicit hw accel support in something like waypipe
<ashkitten> aside from hw accel encoding
<clever> i think the new way might be something based on drm?
<clever> ive seen stuff about getting a token, then passing it to the drm master, to get permission to do something
ashkitten has quit [Quit: WeeChat 2.8]
ashkitten has joined #nixos-chat
cole-h has quit [Ping timeout: 260 seconds]
<Ashy> has anyone else noticed that attempting to screenshare in teams just crashes teams?
<Ashy> seems to be nixos specific as my coworkers Fedora install manages fine
<Ashy> I've tested on nixos on a laptop with the Intel GPU and on a desktop with AMD GPU
<Ashy> happens in both xorg and Wayland (gnome, i3 and sway)
__monty__ has joined #nixos-chat
<colemickens> Termite doesn't have a maintainer / developers.
<colemickens> "Termite doesn't have a maintainer / developers. " -- thestinger
<colemickens> all the gpu powered ones use really old wayland libs that are missing basic stuff :|
<__monty__> Including alacritty?
<__monty__> And kitty maybe..
<colemickens> when I looked a month ago, yeah
<colemickens> and there were bits in the middle that had non trivial multiple-api-version bumps to be taken care of
polezaivsani has joined #nixos-chat
parsley936 has joined #nixos-chat
leonardp has left #nixos-chat ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
<eyJhb> Not sure how to feel about this - https://github.com/eyJhb/nixpkgs/pull/1
<{^_^}> eyJhb/nixpkgs#1 (by dependabot[bot], 1 hour ago, open): build(deps): bump technote-space/get-diff-action from v2.0.2 to v2.0.3
<__monty__> Think of the rate of market penetration of Good changes, eyJhb!
<eyJhb> I guess, but holy hell GitHub, fuck off :p
<eyJhb> Also, today I should be doing maths.. Really
<__monty__> Because any change must be a Good change...
<eyJhb> All changes are
cjpbirkbeck has joined #nixos-chat
<NinjaTrappeur> oO, did you opt-in somewhere for this bot eyJhb ?
<joepie91> NinjaTrappeur: github acquired dependabot a while ago and now it just starts spamming projects unsolicited
<NinjaTrappeur> TIL. That's creepy!
<Mic92> eyJhb: When I added this, I thought this would be only triggered in the main repo. At least this is how I read the documentation
<joepie91> did a little battery test for my new testing android
<joepie91> camera app open, screen permanently on at 100% brightness, put it somewhere for a few hours
<joepie91> got a little warm, estimated total battery life in those conditions is 10 hours
<__monty__> Was it pointed at a changing scene?
<joepie91> __monty__: nop, laying upside down pointed at the underside of my desk
<joepie91> camera use was mostly as an easy way to have it permanently screen-on and doing stuff
<joepie91> ar: ha, nice
<__monty__> I wonder if processing for focus and stuff would make a big difference.
<joepie91> __monty__: this phone neurotically autofocuses anyway :P
<joepie91> doesn't seem to matter whether it has something to look at or not
<joepie91> but I doubt that it'll make a big diff either way
<joepie91> what does probably matter is that I am running syncthing and it seems to drain quite a lot
<joepie91> with screen off and syncthing running, it seems to last a couple of days
<joepie91> with screen off and syncthing off, much much longer than that
<joepie91> on the order of weeks probably
<__monty__> Sounds like a beefy battery for a phone either way.
<joepie91> __monty__: very. manufacturer claims 8000 mAh and I believe them :P
<joepie91> crazy little thing
<joepie91> or well, not-so-little thing :D
<__monty__> 32GB ROM? What?
<eyJhb> NinjaTrappeur: Did not opt in :p Mic92 Kinda weird
<eyJhb> Must be a error
<eyJhb> Anyone that uses Dropbox here?
<eyJhb> I have started to get the "comments" pane, each time I scroll a image in the Dropbox Android app..
__monty__ has quit [Quit: leaving]
<joepie91> 32GB storage
julm has quit [Ping timeout: 256 seconds]
julm has joined #nixos-chat
julm has quit [Ping timeout: 240 seconds]
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has joined #nixos-chat
julm has joined #nixos-chat
lejonet has quit [Ping timeout: 240 seconds]
lejonet has joined #nixos-chat
lejonet has quit [Ping timeout: 256 seconds]
lejonet has joined #nixos-chat
<bqv> redox-os sounds cool, anyone think it'll ever take off?
__monty__ has joined #nixos-chat
<bqv> so i had the idea to split my flake into subtree flakes, one for packages, one for systems, one toplevel
<bqv> thoughts?
<bqv> the thing is it'd make the flake way less visible on github
<bqv> hmm
<bqv> hey actually
<bqv> my flake.nix is shorter than the nix one
<bqv> ill leave it
parsley936 has quit [Remote host closed the connection]
waleee-cl has joined #nixos-chat
etu has quit [Quit: WeeChat 2.6]
etu has joined #nixos-chat
drakonis has joined #nixos-chat
endformationage has joined #nixos-chat
kalbasit has joined #nixos-chat
kalbasit has quit [Ping timeout: 256 seconds]
<Mic92> bqv: There is actually cool stuff coming out of redox-os that are usuable on other operating systems, like the libc, shell and libraries.
<bqv> i know, that's cool too, but not nearly as cool as the prospect of a new OS to toy with
<Mic92> Well let's see if rust is productive enough to justify a new Os.
<Mic92> I feel like it is having to deal with linux kernel internals the whole day.
<bqv> Heh
cole-h has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.8]
drakonis has joined #nixos-chat
malook has joined #nixos-chat
malook has left #nixos-chat ["Quit"]
<crazazy[m]> is nixos like marginally slower on redox or are the perfs comparably
<crazazy[m]> * comparable
<ashkitten> crazazy[m]: nix doesn't currently run on redox, but redox hasn't focused on optimization yet to my knowledge
rajivr has quit [Quit: Connection closed for inactivity]
hax404 has quit [Remote host closed the connection]
hax404 has joined #nixos-chat
parsley936 has joined #nixos-chat
<Valodim> home-manager has this "bqv-flakes" branch. does anyone have a pointer somewhere on how to use this thing?
<Valodim> I can't figure it out just from looking at the flake :|
<__monty__> Valodim: bqv will probably gladly tell you ; )
<bqv> heh
<bqv> you can probably see a few of us using it by searching it on github
<bqv> but if you want to see how i use it, https://github.com/bqv/nixrc
<bqv> key part: the input at the top, and then flake.nix:243-256
<bqv> that's if you want to use it as a module, fwiw. if you want to use it standalone, i'm not the best person to ask
<bqv> Valodim:
<Valodim> cool. thanks
<Valodim> man flake files of those folks who use them yet are such an adventure :D
<Valodim> huh. you use matrix-construct?
<crazazy[m]> are those man pages also in nix 2.3.x
<manveru> Valodim: i use it
<manveru> hmm, i thought i did :)
<manveru> i actually use home-manager master as input directly now
<manveru> so i simply add `import (inputs.home-manager + "/nixos")` to my `lib.nixosSystem` modules argument
<Valodim> oh. so flakes don't care if its inputs are actually a flake?
<manveru> and i have `home-manager.useGlobalPkgs = true;` and `home-manager.useUserPackages = true;`
<bqv> Valodim: i wrote the nix file for it :p
<bqv> also, yeah, you can import nonflakes
<manveru> home-manager is compatible with flakes now, yeah
<bqv> it'll still be locked etc
<bqv> just have to specify
<__monty__> Any git submodule experts?
<bqv> manveru: wait really?
<manveru> i switched from your branch in may :)
<Valodim> sweet
<bqv> manveru: oh, so you just import it as a non-flake
<bqv> fair enough
<manveru> yeah
<manveru> guess i should've said that :)
<manveru> using non-flakes as input is pretty cool
<bqv> i even have a .tar.xz as an input right now, heh
<samueldr> __monty__: I don't think that exists, but maybe ask anyway and at worst you'll scare the crap out of us
<__monty__> Ok, so here goes, I have submodule.recurse set to true because I always forget to update submodules. This has been bliss. But now when trying to push my branch I'm getting errors relating to a submodule, something about src refspec: http://ix.io/2t6L
<samueldr> ah, that looks like something I had once without submodules
<samueldr> I don't exactly remember, but something about the ref pointing to something that didn't exist anymore at the remote?
<__monty__> Hmm, my branch still exists at the remote. I did rebase. I'm not 100% sure what a refspec is though.
<samueldr> yeah, git internals are confusing and always end up surfacing to the user without any warning :(
<bqv> im a bit jealous of windows 10's android-like url handling system
<bqv> i know linux has xdg-mime, but nothing uses it
<samueldr> I also would have liked to be able to intercept any "URL navigation" (in apps that opt-in)
<samueldr> so e.g. I could just open mpv for a youtube url
<samueldr> including when it's clicked in a browser
<bqv> yeah, exactly
<drakonis> kde implements that
<__monty__> Used to have a script for vimfx to open urls with mpv using link hinting.
<drakonis> it is reasonbly interesting though
<bqv> i could probably emulate it with nyxt
noonien has joined #nixos-chat
<noonien> hello folks
<noonien> oops, wrong channel ^_^
drakonis has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-chat
numkem7 has joined #nixos-chat
numkem has quit [Ping timeout: 256 seconds]
numkem7 is now known as numkem
<eyJhb> Late night hacking again?!
<eyJhb> :o
<eyJhb> With more raft gameplay!
<bqv> oh, fuck
<bqv> my system invalidates the cache so much that nix-index breaks
<eyJhb> Hooow?
<eyJhb> Does not sound ideal
<bqv> most of the packages aren't in the cache
__monty__ has quit [Quit: leaving]
parsley936 has quit [Remote host closed the connection]
abathur has quit [Quit: abathur]
<bqv> oh wtf, haskell.nix overlays harfbuzz
polezaivsani has quit [Quit: ERC (IRC client for Emacs 26.3)]
xd1le has joined #nixos-chat