gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<gchristensen> ohh... you can specify exact line numbers in sed statements, and then use a linter to do automatic fixes based on those exact line numberns
<gchristensen> requiring less specific sed expressions
tilpner_ has joined #nixos-chat
<worldofpeace> cole-h: 👋
<worldofpeace> ooh, that fd thingy is cool
tilpner has quit [Ping timeout: 256 seconds]
tilpner_ is now known as tilpner
<lovesegfault> talyz: your branch has a bug when no directories are specified
<lovesegfault> I think it generates an empty function
<lovesegfault> that bash calls and explodes
<drakonis> wow, kde plasma 5.18's little night light icon makes one heck of a difference
<drakonis> esp with things that tend to kill off redshift
waleee-cl has quit [Quit: Connection closed for inactivity]
<Church-> Howdy drakonis
<Church-> Hmm, teasing apart makefiles to find a bug is annoying
<drakonis> howdy
<Church-> Okay I hate getting this package building...
<Church-> Stupid git submodules
<drakonis> jeeze i got surgery today
julm has quit [Ping timeout: 256 seconds]
<lovesegfault> Can someone help me test something
<lovesegfault> (must be running NixOS)
<gchristensen> maybe, what's up?
<gchristensen> drakonis: oh! what kind? you okay?
<lovesegfault> But I proved my theory false
<lovesegfault> Still don't know what's happening though :(
<{^_^}> #92945 (by eljojo, 1 week ago, open): Bump Roon-Server to latest version and fix bug
julm has joined #nixos-chat
<pie_> jtojnar: i see you poked at nix.winnix a bit
<pie_> -
<drakonis> gchristensen: removing some skin with the potential to grow canerous
<drakonis> cancerous
<drakonis> i'm entirely fine because it was very little
<gchristensen> ahh yeh
<drakonis> a tiny circle
<gchristensen> always a good time :|
<drakonis> quite so
<drakonis> fiddling with some VMs right now
<drakonis> gotta pull some data off a vm image
<drakonis> finally, an opportunity to use libguestfs
drakonis1 has joined #nixos-chat
drakonis has quit [Ping timeout: 244 seconds]
<Church-> drakonis1: fsck
<Church-> I saw the slimbook
<Church-> Wantttt
<drakonis1> nice
<drakonis1> welp i got the stuff i needed
<colemickens> who's up on Rust? What are people using for error wrapping/handling/etc lately. Is it "thiserror" ?
<gchristensen> I do it the old fashioned way
cjpbirkb1 has quit [Quit: Goodbye, take care]
* gchristensen should have gone to bed hours ago
<pie_> colemickens: we have a #nixos-rust btw
<evanjs> I'm using anyhow for most of my things now but I can't remember where I saw the post that recommended which to use for what
<evanjs> No clue if it's what I'm thinking of but there's e.g. https://nick.groenen.me/posts/rust-error-handling/
endformationage has quit [Quit: WeeChat 2.7.1]
<gchristensen> a skunk has stunk outside my window every day this week, and our only way to cool the house down is a whole-house fan which replaces all the air in the house over the night ... so it is just potently, powerfully, eye-wateringly stinky.
drakonis1 has quit [Quit: WeeChat 2.8]
slack1256 has quit [Remote host closed the connection]
<gchristensen> 761b08c026754b66a9d2e0d37aeff13a93e5a4f0
iqubic has joined #nixos-chat
<gchristensen> LOL [nginx_parser] WARNING Skip unparseable block: "http"
<gchristensen> ==================== Results ===================
<gchristensen> No issues found.
<ashkitten> nice
<bqv> Lmao
cole-h has joined #nixos-chat
<srhb> Helpful :|
<srhb> "warning"
<srhb> Ugh
<gchristensen> I managed to deploy about a dozen invalid nginx configs in a row, and none of them were caught
<iqubic> So, I have a home-manager question.
<iqubic> So, actually, I'm using home-manager, and using "windowManager.command = ..." So, now I'm wondering how I install and enable another window manager, like openbox, so that I can switch between them at LightDMs log in page.
<worldofpeace> unlimited blade works!
<worldofpeace> oops, lol, wrong channel
<bqv> Oh no, fate zero memes
<ar> bqv: it was also present in fate stay night
<bqv> That would have been more typing :p
<ar> and a variant of this, Unlimited Butt Works, was present in fake-sports anime i forgot the title of
<pie_> ive been fiddling with this for hours
<pie_> if i dont assignt the return value of a specific multiprocess related function to a variable things break
<pie_> or something
<pie_> ......i think i might have just run into my first python garbage collection related error ever
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos-chat
<ldlework> Ronald Graham died.
cole-h has quit [Quit: Goodbye]
<eyJhb> pie_: are you as uncultured as me?
<pie_> well afterwards i remembered at least that i knew there is such a thing as grahams number but no idea what it is
<eyJhb> Company managed computers, that does BIOS updates WITHOUT warning
<eyJhb> This machine litterally has 2% power
ottidmes has quit [Ping timeout: 246 seconds]
ottidmes has joined #nixos-chat
iqubic has quit [Ping timeout: 260 seconds]
iqubic has joined #nixos-chat
parsley936 has joined #nixos-chat
averell has quit [Remote host closed the connection]
averell has joined #nixos-chat
<jtojnar> pie_: do you remember why you used Xephyr instead of user's DISPLAY?
<philipp[m]> Oh great. Now I can debug why Linux uses half the RAM my bios sees. Going to be fun...
<Arahael> What platform?
waleee-cl has joined #nixos-chat
<philipp[m]> Normal amd64 ryzen 5.
<Arahael> How much RAM?
<philipp[m]> Should be 4x8GB, dmidecode sees all devices, saw no errors in dmesg but topping out at 16GB instead of 32GB.
<Arahael> Curious.
<philipp[m]> Yeah, I'm positive that I did see 32GB of RAM a while ago. I guess I'll see what memtest has to say.
<eyJhb> philipp[m]: ohh, see you in 6 hours then :p
<eyJhb> I should run a memtest on my LP as well...
<ar> philipp[m]: and bios shows up 32G, right?
<eyJhb> Haven't done so in 5 years or so
<philipp[m]> Another thought: Is there some mode where I only get half the RAM at a higher speed that I might have activated accidentally?
<philipp[m]> Yep, bios/uefi shows full ram.
<eyJhb> philipp[m]: reset bios settings?
<philipp[m]> Already did... Might do again just to be sure.
<eyJhb> Also, check for any updates and see if there are any
<Arahael> Do bios updates still require windows?
<eyJhb> SOME do
<eyJhb> Depends
<eyJhb> Other you can flash a USB as FAT32, and plug in, boot, start menu, flash
<Arahael> AH, nice.
<philipp[m]> I can update mine via the usb flash method.
<philipp[m]> Wow, memtest for uefi is fancy.
<eyJhb> How come?
<philipp[m]> Mouse support!
<eyJhb> I should really update my BIOS ...
<eyJhb> It is hella old
<philipp[m]> Eeeeh... If it doesn't give you trouble...
<eyJhb> Security fixes
<eyJhb> Intel fun
<eyJhb> vPRO :p
<eyJhb> I should also be doing maths, but holy hell it sucks atm.
<eyJhb> I hoped they would apply the eGPU patch as well, but sadly not...
<eyJhb> But each 4-5 updates includes a new security fix, so it might be wise to update
iqubic` has joined #nixos-chat
iqubic` has quit [Remote host closed the connection]
<philipp[m]> https://www.gigabyte.com/Motherboard/GA-AB350M-Gaming-3-rev-1x/support#support-dl-bios Oh nice. They forgot to mention that you brick your device if you apply that update from a low version for the latest patch.
iqubic has quit [Ping timeout: 260 seconds]
<eyJhb> philipp[m]: bricked now?
<eyJhb> At least it should have a restore/backup of the bios
<philipp[m]> No, I read ahead.
<eyJhb> You are a greater person than me philipp[m] .
<philipp[m]> I'm paranoid of those things, especially from board vendors.
<philipp[m]> Good thing I did! I was @ version 30 but need 31 in order to not brick the board.
<philipp[m]> They have a flashing utility... Why on earth can't they check for those things?
<eyJhb> They be stupid philipp[m]
<philipp[m]> nix in your uefi... when?
<Arahael> Now, if only the BIOS included nixos...
<eyJhb> I should /part, I would much rather do a BIOS update and memtest of my computer now...
<eyJhb> :(
<eyJhb> Also, Nix EVERYWHERE! I should play with my Pi Zero W soon a throw NixOS onto it
<talyz> lovesegfault: oops, yeah, you're right
<talyz> lovesegfault: I also noticed that I'm using listToAttrs for no reason, so I'll fix that too
<philipp[m]> Managed to upgrade the bios without bricking anything \o/
<eyJhb> Yay!
bqv has quit [Ping timeout: 260 seconds]
<Arahael> This is why I don't upgrade my bios. :)
<philipp[m]> It now has IPsec support... I'm sure they regularly fix their TLS libs.
<pie_> jtojnar: i used xephyr because i didnt want full screen stuff messing up the screen
<pie_> and making testing easier in general i guess?
<pie_> jtojnar: i think. not sure why i didnt just use wines desktop emulation. maybe that was harder to get working, idk
<philipp[m]> Anybody know a place where people can help me with my ram troubles?
<eyJhb> philipp[m]: try a live boot of e.g. Ubuntu, GParted, etc. and see if that is the same
<eyJhb> Or even Windows if you have that
<eyJhb> philipp[m]: does NixOS include memtest in grub?
<eyJhb> Nvm
arahael1 has joined #nixos-chat
Arahael has quit [Ping timeout: 256 seconds]
<eyJhb> Any good software for creating a bootable USB from ISO?
<philipp[m]> nix
<leons> Does dd work for you?
<philipp[m]> Oh, not from iso.
<eyJhb> Yeah, I guess I normally use dd.
<eyJhb> But it is always 50/50 if it works
<philipp[m]> memtest has the same behaviour as linux: al DIMMs show up but I only have halve the capacity. Toggling random bios options now...
<philipp[m]> You can also use cp.
<eyJhb> Guessing, format as FAT32, set partition as bootable, copy shit over?
<philipp[m]> No, cp to block device works.
<philipp[m]> sudo cp foo.iso /dev/sdfoobar
<leons> eyJhb: Mhmm. dd should always work if the ISO also supports booting from USB. That does require some special layout / formatting / weird stuff with the iso, don't know any details
<leons> When that doesn't work, I used to use unetbootin which did the job. Was a long time ago though
<eyJhb> Would not trust unetbootin for a BIOS update :p
<leons> eyJhb: Most mainboards now support loading an update from a FAT-formatted USB in the EFI, including checksum verification
<eyJhb> This does not, sadly
<leons> I used to unbrick mine by booting to an EFI binary supposedly from American Megatrends downloaded from some Dropbox, that would just flash anything without asking questions. I'd probably not recommend that though :)
<eyJhb> This won't boot at all, yay
<eyJhb> F I hate working with ISOs
<eyJhb> They never work, and sometimes it depends on the USB you are using, because they are magic
<philipp[m]> The solution was... to slightly overclock the RAM.
<philipp[m]> I mean... I take it.
<philipp[m]> The DIMMs all were "identical", but two were from a newer production and had a legacy mode that allowed them to work @ 3.2 GHz. Two didn't have that mode. Bios decided to auto set to the lowest memory frequency available, so the two without legacy compatibility were disabled.
<eyJhb> Give up, fuck their shitty tools
<philipp[m]> And they shitty firmwares.
<philipp[m]> *their
<eyJhb> And their shitty security updates. But honestly, how fucking hard can it be.. I have tried multiple startup creators, dd. cp, gparted, copying, multiple USBs
<philipp[m]> I mean, in theory I think fat32 partition and image on it is OK, doesn't your board do that?
bqv has joined #nixos-chat
<pie_> wat <philipp[m]> I mean, in theory I think fat32 partition and image on it is OK, doesn't your board do that?
<joepie91> eyJhb: so I don't know *what* exactly it does, but historically the opensuse image writer has *consistently* produced working boot USBs for me
<pie_> like, an iso on a fat partition? i never tried that. that soudns like it woudlnt work
<pie_> just dding an iso to usb i think always worked for me
<pie_> assuming the machine was capable of booting usb from the first place
<philipp[m]> For me it's just a generic binary file though, not an iso.
<pie_> oh
<pie_> right the bios update stuff
<eyJhb> joepie91: what is the name of it?
<joepie91> eyJhb: "opensuse image writer" , literallly :P
<eyJhb> But, nix-shell -p ?
<eyJhb> I cannot find a thing, under image writer or imagewriter in general
<cransom> i wonder why someone hasn't recreated a homebrew version of an isostick yet.
<eyJhb> Fucking finally
<eyJhb> Using this instead, extract the fucking .img file
<eyJhb> dd, bam, done
<eyJhb> See you in a while!
<eyJhb> It is alive!
drakonis has joined #nixos-chat
<eyJhb> gchristensen: is your /tmp a ZFS volume as well?
<eyJhb> dataset, I guess
<gchristensen> it is just on /
<eyJhb> Perfect
<eyJhb> Then I will just create a new blank dataset, make a snapshot and use that
<eyJhb> I see no reason to use tmpfs, as it requires my precious memory :p
<gchristensen> one reason people like tmpfs is it takes no time to erase
<eyJhb> Don't make me stay
<gchristensen> well
<gchristensen> zfs rollbacks are just about instant too
<eyJhb> Secs are ms or us?
<gchristensen> I've never noticed it being long enough to notice or care
<eyJhb> It is just, things like when i compiled firefox. Having /tmp in tmpfs + using memory for compilng = 0 mem left
<eyJhb> I think I will go that route as you did
<eyJhb> I just need to ... get myself to do it
<philipp[m]> Sounds like you need more RAM.
<philipp[m]> I can tell you one easy trickt to double your ram in just 5h. Doctors hate me!
<philipp[m]> (ymmv)
<eyJhb> Doen't support more than 16 GB
<eyJhb> :( And nothing fancy with the sticks :p
<gchristensen> 8fd24f300c29b0eb3c897ca6b5076bbed1754500
malik has joined #nixos-chat
<eyJhb> Anything good gchristensen ?
<gchristensen> mistake, sorry :)
<gchristensen> copy/pasteing to the wrong window :(
<eyJhb> Good thing it wasn't password!
<eyJhb> a password*
<gchristensen> as far as you know .......
<eyJhb> Could be a secret answer to a question!
<eyJhb> Btw. anyone know of a way, to make passwords one time pastes, like Mac OS X can?
<eyJhb> I can't even remember how to make a dataset now
malik has quit [Quit: malik]
* clever shakes first at predictable interface names
<clever> wlp2s0 magically turned into wlp1s0 because an unrelated nvme device was removed
<clever> how is that predictable??
<immae> hmm that’s exactly what’s not supposed to happen
<clever> and i cant deploy the AP, because the laptop cant get on wifi, because the AP wont start
<clever> immae: exactly!!
<clever> [root@nas:~]# ip link set wlp1s0 down ; ip link set wlp1s0 name wlp2s0
<clever> take that!!
<pie_> :I
<eyJhb> Love NixOS, so easy to switch
<eyJhb> gchristensen: running with zfs dataset on /
<gchristensen> nice!
<eyJhb> It is nice being able to change the base FS so easily, and that can be done with all the parts I guess
<eyJhb> Thinking of how to patch channels/imports. Doing a derivation would be nice, but would have to double rebuild each time. Or.. Would I
cole-h has joined #nixos-chat
<gchristensen> why would it double?
<eyJhb> I have no clue, my thought was if I made a change to e.g. home-manager, that I have locally, then it would have to rebuild to apply my patch to it, and then again to actually use it
<eyJhb> But that would make no sense..
<eyJhb> But there must be a better way, than doing this, Because each time I change something, I would have to give it a new hash I guess
<eyJhb> I need some guidance gchristensen ! :p
<eyJhb> *calling upon the NixOS elders*
<gchristensen> the source expressions aren't part of the hash output :)
<eyJhb> But once I change something in the source? If I have src = { point to a dir }, then each time I change that dir, it would need a new hash. right?
<LnL> nix calculates the content hashes for you if you copy paths to the store
<eyJhb> But, that is manually copying it to the store using the cli?
<eyJhb> Jumping into #nixos
<LnL> casting paths to a string (or builtins.filterSource) will copy them for you
<eyJhb> I think I have to play with it, to understand. Unsure how it would work, sadly...
<LnL> > ./default.nix
<{^_^}> /var/lib/nixbot/state/nixpkgs/default.nix
<LnL> > "${./default.nix}"
<{^_^}> access to path '/var/lib/nixbot/state/nixpkgs/default.nix' is forbidden in restricted mode
<LnL> well, that would be something like this:
<LnL> "/nix/store/9zpky4yjghjn02aprqfnz7ymfwvy156g-default.nix"
<ashkitten> clever: it's because iommu groups are controlled arbitrarily by the motherboard lol
<ashkitten> or something to that effect
<ashkitten> i can't figure out how to make interface naming be based on mac address not hw address
<ashkitten> i know it's possible
<lovesegfault> Eh, what's the nix-y way to get a path like `$out/foo/bar/bazz` and extract just the `bazz`?
<lovesegfault> is there a baseName?
<lovesegfault> > baseName "foo/bar/bazz"
<{^_^}> undefined variable 'baseName' at (string):318:1
<lovesegfault> > basename "foo/bar/bazz"
<{^_^}> undefined variable 'basename' at (string):318:1
<gchristensen> < builtin.baseName "foo/bar/bazz"
<gchristensen> < builtins.baseName "foo/bar/bazz"
<gchristensen> > builtins.baseName "foo/bar/bazz"
<{^_^}> attribute 'baseName' missing, at (string):318:1
<lovesegfault> > builtins.baseNameOf "foo/bar/bazz
<{^_^}> error: syntax error, unexpected $end, expecting '"', at (string):318:22
<gchristensen> < baseNameOf "foo/bar/bazz"
<gchristensen> lol
<lovesegfault> > builtins.baseNameOf "foo/bar/bazz"
<{^_^}> "bazz"
<gchristensen> we are competent
<lovesegfault> What a disaster lol
<eyJhb> "we are what you call profesionals" ^ :D
* gchristensen needs a nap
<Church-> gchristensen: There a way I can test a package build via ofborg without testing it locally first? Want to see if the newest builtsints.fetchGit will fix an issue without me having to build a new nix binary and what not.
<Church-> Since it seems to have submodule support now which might fix a deriv I'm having issues upgrading..
waleee-cl has quit [Quit: Connection closed for inactivity]
<clever> ashkitten: in the old days, udev has shell scripts to dynamically generate more udev rules
<clever> # cat /etc/udev/rules.d/70-persistent-net.rules
<clever> # This file was automatically generated by the /lib64/udev/write_net_rules
<clever> # program, run by the persistent-net-generator.rules rules file.
<clever> ashkitten: that will impurely generate more udev rules, every time a device is inserted
<lovesegfault> Is there a way to override something, like ExecStart, of a unit that's created by a module?
<immae> lovesegfault: systemd.services.foo.serviceConfig.ExecStart = lib.mkForce "something"
<ashkitten> clever: wow, gross
<clever> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1c:c4:6e:00:46", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
<immae> (make sure that the module creates ExecStart and not "script" which is a rough equivalent though)
<clever> ashkitten: rules like this get dynamically generated, so that mac always lands at eth0
<ashkitten> that's very clever, but still gross
* lovesegfault tries immae's suggestion
<clever> -rw-r--r-- 1 root root 444 Mar 24 2012 /etc/udev/rules.d/70-persistent-net.rules
<ashkitten> but i know that predictable interface names can be configured to use mac addresses
<clever> ashkitten: its also nearly an 8 year old solution :P
<ashkitten> i just don't know what files i'd have to tweak
<clever> ashkitten: you can use udev extraRules in nixos, to manually insert a rule like above
<ashkitten> well, yes, but in theory i wouldn't have to do that
<ashkitten> i have 3 ethernet interfaces in my desktop machine, 2 of them in use (the other is an unpopulated SFP+ slot)
<ashkitten> eh, sigh
<ashkitten> i'll probably just forget about it for a while again
<ashkitten> i'm too tired to deal with this today
<lovesegfault> immae: hmm, I don't think that's working
<immae> did you replace the "foo"? What moduel is it?
<immae> lovesegfault:^
<immae> (there was an additional remark to my suggestion which was to check whether the module used "ExecStart" or "script", did you take that into account too?)
<lovesegfault> immae: I did, and the module does use ExecStart (it's the roon-server module)
<lovesegfault> Oh, immae, I am dumb
<lovesegfault> execStart -> ExecStart
<immae> ha ha
drakonis has quit [Quit: WeeChat 2.8]
<colemickens> 5 minutes into sops and my first error completely wiped secrets.yaml. HM.
<lovesegfault> colemickens: lol
<lovesegfault> jesus
<colemickens> It is very neat though. once you read the README a few times and realize what small bits of info you actually need from it.
AluisioASG has quit [Ping timeout: 265 seconds]
<samueldr> I don't know who was interested in having a cheap networked KVM, but here's a project that's basically what I had in mind, https://mtlynch.io/tinypilot/
<samueldr> I don't think it does mouse (yet?)
<samueldr> the pi 4b is likely too much for this, it's highly possible that a much more inexpensive SBC can do it, though it has to support usb gadget mode
<samueldr> the pi 3B series can't because the only gadget mode aware usb host (if I'm not mistaken in the naming of things) is tied to the hub that serves USB
<samueldr> while the 4B has gadget mode tied to the usb-c power jack
<cransom> now is there a linux gadget mode setup that lets you export a virtual cdrom
<samueldr> "now" :)
<samueldr> oh
<samueldr> I misread
<samueldr> I read "now there is"
<samueldr> virtual cd-rom, not 100% sure, but usb block device yes
<samueldr> that's what usbmountr and other linux iso from android phone do it
<samueldr> to me, this project is kinda jumping the gun
<samueldr> but at the same time, it's possibly a way to get the resources to expand on the topic
<cransom> the small usb stick i have has an sd card that you add iso files to, set a file name in a config file, then plug it in and the machine sees a cdrom. but no longer sold.
<samueldr> yeah
<samueldr> glad I bought a second one of those usb capture card directly, as I'm thinking those will end up being impossible to find soon
<samueldr> or a clone (of these clones?) will show up with worse capabilities
<lovesegfault> Who wants to review my first non-trivial PR? :P
<samueldr> they're REALLY handy, and quite low input lag, I used one of them over usbip with the linux kernel to stream my powerful computer that's in another room and the lag is imperceptible to my bad gaming skills
<lovesegfault> Took me two days of spelunking to fix this 💩
<samueldr> lovesegfault: no one, you should just spill the beans instead of trying to drum up some hype :)
<samueldr> (btw, that's said jokingly)
<lovesegfault> samueldr: I already spilled them! they're up!
<{^_^}> #93715 (by lovesegfault, 4 minutes ago, open): roon-server: revamp
tilpner_ has joined #nixos-chat
tilpner has quit [Ping timeout: 246 seconds]
tilpner_ is now known as tilpner
cjpbirkbeck has joined #nixos-chat
<lovesegfault> :O
<samueldr> this is quite nice
<samueldr> in my opinion (probably shared by many here) nix is a multiplier factor
<samueldr> I probably couldn't do what I do with the same confidence level without Nix
lopsided98 has quit [Quit: Disconnected]
malik has joined #nixos-chat
<ashkitten> i'm very excited for nix on redox
<ashkitten> and the idea of building redox images with nix could evolve into building a redox system with nix, something akin to nixos
* ashkitten will never stop yelling about nixos on non-linux platforms
<eyJhb> ashkitten: Agree, it sounds awesome. I LOVE the idea of Redox
<eyJhb> Honestly, having a OS in a secure language like that sounds awesome
<ashkitten> yep
<eyJhb> Once I can use Nix on Redox, I am switching and hating my life while loving it
waleee-cl has joined #nixos-chat
<philipp[m]> Finally an OS that we can't distract ourselves with steam on again.
<samueldr> yet
<samueldr> 2025 the year of the redox desktop
<philipp[m]> Reminds me of my Chaos Communication Congress friend. He always comes by the nixos assambley and is decently drunk and tries to talk the people there into using plan9 as the new base for nixos because of it's namespacing.
<adisbladis> <3
<adisbladis> That's awesome
<adisbladis> The thing about ppl interested in NixOS is that that's a real conversation starter
<ashkitten> imo we shouldn't have just one thing as the single base for nixos
<ashkitten> it should be modular
<adisbladis> If only other operating systems had similar feature sets as systemd..
<ashkitten> we switched entirely from sysvinit to systemd at some point, right? should have made it a generic thing instead
<philipp[m]> adisbladis: I don't even know what plan9 uses for init.
<philipp[m]> Also I'm pretty sure that you and me both talked to the plan9 evangelist at one point.
<samueldr> first, there's maintenance cost, and then, feature loss by going to the common denominator
<adisbladis> ashkitten: It was upstart at some point
obadz has joined #nixos-chat
obadz has quit [Client Quit]
<adisbladis> But yeah, what samueldr said
obadz has joined #nixos-chat
<samueldr> it's possible to not lose features, but then this adds to maintenance cost
<samueldr> I think it's never been "no we don't want that", but always "we can't afford that"
<philipp[m]> Fully agree to that. I have to use a lot of debian and their half hearted systemd migration is really hurting the ux and stability of the system.
<lovesegfault> Is wine broken in nixos-unstable for everyone or just me?
<philipp[m]> What wine? All of them?
<samueldr> define broken, but yesterday I used `wine` just fine
<samueldr> from nixos-unstable
<philipp[m]> I'm building wineWowPackages.staging right now. Let's see.
<ashkitten> agreed on the debian thing
<lovesegfault> nix-shell -E 'with import <nixpkgs> { }; (wine.override { wineBuild = "wine64"; })'
<lovesegfault> this worked fine :shrug:
<ashkitten> but that's partly because debian is using shim cruft to glue two init systems together, nixos could do it in a way that gives either pure systemd or pure runit or sysvinit or whatever
<ashkitten> i understand the maintenance cost, though
<adisbladis> We also don't generate all units, we use a bit of upstream units too
<philipp[m]> lovesegfault: wineWowPackages.staging is alright.
drakonis has joined #nixos-chat
malik has quit [Ping timeout: 260 seconds]
<drakonis> alas
<drakonis> i have my very own cloud instance now
<drakonis> no more missing out on logs
<eyJhb> znc?
<drakonis> gonna use a weechat relay instead of znc
<eyJhb> Any advantages?
<drakonis> weechat supports bitlbee
<drakonis> so i can use other services to chat
<drakonis> i can also connect to the relay with my phone
<eyJhb> ZNC supports bitlbee ? :D
<eyJhb> I use ZNC + Bitlbee
<drakonis> does znc support bitlbee?
<drakonis> i see
<drakonis> i think it also does some other stuff with plugins but who knows
<eyJhb> Anything IRC, ZNC can use
<drakonis> okay it does plugins
<drakonis> so anything bitlbee plus a variety of plugins
<eyJhb> e.g. my bitlbee instance binds to 127.0.0.1, and then I use ZNC to connect to it
<eyJhb> Weechat plugins?
<drakonis> yeah
<eyJhb> Now I will say something something
<eyJhb> ZNC has plugins/modules as well :D
<drakonis> cool
<samueldr> you could also use weechat through znc
<drakonis> neat
<samueldr> like, I use quassel -> znc -> irc
<eyJhb> What I am doing
<drakonis> i'll probably just ssh into it and open weechat
<drakonis> because why not
<eyJhb> I just need to setup two acconts for my ZNC, so that my mobile and laptop does not interfere
<drakonis> i also need it for vpn bizniz
<philipp[m]> Man, you people really put a lot of effort into getting the matrix feature set :-p
<drakonis> because the university's firewall is kinda bad
<drakonis> ehhh
<drakonis> matrix aint my jam
<eyJhb> Don't like it :p
<eyJhb> Maybe for a IRC to Matrix bridge
<joepie91> I should find someone who'll pay me for filing bugs
<samueldr> philipp[m]: my setup is from before matrix was a thing :)
<samueldr> well, quassel might not have been, but I was using znc for a while
<drakonis> matrix is dearly overrated
<colemickens> k
<eyJhb> Are the matrix clients as minimal as Weechat etc.?
<eyJhb> I have considered swiching
<joepie91> Matrix happens to be the thing I am currently filing bugs against :P
<eyJhb> NO MATRIX
<eyJhb> BUUUH
<joepie91> eyJhb: there's a matrix plugin *for* weechat :P
<eyJhb> :D
<philipp[m]> That is pretty out of date and unmaintained though.
<eyJhb> UHHHH
<eyJhb> Aww
<eyJhb> :(
<eyJhb> If it has a as minimal clients, I am go. And I can use Vim bindings
<eyJhb> ELso I am outta here
<philipp[m]> There is gomuks, I think it's comparable. E2EE isn't properly there yet but that's irrelevant for irc bridging anyway.
<colemickens> gomuks does what I need and is light enough (aka I forget it running in tmux constantly)
<colemickens> You can text verify gomuks for e2ee
<joepie91> really? AFAIK quite a few people are using it
<joepie91> (with success)
<colemickens> I added info to the wiki on GH a while back
<joepie91> ^ the spec still needs some work :P
<ashkitten> guh, our version of element-desktop doesn't have seshat :(
<colemickens> eyJhb: if there isn't one already, there will be one in a year
<colemickens> plus I think there's already weechat-matrix
<colemickens> Oops, already mentioned.
<joepie91> ashkitten: so, weird thing, searching E2EE conversations has worked for me in the past
<joepie91> client-side
<joepie91> with nixpkgs-packaged Riot
<joepie91> so I'm not sure what's going on there exactly
<colemickens> ashkitten: there's an issue for it. someone tried and I guess it was non-trivial?
<colemickens> hm
<philipp[m]> I tried. It's hell!
<ashkitten> tbh i might just package radical-native to use with home-manager
<ashkitten> i like having my client in browser
<philipp[m]> Packaging that is also hell.
<ashkitten> why so?
<colemickens> TIL, I've never even heard of that
<eyJhb> Written in GO YOU SAY!
<eyJhb> :o
<eyJhb> Loving it
<ashkitten> philipp[m]: it's just a rust program
<joepie91> philipp[m]: are you just trying to say that all Nix packaging is hell :P
<philipp[m]> ashkitten: Yes, built with npm commands in a yaml package.
<ashkitten> can you just ignore that and use cargo?
<joepie91> what
<ashkitten> if you don't want to build the extension
<philipp[m]> I think trying that would be a very good idea.
<philipp[m]> Maybe we can use the finished rust package somehow in the riot-desktop build then.
<ashkitten> i doubt it
<ashkitten> it's only made to talk to radical-native i think
<philipp[m]> We are way to on topic again here :-p
<ashkitten> just built the binary with cargo
<philipp[m]> ashkitten: I can't find the docs right now, but somewhere I read that all you need to do is to depend element on matrix-seshat and build it and you'll get encrypted room search.
<ashkitten> sure, but i'm not building matrix-seshat
<ashkitten> i'm building radical-native
<ashkitten> which uses matrix-seshat
<philipp[m]> Ah, yes. No node to ruin your day there.
<ashkitten> the webextension is already packaged on github so i don't really care too much about building that
<colemickens> btw philipp were you commenting that you'd tried to build matrix-seshat? I'm going to take a few minutes and crack at this. Or ashkitten it sounds like maybe you have a matrxi-seshat derivation laying around? or maybe you're doing this right now and I should wait and listen.
<ashkitten> no, i've literally just built radical-native with cargo
<ashkitten> i haven't packaged shit
<ashkitten> i might work on that in a bit if i feel like it
<colemickens> aha, I didn't know matrix-seshat was just rust. That gives me hope.
<ashkitten> it is
<ashkitten> well
<ashkitten> seshat is rust
<philipp[m]> matrix-seshat is node.
<ashkitten> matrix-seshat is a node native package or whatever
<ashkitten> it links to seshat
<colemickens> oh they hid the package.json in a subdir. smart
* colemickens rapidly loses interest
<ashkitten> basically we're just going to have to patch the package.json before running yarn2nix or something
<eyJhb> joepie91: does gomucks support vim bindings?
<philipp[m]> But then you'll have to tell yarn2nix to depend on that natively build rust package somehow.
<joepie91> eyJhb: not a clue! I wasn't the one who mentioned it :D
<ashkitten> philipp[m]: just put it in buildInputs?
<philipp[m]> ¯\_(ツ)_/¯ Worth a shot
<colemickens> eyJhb: appears an open request: https://github.com/tulir/gomuks/issues/129 (they're just waiting for your Go skills, I hear ;P)
<{^_^}> tulir/gomuks#129 (by MRAAGH, 16 weeks ago, open): vi (vim) mode
<eyJhb> Time to ruin some poor developers life!
<philipp[m]> And tulir was always so nice.
<ashkitten> ugh yeah this shit sucks
<ashkitten> i'm just gonna work on radical-native like i was doing
<philipp[m]> >I tried. It's hell!
<philipp[m]> Y'all could have just believed be :p
<ashkitten> again, i dont care at all about building the webextension
<eyJhb> There is only.. gomuks and weechat-matrix
<ashkitten> i only care about the native client
<eyJhb> The hell :(
<ashkitten> and i don't care about putting it in nixpkgs right now
<ashkitten> really they should have made seshat buildable to wasm and include it in element-web like that
<savanni_> For a moment I thought y'all were bundling a Go client I didn't know about, and found that really incredible since I'm bundling a Go client...then I realized you were talking the language not the game.
<ashkitten> the only thing that can't do that in theory is keytar since it uses hardware key storage or something
<philipp[m]> I mean... they are building an entire matrix server to web assembly for their p2p project. That simple little tool shouldn't be a problem for them.
<eyJhb> Feel. My. Pain. savanni_ :p
<savanni_> Oh?
<savanni_> I mean, the app I'm building is Electron, so it is quite painful in Nix...
<eyJhb> That is how I have it each time the Go game is mentioned :p
<savanni_> Yeah. That's a thing.
<eyJhb> last commit to weechat-matrix was 17 days ago? Is it really that dead?
<eyJhb> Okay, it it in-between stages I see
<philipp[m]> Oh, it's alive again? It was dead for a long time.
ixxie has joined #nixos-chat
cole-h has quit [Ping timeout: 256 seconds]
parsley936 has quit [Remote host closed the connection]
parsley936 has joined #nixos-chat
<eyJhb> philipp[m]: Semi, they use rust now, and will not add new things to the other version
<eyJhb> But the Rust version is not mature
parsley936 has quit [Remote host closed the connection]
<eyJhb> UH!
<eyJhb> Slack integration
<eyJhb> I just told my GF something that annoys me soo much, and got a "Did they?!". She has now started just doing that, if I sound upset about something, without understading it
<eyJhb> Is that goals?
* colemickens wonders how many different people have lost blood to node-seshat
<eyJhb> joepie91: how does the bridges work?
<eyJhb> In regarding to e.g. the synpase home server and the nixos module?
<eyJhb> (how would one configure eg. the slack bridge)
<joepie91> eyJhb: that is a very open question considering I just got out of my chair to go to bed :P
<eyJhb> AHh, sorry! To bed then :D
<joepie91> eyJhb: bridges are separate daemons (appservices), developed and released separately
<joepie91> not a part of the homeserver
<joepie91> they are basically extra-privileged clients that can impersonate a prefix of room/user names
<joepie91> anyway, off to bed :P
<eyJhb> Perfect. then I guess there is no module for Matrix slack bridge thing :p
endformationage has joined #nixos-chat