gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
cosimone_ has joined #nixos-chat
cosimone has quit [Ping timeout: 264 seconds]
cosimone_ is now known as cosimone
liebach has quit [Ping timeout: 272 seconds]
liebach has joined #nixos-chat
<colemickens> anyone here use mailspring? sounds like it's (on the way to being) all OSS now?
<colemickens> not sure I'm willing to adopt a new electron app though
<colemickens> cole-h: are you full on migrating, just testing the waters?
<cole-h> yes :P
<colemickens> cole-h: I just feel like there's some inner adult in me telling me not to do it, even though I really want to get off gmail and don't like any of other options I've found.
<colemickens> in reality though, I'm good at keeping nixos boxes up. maybe I should do it too.
<cole-h> right now just messing around. can't really completely migrate since I got my domain through google -- gmail is permanent, but probably not main
<supersandro2000> cole-h: set lower TTLs
<colemickens> you could always transfer it?
<cole-h> I guess, but pretty sure I'd need an email to sign up for wherever I transfer it to
<colemickens> heh right
<cole-h> supersandro2000: So I should set a super low TTL to start and then set it back to normal once I can ping and stuff?
<colemickens> this looks so easy to do...
<colemickens> cole-h: are you going to sync from outlook to this, too?
<cole-h> probably not
<colemickens> oh good for you :)
<cole-h> :P
<colemickens> I have sympathetic data fomo on your behalf.
<cole-h> not like I'll delete my outlook account tbf
<cole-h> or rather I'm not planning on it
<colemickens> makes sense. I have this weird obsession about trying to get everything into one place. I still have this fantasy of some day importing my 12 years of text history, chats, etc all into a Matrix homeserver.
<cole-h> I would try to keep my email all in one place if I knew there was no chicken-or-egg problem with that
<cole-h> but since I need to have an external email account anyways, meh
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-chat
<supersandro2000> cole-h: you would have need to do that before
<supersandro2000> you could also bust all the dns caches
<supersandro2000> for domain and so you should keep an external mail
<supersandro2000> not that they send you a mail on your mail that your mail is no longer
<lovesegfault> ,locate mount.cifs
<{^_^}> Found in packages: cifs_utils
<drakonis> incredible
cole-h has quit [Ping timeout: 272 seconds]
<adisbladis> drakonis: I really think Go got this right
<adisbladis> With fully qualified import paths
<energizer> adisbladis: if fq paths are good, why not put dependency hashes in every file?
rajivr has joined #nixos-chat
<adisbladis> energizer: Sounds a bit unwieldy
cosimone has quit [Quit: cosimone]
aleph- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos-chat
abathur has joined #nixos-chat
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-chat
Jackneill has quit [Ping timeout: 265 seconds]
Jackneill has joined #nixos-chat
endformationage has quit [Quit: WeeChat 2.9]
slack1256 has quit [Remote host closed the connection]
ky0ko has quit [Read error: Connection reset by peer]
<lovesegfault> ashkitten: So, jellyfin can't cope with my giga mega albums
<lovesegfault> and now I can't vibe to the anthem of Tajikistan
<energizer> when did it start struggling?
<lovesegfault> When I tried playing a song that's part of an album with >400 songs
<lovesegfault> it loads for a v. long time
<lovesegfault> small albums are fine
<energizer> haha
<lovesegfault> I have an album that has >3300 tracks
<lovesegfault> I haven't tried it yet
<aleph-> Heh I should see if I can load what I think is a 9k+ jazz collection album
<lovesegfault> So, it loads the album fine
<lovesegfault> and if you search tracks you can play them
<lovesegfault> but if you open the album and then try to click a track to play it loads forever
<lovesegfault> I suspect because it tries to queue up all the remaining tracks
<lovesegfault> and something about that isn't quite right
lunc has quit [Ping timeout: 272 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
lunc has joined #nixos-chat
cole-h has joined #nixos-chat
<cole-h> DNS propagation >:(
<cole-h> lovesegfault: I'd report that upstream if you haven't already ;D
<aleph-> Yeah reporting sounds good
lejonet has joined #nixos-chat
<AMG> pretty dope
drakonis has quit [Quit: ZNC 1.8.2 - https://znc.in]
<lunc> very cool amg
drakonis has joined #nixos-chat
dtz has quit [Quit: Idle for 30+ days]
wirew0rm has quit [Ping timeout: 260 seconds]
wirew0rm has joined #nixos-chat
cole-h has quit [Ping timeout: 256 seconds]
drakonis has quit [Ping timeout: 272 seconds]
hplar has quit [Ping timeout: 272 seconds]
drakonis has joined #nixos-chat
hplar has joined #nixos-chat
__monty__ has joined #nixos-chat
spacekookie has quit [Quit: No Ping reply in 60 seconds.]
spacekookie has joined #nixos-chat
<ashkitten> wonder if a wayland compositor shim would be possible, that would go between the compositor and clients and let you restart the compositor without messing everything up
<ashkitten> so the compositor comes back up and the shim just acts like all the clients are newly connecting
<Taneb> What if you want to restart the shim
<ashkitten> sol
<ashkitten> but the point of the shim is to be minimal so it wouldn't have issues you'd need to restart it for, and it would never crash in theory
<__monty__> Hmm, I hope this wouldn't promote shitty compositors though. "Who cares it crashes, we have the shim so just restart the compositor. #notourproblemnomo"
<ashkitten> lol
<ashkitten> yeah, idk
<ashkitten> it was more an interesting concept
<adisbladis> ashkitten: And what if that shim had an API so you could even switch compositors live!
<adisbladis> Basically X11, but on wayland :P
<adisbladis> That would be really nice though
<adisbladis> Except then I'd be forced to use libinput, so that's still not good :/
<Ashy> libinput has been refusing to let me use some of my usb mice recently because the fd is in use already
<Ashy> fairly ridiculous, plug it in, works for about half a second then stops and the journal has logs to that effect
<Ashy> a reboot would probably fix it but who has time for that?
<philipp[m]1> adisbladis: Stlil clinging to your touchpad scroll hack?
<srk> gnome shell can restart like that on crash iirc :)
cosimone has joined #nixos-chat
<ar> srk: they reexec themselves in signal handler?
lunc has quit [Ping timeout: 265 seconds]
<adisbladis> philipp[m]1: Yes
<srk> ar: not sure how it's implemented
<adisbladis> You can pry it out of my cold, dead hands
<adisbladis> It makes the touchpad actually usable
<adisbladis> Instead of just in the way
<talyz> adisbladis: :D
<ar> adisbladis: what touchpad scroll hack?
<philipp[m]1> Expanding the borders of the touchpad in a way that makes the whole touchpad only scroll the screen.
<ar> so, not moving mouse?
<ar> nice
<adisbladis> It expands the edge scrolling to the entire touchpad
<adisbladis> It's hacky AF
<adisbladis> But works
<adisbladis> So I use the trackpoint with my middle finger and can scroll with my thumb
<ar> i used to have something similiar ages ago, but done with acceleration/cursor speed
<__monty__> That's evil genius levels of kludge : D
<ar> and it still required two fingers on touchpad
<adisbladis> __monty__: Hey my duct tape works excellent
<philipp[m]1> I can confirm that it is quite nice.
<crazazy[m]> im sad. Apperently you can not switch nixos configs without giving all users the possibilty of logging into root without priviliges
<talyz> I made that hack for the useless clickpads on X240
<__monty__> I find duck tape is a much better tool. It can do double-duty for rubberducking.
<crazazy[m]> if you try to expire and lock the root password, nixos-rebuild will ask you to create a new password
<adisbladis> Yeah, I've just been carrying the hack talyz made around and ported it over to multiple laptops
<eyJhb> Am I the only one that has just disabled the touchpad ?
<__monty__> crazazy[m]: Check out home-manager if you want users to manage their own environments maybe?
<adisbladis> eyJhb: Why disable it when you can make it useful?
<eyJhb> Because I really don't like the feel of it, and NEVER use it
<eyJhb> I only use the red dot :p
<adisbladis> eyJhb: But imagine it was a scrollpad
<eyJhb> Watch me go jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
<eyJhb> :D
<talyz> I don't use it anymore, but adisbladis keeps it alive :D
<__monty__> Weird, thinkpad trackpads are generally pretty good in my experience, tiny, but serviceable.
<crazazy[m]> __monty__: how does home-manager prevent the problem of non-privileged `su` usage
<eyJhb> I rarely have any applications I scroll in, with actual scroll... :D
<adisbladis> talyz: I was using a patched libinput for a short while
<adisbladis> But... Painful..
<eyJhb> __monty__: AGreed, but mine has this dot surface
<eyJhb> Which is not that nice to touch
<__monty__> crazazy[m]: Because it doesn't involve running nixos-rebuild switch.
<talyz> __monty__: it was a very weird generation where the trackpoint buttons were integrated into the touchpad and you had to push down the whole pad to press a button
<__monty__> I'm familiar with it and don't mind it, reduces static friction.
<__monty__> talyz: That does sound horrible.
<__monty__> I don't like trackpads that move like a button.
<talyz> it really was, and scrolling with the middle button was almost impossible, hence the hack :)
<crazazy[m]> but if i need to change my system outside of my personal applications (login manager etc...) then I can't use home-manager for that right
<talyz> adisbladis: yeah, patching libinput on nixos == looong builds :/
<adisbladis> talyz: I think there was a reason that kind of trackpad only survived one generation
<adisbladis> talyz: I guess I could do some fugly LD_PRELOAD hack or something
<adisbladis> But just keeping patches in sync is painful enough
<adisbladis> And I don't exactly have any window manager on wayland that's good enough
<adisbladis> But it is frustrating something like this has become so essential and libinput is like "nope, no config options for you"
<adisbladis> I understand their reasoning, still frustrating
<__monty__> crazazy[m]: Yeah, anything shared would still be via nixos.
<talyz> adisbladis: yep, thankfully
<crazazy[m]> and that's where the problem lies
<crazazy[m]> if I need to update nixos, i can't have it so that i can only log into root via `sudo su`
<crazazy[m]> because if i try to then do `sudo nixos-rebuild`, it will ask me to change the root pw
<crazazy[m]> which I had expired & locked
<adisbladis> crazazy[m]: You can set the root pw declaratively
<talyz> adisbladis: mm, it's a bit unfortunate
<crazazy[m]> adisbladis: as in `users.users.root.hashedPassword`?
<LinuxHackerman> adisbladis: you can use system.replaceRuntimeDependencies to patch an alternative libinput into the already-built stuff
<talyz> adisbladis: i mean, they do provide some config options as "quirks", but mostly to normalize behavior between devices, so not a lot
<adisbladis> LinuxHackerman: I guess
<talyz> LinuxHackerman: oh, interesting
<LinuxHackerman> it's kind of terrible and requires IFD, but it is a solution
<adisbladis> I'm stuck on X11 regardless
<adisbladis> But nice
<talyz> LinuxHackerman: still probably beats having to rebuild almost all graphical applications for a small hack :)
<adisbladis> I forgot that replaceruntimedependencies was an option
<LinuxHackerman> yep
<talyz> i'm currently changing the trackpoint acceleration code with a patch, so it would be useful to me
<__monty__> crazazy[m]: Why not simply `sudo nixos-rebuild`? I have never had to reset the root password.
<crazazy[m]> you can re-set the root pw afterward with `sudo passwd root`
<__monty__> crazazy[m]: I've been doing this forever. The `sudo nixos-rebuild switch` part and have never had to re-set root's password.
<crazazy[m]> oh thats strange
<eyJhb> also, just saying crazazy[m] , you just need to write `sudo passwd`, it default so UID 0 as far as I remember ie. root:p
<patagonicus> passwd defaults to changing the current user's password. sudo passwd makes passwd think that the current user is root, so it's changing root's password.
__monty__ has quit [Quit: leaving]
<eyJhb> patagonicus: Damn it! Yes that is what it is :D
<eyJhb> Thank you, the other thing sounded odd to me as well
<eyJhb> ALSO! Joust found this - https://github.com/stephen304/castblock kinda cool
srk has quit [Remote host closed the connection]
srk has joined #nixos-chat
waleee-cl has joined #nixos-chat
<bbigras> eyJhb: nice
<eyJhb> bbigras: Assuming the castblock? Thinking of packaging it! But only after tommorow. I except anybody seeing me open a PR for it before tomorrow at 09:00 GMT, telling me to do some actual work instead
<bbigras> eyJhb: yeah castblock. nice. ping me if you want me to review the PR.
<eyJhb> Will do bbigras ! :D
slack1256 has joined #nixos-chat
<eyJhb> (hopefully it can be combined with a little module example, but I don't think that should be merged into nixpkgs however, seems to small to do that)
<eyJhb> DigitalKiwi: It is pretty flat much the same atm. ;(
<DigitalKiwi> unless you follow reddit advice https://mostlyabsurd.com/files/stonks%C2%A1.png
<gchristensen> it looks like you can't download artifacts from github actions without being logged in ...
<crazazy[m]> you know it's suprising how little of my code i actually test to se if its working
<DigitalKiwi> eyJhb: i was down 13% yesterday up 17% today
<DigitalKiwi> currently at 84%
<DigitalKiwi> :D
<crazazy[m]> just today i found out that my whole "lazily import git modules whenever a user needs them" function had quite a significant flaw in it
<DigitalKiwi> maybe you should try being more strict with yourself
<crazazy[m]> as it returned a "dep/emacs" module when i was trying to find "dep/emacs-overlay/default.nix"
<crazazy[m]> resulting in a storepath of "/nix/store/{hash}source-overlay/default.nix"
<crazazy[m]> as it concatenated "-overlay" to the store path
<DigitalKiwi> hehe i have some bash script and i use cut -f -d '-' in a spot
<DigitalKiwi> assets:cc:nu-cypher || $ 46.88
<DigitalKiwi> so ofc it would fail on that :D
<DigitalKiwi> i guess this is why property testing is useful you'd never know about it if you didn't have an oddball
<DigitalKiwi> assets:cc:nu-cypher || $ [-46.99-]{+46.90+}
<DigitalKiwi> that's what it was intended to grab
ixxie has joined #nixos-chat
aranea has quit [Quit: server maintenance]
aranea has joined #nixos-chat
lunc has joined #nixos-chat
cosimone has quit [Quit: cosimone]
<AMG> does anyone know of a good/reliable parcel forwarder? i wanna buy something in UK but they dont ship to sweden
<lunc> UPS or DHL doesn't ship?
<AMG> nope they dont ship to Sweden at all
<lunc> hmm, find someone in the uk and have them send it to you :P
rajivr has quit [Quit: Connection closed for inactivity]
cole-h has joined #nixos-chat
* ldlework pins that
slack1256 has quit [Remote host closed the connection]
<cole-h> The best Halo theme: https://www.youtube.com/watch?v=0JQt8VKgizg
<cole-h> A sight to behold: https://i.imgur.com/nnJR90x.png -- 0 "Build problem"s :D
<pie_> dadada daaa dadada daaa dadadad daaaa dadadadadada
<gchristensen> cole-h: wow, rare!
<cole-h> pie_++
<{^_^}> pie_'s karma got increased to 17
<cole-h> gchristensen: I had to screenshot for posterity. I'm not sure it'll ever happen again
<cole-h> ;P
<srk> next pandemic xD
<cole-h> So hopefully it doesn't ever happen again :o
<srk> heh. better not break it
<infinisil> If you ever need some build failures, just go to hydra :)
<infinisil> I wonder if nixpkgs' status has even been "green"
<infinisil> All red!
<samueldr> red goes faster
<infinisil> And eval errors too
<infinisil> I feel like we should at least make an effort to have no eval errros
<samueldr> yeah, that tag is... not useful for nixpkgs-scale projects due to *any* attribute refusing eval adding it
<gchristensen> they're not really eval errors exctly
<gchristensen> you'd have to omit unfree log lines to get there
<samueldr> yep
<infinisil> Yeah but like, we could filter out all expected errors for hydra
<gchristensen> (and those log lines can be useful)
<infinisil> Hmm
<DigitalKiwi> is there no filter?
<samueldr> there is no structured data
<samueldr> only text
<gchristensen> it could be structured
<DigitalKiwi> grep then
<infinisil> Let's add structured text then! I wanted this for a while!
<gchristensen> hydra destructures it
<infinisil> I mean, structured errors
<infinisil> builtins.throw { __toString = self: "Some error"; data = "foo"; }
<infinisil> builtins.throw { __toString = self: "Some error"; errorType = "foo"; }
<samueldr> gchristensen: do you mean that during eval the errors were attached to an attribute?
<gchristensen> yea
<DigitalKiwi> ugh i didn't ever figure out why i can't get nix-shell to work if it sends output through a pipe :(
<gchristensen> I just found that the other day
<samueldr> might be extremely useful?
<infinisil> I still have a patch that adds attribute paths to all attributes
<infinisil> Like, `haskellPackages.xmonad.__path = ["haskellPackages", "xmonad"]`
<infinisil> But I think having attribute sets as errors, and to have them catchable would be great
<gchristensen> samueldr:
<gchristensen> guh
<gchristensen> hydra-eval-jobset lines 688-694. paste is broken. :(
<infinisil> What if `builtins.catch (e: e.errorType == "foo") (e: "error occured: ${e}")`
* infinisil goes to #nix-lang
<samueldr> gchristensen: I didn't need the proof, it totally made sense considering how it evals :)
<samueldr> but neat
ixxie has quit [Quit: Lost terminal]
cosimone has joined #nixos-chat
<infinisil> > timeTo mars
<{^_^}> "6 days, 22 hours, 32 minutes, 58 seconds"
<cole-h> >timeTo jupiter
<cole-h> f
<cole-h> > timeTo jupiter
<{^_^}> undefined variable 'jupiter' at (string):472:8
<gchristensen> > timeTo timeTo
<{^_^}> value is a function while a set was expected, at /var/lib/nixbot/lib/date.nix:45:13
<rmcgibbo[m]> does anyone know why i can't find #nixos-dev in matrix even if i search under "All rooms" or "freenode rooms", but I can find it just find on freenode?
leah2 has quit [Ping timeout: 260 seconds]
leah2 has joined #nixos-chat
<jtojnar> rmcgibbo: no idea, I just end up opening the room address manually #freenode_#nixos-dev:matrix.org
<{^_^}> matrix-org/matrix-appservice-irc#708 (by v3ree, 2 years ago, closed): Freenode channels not listed in Room Directory of Matrix clients
<rmcgibbo[m]> Jan Tojnar: that link worked perfectly, thanks.
<{^_^}> vector-im/element-web#8646 (by BloodyIron, 2 years ago, open): Freenode (IRC?) channels don't show up in room directory
lunc has quit [Remote host closed the connection]
raboof has quit [Ping timeout: 240 seconds]
raboof has joined #nixos-chat
endformationage has joined #nixos-chat
cosimone has quit [Quit: cosimone]