gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
Lukas4452 has quit [Ping timeout: 245 seconds]
<gchristensen> > No need to create a Google account to save subscriptions
<{^_^}> undefined variable 'No' at (string):262:1
<gchristensen> sold!
<gchristensen> lol
<infinisil> gchristensen: And it doesn't even need Javascript!
<gchristensen> whaaaat
<infinisil> And you can self-host!
<gchristensen> infinisil I can only take so much
<gchristensen> is there a way to search my gists? hmm
drakonis_ has joined #nixos-chat
<infinisil> Oh, and there is movement to implement subscription groups! https://github.com/omarroth/invidious/issues/482
<{^_^}> omarroth/invidious#482 (by trwnh, 19 weeks ago, open): Feature request: Sort subscriptions into categories
<infinisil> A feature YouTube had a while ago, which I used a lot, but they got rid of it
<gchristensen> what is it?
<infinisil> (see above msg)
<gchristensen> ah!
drakonis_ has quit [Ping timeout: 264 seconds]
<gchristensen> man, I am really proud of that fstab parser
<infinisil> gchristensen: That is some concise parsing!
<gchristensen> did you see the test cases? :D
<gchristensen> that is , interestingly, *all* of the test cases from libmount
pie_ has quit [Remote host closed the connection]
<infinisil> That's a lotta tests
<gchristensen> it is but also I was sort of hoping libmount would have more .. :)
srk has quit [Quit: ZNC - http://znc.in]
drakonis_ has joined #nixos-chat
drakonis has joined #nixos-chat
srk has joined #nixos-chat
drakonis_ has quit [Ping timeout: 276 seconds]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos-chat
drakonis1 has joined #nixos-chat
drakonis1 has quit [Ping timeout: 250 seconds]
aleph- is now known as old_man_yells_at
old_man_yells_at is now known as OldManYellsAtClo
OldManYellsAtClo is now known as SrCloudYeller
Lukas4452 has joined #nixos-chat
endformationage has quit [Ping timeout: 268 seconds]
<ashkitten> beep
<jackdk> boop
<eyJhb> Might actually be more of a issue with my laptop not understanding how to charge a battery apparantly
<sphalerite> Just started writing a script to set up my monitors the way I want them, then realised that comparing two sets is really not something I want to do in bash
<sphalerite> and now I'm hesitating as to what to use instead
<eyJhb> sphalerite: what is wrong with autorandr?
<eyJhb> Or, are we not talking placement?
<sphalerite> eyJhb: there are several docks I use at work, and they have different sets of monitors connected
<sphalerite> eyJhb: and the layout isn't always left-to-right
<sphalerite> eyJhb: currently I'm using autorandr and telling it which profile to use, but it would be so much nicer to just work it out based on which monitors are connected :)
<eyJhb> sphalerite: same, but that should be fine with autorandr none the less?
<eyJhb> But, isn't that what autorandr currently does? I have three profiles, which work like that
<eyJhb> Fairly certain it does fingerprinting of some kind
<sphalerite> hm
<sphalerite> so how would I tell it to use the "best" profile?
<eyJhb> sphalerite: autorandr --change is what I normally use, sometimes with --force. Then it will use the first found profile. But I would suggest you look at "--fingerprint" too for each setup, to see if they are "the same". Else you could just force load the specific profile if the "--change" doesn't work
<sphalerite> aah
<eyJhb> Did something click into place? :D
<sphalerite> very nice
<sphalerite> thank you!
<eyJhb> No problem sphalerite ! :D
<eyJhb> Would have been sad if you had stated working on doing it yourself, and autorandr could do it for you :p
<eyJhb> *sidenote: I know one shouldn't cry over spilt milk, but what about spilt wine?
<sphalerite> lol
drakonis has quit [Ping timeout: 248 seconds]
drakonis has joined #nixos-chat
<eyJhb> Wondering if I my laptop can install NixOS in time
<eyJhb> The DL speed doesn't seem like the best, but that might be because it is a TON of small packages
<eyJhb> Btw. shoutout to DriveDroid to anyone with Android and a rooted phone, it is wonderfull if you don't want to create a USB/CD - https://play.google.com/store/apps/details?id=com.softwarebakery.drivedroid
<eyJhb> Need to fetch 12GB of packages
drakonis has quit [Ping timeout: 244 seconds]
zfnmxt has joined #nixos-chat
drakonis has joined #nixos-chat
<srhb> eyJhb: If small packages is the issue, more jobs means more concurrency and might help :)
<srhb> Also just copying an existing store and using the same release might help.
drakonis has quit [Ping timeout: 245 seconds]
drakonis has joined #nixos-chat
<eyJhb> It actually was much faster than expected srhb :D Building blender took the most time..
<eyJhb> Now I am considering if I should rsync my home folder from my main laptop, to the other I just installed
drakonis has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos-chat
<infinisil> eyJhb: Ehh, that might get annoying with "oh where did i have the most up-to-date version of this again?"
<infinisil> I know this happened to me with some stuff i copied from one to the other
NinjaTrappeur has quit [Quit: WeeChat 2.5]
NinjaTrappeur has joined #nixos-chat
Lukas4452 has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos-chat
Lukas4452 has joined #nixos-chat
drakonis1 has joined #nixos-chat
drakonis has quit [Ping timeout: 258 seconds]
drakonis_ has quit [Ping timeout: 276 seconds]
Lukas4452 has quit [Ping timeout: 245 seconds]
Lukas4452 has joined #nixos-chat
<zfnmxt> infinisil: syncthing :)
<zfnmxt> (addresses that issue)
Lukas4452 has quit [Ping timeout: 245 seconds]
Lukas4452 has joined #nixos-chat
nabana has quit [Ping timeout: 250 seconds]
<gchristensen> haha
Lukas4452 has quit [Ping timeout: 250 seconds]
Lukas4452 has joined #nixos-chat
Lukas4452 has quit [Client Quit]
drakonis has joined #nixos-chat
vika_nezrimaya has joined #nixos-chat
drakonis has quit [Ping timeout: 252 seconds]
drakonis has joined #nixos-chat
waleee-cl has joined #nixos-chat
endformationage has joined #nixos-chat
SrCloudYeller is now known as Church-
drakonis_ has joined #nixos-chat
drakonis1 has quit [Ping timeout: 264 seconds]
psyanticy has joined #nixos-chat
<elvishjerricco> With a downloaded TV show, how do you keep track of your progress through it like e.g. netflix does? VLC doesn't seem to have any features for this
<joepie91> elvishjerricco: VLC does store progress in a particular file, not of eg. a season
<joepie91> elvishjerricco: Kodi does support this though
<joepie91> (and generally has a concept of 'series' and 'seasons' :P)
<samueldr> elvishjerricco: progress in a file or a series?
<elvishjerricco> in a series
<elvishjerricco> never looked at kodi before
<elvishjerricco> Though it doesn't seem to track progress in a file for me either
<samueldr> series, I just try to remember, in a file, mpv supports resuming videos
<joepie91> it's worth a try, though it's very different from VLC
<joepie91> more a media center thing
<joepie91> less a video player
<samueldr> yeah, kodi is nice if you let it manage a library
<joepie91> also has plugins for stuff like plex and emby etc. afaik
drakonis has quit [Quit: WeeChat 2.5]
<elvishjerricco> I will take a look at kodi then :)
<infinisil> elvishjerricco: I have the most ad-hoc method for this: I start the player with this on the command line: `mpv SeasonFolder/Ep01.mkv`
drakonis has joined #nixos-chat
<infinisil> Then when I want to continue watching, it autocompletes this, so I know I watched 01 last time :)
<elvishjerricco> Kodi seems very much designed for TVs
drakonis_ has quit [Ping timeout: 272 seconds]
<joepie91> elvishjerricco: it was originally XBMC
<joepie91> XBOX Media Center
<joepie91> :p
<joepie91> so, yeah, basically
<joepie91> pairs very well with a USB remote though
<elvishjerricco> I can't seem to add a show to kodi. I add the folder, tell it that it contains tv shows, and nothing appears in the shows menu
pie_ has joined #nixos-chat
<joepie91> elvishjerricco: the scanning is not perfect, but usually works decently well
<joepie91> elvishjerricco: is it a folder containing *multiple* shows?
<elvishjerricco> Hasn't worked for anything I've got. Whether I choose individual shows or the whole folder of shows.
<joepie91> elvishjerricco: make sure that the "contains single show" tickbox matches the folder
<joepie91> if not, it gets very confused
<elvishjerricco> I did
<joepie91> elvishjerricco: also, how are the folders structured?
<elvishjerricco> show/season/Ep. XY - Title-[resolution].mkv
<elvishjerricco> With some unrelated files in the show directory
<joepie91> elvishjerricco: ah, the "Ep." might be what it's breaking on
<joepie91> Exx is the common notation
<joepie91> and "Season xx" or "Sxx" for the seasons
<joepie91> I don't know how broad Kodi's filename parser is though
<joepie91> but I would expect something like "Show Name/Season 01/E01 - Foo Bar [HD].mkv" to work for example
<elvishjerricco> joepie91: I've got another show that uses `show/season/Show Name SxxEyy Title.mkv`, and that didn't work
<joepie91> huh, then something else is probably going on
<joepie91> might want to ask on their IRC channel if that still exists
<elvishjerricco> Oh, I was trying to use the local based thing rather than the internet db :P Guess it doesn't really understand file names very well at all. Though the `Ep. XX` one still isn't working...
pie_ has quit [Quit: pie_]
<joepie91> elvishjerricco: probably won't unless you either submit a PR for that format, or rename them to Exx :P
obadz has quit [Ping timeout: 245 seconds]
<zfnmxt> Can anyone here recommend a VPS host in Europe? I guess I prefer hosts that let you use custom ISOs, but there's always nixos-in-place, although I haven't tried it (have any of you?).
<zfnmxt> Cryptocurrency payment is also nice, but not a strict requirement. (But preferred.)
<gchristensen> switching to zfs has made it a lot harder for me to not run out of space
<joepie91> zfnmxt: any other requirements? also, does only the server itself need to be in Europe, or does the company also need to be in Europe?
<joepie91> (and does "UK" count as Europe to you?)
<zfnmxt> Just the server, and the UK is actually preferred because then I can use it as a VPN too. (Other countries make my internet all non-English and blah.)
<joepie91> zfnmxt: would recommend Inception Hosting then
<joepie91> UK company and servers, accepts Bitcoin iirc, and has a NixOS ISO
<joepie91> and stable services in my experience
<elvishjerricco> gchristensen: How so?
<joepie91> (have also been around for many years)
<gchristensen> elvishjerricco: if I create a big file on disk it gets snapshotted and then I can't delete it
<gchristensen> I can "delete" it but it doesn't release disk space until I delete all the snapshots it was in
<joepie91> zfnmxt: note that NixOS is only supported on KVM (though this is generally true, not just for this specific provider)
<elvishjerricco> Ah. Yea the inability to delete individual files from the entire snapshot history is one of the biggest problems with snapshots
<zfnmxt> joepie91: Wow they're really cheap D:
<gchristensen> and I also have a lot of hard drive churn
<joepie91> zfnmxt: I think their ISO is still 18.09, but you can just configure a different channel prior to `nixos-install`, and if you really want to install from a newer version of the ISO, you can just send them a ticket and they'll likely update it for you
<joepie91> zfnmxt: their pricing is fairly typical for VPSes nowadays :P
<zfnmxt> Oh, cool. That works too. I just said custom iso because I've never seen NixOS offered as an option anywhere.
<joepie91> for cheapo ones anyway
<joepie91> yeah, understandable
<joepie91> zfnmxt: there's a wiki page at https://nixos.wiki/wiki/NixOS_friendly_hosters fwiw
<zfnmxt> They offer crypto payment too! Nice.
<joepie91> but in my experience most providers will add an ISO if you ask in a ticket
<joepie91> (direct ISO upload support is more rare)
<joepie91> the reason Inception has an ISO is because I have a storage server running NixOS there :)
<zfnmxt> Aha :)
<zfnmxt> I've been using Lunanode since they do custom iso + crypto, but the performance is pretty bad for what I'm willing to pay.
<zfnmxt> They're just a VPS reseller, so it makes sense they'd cost more.
<joepie91> huh, Lunanode a reseller?
<joepie91> they manage their own servers, I thought?
<zfnmxt> Pretty sure I read somewhere they're a reseller
<joepie91> that'd really surprise me, afaik they have a custom control panel and everything even
<zfnmxt> I think they resell OVH?
<joepie91> they have servers at OVH, but that doesn't mean they're reselling OVH services
<zfnmxt> Their control panel stuff is really good, though.
<zfnmxt> Not sure I understand the distinction.
<joepie91> I really only count something as "reselling" when the service is passed-through as is with no management on the side of the seller :)
<infinisil> gchristensen: Yeah I've noticed that problem with snapshots too.. I'm now trying to avoid having temporary big files
<zfnmxt> Ah, okay, right.
<infinisil> Or folders
<joepie91> otherwise nearly every single hosting provider would be "reselling" their datacenter
<gchristensen> yeah, I can't avoid that :P
<joepie91> just because they use infra there
<zfnmxt> I just meant some providers are purchasing the actual bare metal hardware.
<zfnmxt> Whereas others rent that hardware from companeis.
<joepie91> well sure, but that's just renting vs. purchasing infrastructure, and mostly an implementation detail
<joepie91> doesn't affect the amount of control they have over it really
<joepie91> which is where the problem with reselling comes in, the lack of control
<zfnmxt> An implementation detail that likely leads to somewhat more expensive VPSs :)
<joepie91> not necessarily!
<joepie91> especially with OVH :P
<zfnmxt> Guessing OVH is very cheap?
<zfnmxt> I'm just a casual consumer with this stuff, I don't know much about it.
<joepie91> yeah, OVH is a highly-optimized and highly-automated operation, it's difficult to beat their pricing even with your own hardware over a long timespan
<joepie91> like, half their datacenters are designed as reproducible shipping container units
<joepie91> that they can just stack
<zfnmxt> That's pretty cool :D
<zfnmxt> The whole VPS thing is cool regardless. For like $3/month you get insane utility/value.
<joepie91> everything short of actual physical rack-and-stack operations is automated, pretty much
<joepie91> including hardware defect monitoring
<joepie91> if your HDD on an OVH server breaks (and you didn't disable their monitoring), you'll just get an e-mail going "hey our system detect your HDD broke, we've sent out a tech and it'll be fixed soon" and like 30 minutes later you have a new HDD
<joepie91> without any tickets
<zfnmxt> Don't they RAID the drives for redundancy?
<joepie91> not on the very cheapest servers
<zfnmxt> Ah
<joepie91> on the more expensive ones, sure
pie_ has joined #nixos-chat
<zfnmxt> We're talking dedicated servers, here, right?
<joepie91> point being, everything is automated, even the hardware defect monitoring, which is really unusual
<joepie91> so they can scale at insane speeds
<joepie91> yeah
<zfnmxt> Right, makes sense.
<joepie91> but yeah, that sort of thing, plus building datacenters near cheap energy sources, etc. makes OVH super cheap comparatively speaking
<gchristensen> ohhhvh
<joepie91> and hard to beat with own hardware
<zfnmxt> I've read cold places are popular too to reduce cooling costs.
<joepie91> right
<zfnmxt> Anyway, thanks for the pointers. Gonna switch over to Inception :D
<joepie91> zfnmxt: anyway, afaik Lunanode are using OVH for two locations (France, Quebec) and something else for the third (Toronto?)
<zfnmxt> Yes, that's right.
<zfnmxt> I'm in France, obviously.
<joepie91> right
<zfnmxt> Their support was actually really good too. Made me a custom VPS for my requirements. :)
<joepie91> yeah
<zfnmxt> But some things are jank. Their "compute" units are totally messed up.
obadz has joined #nixos-chat
<joepie91> good/flexible support is a common thing at mid-budget small hosting providers, IME
<zfnmxt> They're slower than offerings that should be a lot slower.
<joepie91> it's the same reason I have some stuff at Afterburst and RAM Host for example, neither of which are especially cheap
<joepie91> but I can just assume that if I have some weird problem/request/situation/whatever, they'll sort it out, somehow
<joepie91> pretty much no matter what it is
<zfnmxt> Yeah :D
<zfnmxt> But I don't have anything insane
<zfnmxt> I'm just using it for ZNC + a Matrix server basically
<zfnmxt> And some Syncthing stuff
<zfnmxt> Don't actually need a lot, but I'm getting my family to move to my Matrix server so I want to make sure it runs well for them.
<joepie91> ah yeah, I do run a bunch of stuff in prod
<joepie91> I'm cheating a bit though, I know the hosting industry entirely too well :P
<zfnmxt> I don't have anything like that....yet :)
<joepie91> like, I know half the reputable providers over on LowEndTalk on a personal basis, pretty much...
<joepie91> helps a lot in getting problematic things hosted
<infinisil> zfnmxt: Oh, how did you manage to convince your family? What were they using before?
<joepie91> (like controversial security research disclosures etc.)
<zfnmxt> I almost switched to netcup.eu because they were so cheap. But read really bad things about them on LowEndTalk, so I avoided.
<zfnmxt> infinisil: Wire, but Wire never works. And I'm the one that got them to switch to Wire >.<
<joepie91> I haven't used netcup, but my impression of them is "it's pretty good until you need support, and then welcome to hell"
<infinisil> zfnmxt: Haha
<zfnmxt> And I have such a soft spot for Wire because it's written in Haskell :P
<zfnmxt> But it's really unreliable. Especially calls.
<joepie91> zfnmxt: btw, if you need insane amounts of RAM for $fuckall, Hetzner is another option (though they are a bit more difficult on the billing side)
<joepie91> I can't speak for their support
<zfnmxt> joepie91: My impression as well. They're stuck in 1980s Germany contract stuff.
<zfnmxt> Like everything in Germany =/
<gchristensen> hetzner is great
* zfnmxt lives in Germany
<zfnmxt> gchristensen: I read that too :P
<gchristensen> and ridiculously cheap
<joepie91> but we're talking "4GB RAM for 5 EUR" pricing
<zfnmxt> netcup.eu have a dedicated server with 8GB of RAM and 2 cores and a 300GB SAS drive for like $8/month
<zfnmxt> It's stupid cheap
<joepie91> zfnmxt: yeah, the contract stuff is weird.
<joepie91> zfnmxt: I've noticed this with some French and German providers in particular
<zfnmxt> It's really big in Germany
<joepie91> ancient snailmail-based cancellation processes etc.
<zfnmxt> Sign up for *anything* in Germany, and you have contracts
<zfnmxt> With cancellation notice periods and stuff. That all auto-renew unless you cancel in writing at least xx months ahead.
<zfnmxt> It really, really sucks.
<joepie91> zfnmxt: used to be an issue in NL, pretty much got stamped out via legislation
<zfnmxt> Top that off with absolutely ludicrously expensive phone plans and the like and it's a bummer :)
<zfnmxt> I used to live in Denmark, and it's 10x cheaper for me to keep my Danish phone number and just roam than it is for me to ger a GErman phone plan :D
<zfnmxt> to get a *
<joepie91> yep, same here
<zfnmxt> joepie91: Yeah..I hope Germany fixes all that crap
<joepie91> zfnmxt: the phone plan nonsense (incl the "free phone" scam) was addressed here by essentially legally requiring every single ad from a mobile provider to include a visual financial disclosure similar to a bank loan
<joepie91> about the real cost of the phone, the plan, the plan details, etc.
<zfnmxt> Right. Good for competition too.
<joepie91> yep, it's improved things overall
<zfnmxt> In Denmark, it seemed like there were 50 different providers.
<zfnmxt> I got unlimited everything for something like $12/month on my phone.
<zfnmxt> Here, they make you video call with someone to confirm your identity when you get a new sim card. =/
buckley310 has joined #nixos-chat
buckley310 has quit [Client Quit]
<joepie91> thing at the bottom is a 'credit warning' incl details
<joepie91> and even in the ad itself, it distinguishes between the subscription and phone cost
<zfnmxt> And total price is 37 + 13 + 24?
<joepie91> per month, yeah
<joepie91> total device cost 576 EUR, 24 month contract
<zfnmxt> Right.
<joepie91> oh sorry
<joepie91> I misread
<zfnmxt> I'd never buy a phone on a contract, though.
<joepie91> no, total price is 37 = 13 + 24
<zfnmxt> I avoid contracts at all cost.
<joepie91> basically there's a breakdown in the ad
<zfnmxt> Oh, I see.
<joepie91> requiring that has resolved a lot of issues with misleading advertising :P
<zfnmxt> Yeah, it's definitely better.
buckley310 has joined #nixos-chat
<zfnmxt> I think the issue in Germany is that it's all a monopoly.
<zfnmxt> I don't know that much about it, but I think the German telekom basically owns everything.
<joepie91> zfnmxt: and our subscription legislation in general is super strict now. you can't trick people into continuing a trial (it requires an explicit acknowledge to continue after the trial), there's a max term for subscriptions, you can cancel without a fine if *any* of the meaningfuk properties of the subscription change (magazine frequency, internet speed, etc.)
<joepie91> meaningful*
<zfnmxt> Yeah, that's better.
<joepie91> you must be allowed to cancel via the same medium as you used to start the sub
<joepie91> which prevents the snailmail bullshit :)
<joepie91> etc. etc.
<gchristensen> that sounds so good
<zfnmxt> Here it's "hey try this free thing out (btw you'll be magically entered into a two year contract if you forget to cancel))
<joepie91> heh yeah, that's what we used to have before this :D
<zfnmxt> The same medium thing is really good.
<zfnmxt> Having to cancel via a signed letter is just absurd, but a common requirement here.
<joepie91> zfnmxt: I've heard some noises that this may actually be an EU thing that's just being disregarded by a lot of German companies
<joepie91> but I haven't had the time to look into it further
<joepie91> specifically the same-medium thing I mean
<zfnmxt> Not sure. Practically everywhere in Germany requires a signed letter, with a 3 month notice.
<zfnmxt> Anyway, gonna go set-up my Inception box now. Thanks again for the rec :D
<joepie91> wouldn't be the first time German companies blatantly ignore an EU-instituted regulation :)
<joepie91> iirc there was a kerfluffle over net neutrality also, with Deutsche Telekom
<joepie91> and enjoy :P
<joepie91> zfnmxt: btw, are you setting it up manually?
<zfnmxt> What's "manually"?
<joepie91> zfnmxt: as in, SSHing into it, editing /etc/nixos/configuration.nix, and running nixos-rebuild
<joepie91> when you want to change stuff on the server
<zfnmxt> Essentially. Was just going to take my Lunanode config.nix and move it over and rebuild.
<zfnmxt> Along with some dotfiles and keys, yeah.
<joepie91> zfnmxt: in that case I'd recommend giving morph a try: https://github.com/DBCDK/morph
<zfnmxt> Is there a better way I'm unaware of?
<joepie91> unlike NixOps which has a lot of complexity, morph is a pretty small step from a configuration.nix on the server
<joepie91> but automates away the "SSH and rebuild" step
<joepie91> especially useful once your server collection grows :P
<joepie91> as you can reuse bits of config between servers and such
<zfnmxt> Oh cool
<zfnmxt> Have you found a good way to manage stuff that nix doesn't?
<joepie91> zfnmxt: stuff such as?
<zfnmxt> Like, I have to manually move over my ZNC certs.
<joepie91> zfnmxt: morph has a secrets upload feature :)
<joepie91> which is precisely for this purpose
<zfnmxt> Oh :D
<joepie91> so you can just add the secret paths to your config, and .gitignore the folder with the secrets or w/e
<gchristensen> oh nice, like nixop's keys?
<joepie91> and run the 'upload secrets' command
<zfnmxt> I've also been using yadm for my dotfile stuff, but maybe that's a better for that too?
<joepie91> gchristensen: I find it difficult to answer any "like NixOps' ____" question because there's so much intransparent complexity behind it :P
<gchristensen> :|
<joepie91> gchristensen: but the technical properties are "uploads directly to host FS without ever touching a Nix store"
<gchristensen> cool, like nixops' keys
<joepie91> gchristensen: alright
<gchristensen> okay
<joepie91> zfnmxt: not familiar with yadm. you *could* use the secrets feature for that, but if they are not actually secrets, you could probably do this with home-manager, I think? I haven't used home-manager though
<joepie91> so take that suggestion with a grain of salt :)
<zfnmxt> Yeah, I haven't used it either, but I've been considering.
<zfnmxt> I also need to move a postgres database over as well.
<joepie91> zfnmxt: that'd basically just be a stateful rsync/scp/whatever
<joepie91> one-time job, outside of the control of your deployment tool really
<zfnmxt> Yeah, I figured.
<zfnmxt> I still want the dream where I can just specify *everything* in a single file.
<zfnmxt> I hate state.
<joepie91> heh
<joepie91> difficult for things that are designed to contain state, like databases :D
<zfnmxt> Well, yeah, but maybe a more graceful way to handle things like that
<zfnmxt> I dunno :D
<joepie91> I guess you could have a general migrate-state abstraction, but that's something you won't need often and so people won't be very motivated to invest the work into building it, I think
<joepie91> especially since, to make it work nicely, you'd have to exhaustively specify the stateful directories of all your packages
<zfnmxt> Right.
<joepie91> and there'd not be a reasonably easy way to verify that that specification is exhaustive
<zfnmxt> I mean, I could imagine something like /nix/state/<pkg-hash> and you just specifiy the stateful files as part of the package derivation
<zfnmxt> But I dunno really what I'm talking about.
* zfnmxt is a nixos noob
<elvishjerricco> I did get kodi to recognize all my shows by changing the show's folder name from something a little weird to exactly the show's name, but it still only recognized one of the 3 seasons of one of the shows. Think I'm gonna give up on kodi :P
<joepie91> elvishjerricco: that's a worse score than usual :(
<elvishjerricco> Really I think I need a proper media server software like plex, since it'd be really nice to play on other devices. But I don't want to use plex because it's not open source :P
<elvishjerricco> Oh. Had not heard of that
pie_ has quit [Ping timeout: 250 seconds]
<elvishjerricco> joepie91: jellyfin is fantastic. Perfect recommendation :)
<elvishjerricco> Can't believe I hadn't found that in all my googling for media servers
<elvishjerricco> It's a little chatty on the syslog though :P
<joepie91> elvishjerricco: it's fairly recent, a fork of Emby after Emby went proprietary
<joepie91> Emby itself was already fairly obscure
<joepie91> Plex pretty much dominates that market
<elvishjerricco> It's like my own personal netflix :P
pie_ has joined #nixos-chat
pie_ has quit [Ping timeout: 272 seconds]
drakonis has quit [Ping timeout: 250 seconds]
pie_ has joined #nixos-chat
pie_ has quit [Ping timeout: 272 seconds]
pie_ has joined #nixos-chat
<joepie91> elvishjerricco: hmmm. is jellyfin packaged?
pie_ has quit [Ping timeout: 258 seconds]
<{^_^}> #59465 (by minijackson, 18 weeks ago, merged): Add Jellyfin module
<joepie91> infinisil: not in stable yet I'm guessing?
<joepie91> TIL: I2P + torrents is a bad combination
<joepie91> I think my router may currently be on fire
<joepie91> though I'm still doing 24MB/s down...
pie_ has joined #nixos-chat
<Church-> joepie91: It's in nixos
<Church-> Unstable though
<Church-> Was after the last stable release
* Church- is happy with his nixos jellyfin setup
<joepie91> can't install it if not in stable :/
<joepie91> not as a service anyway
<Church-> You can?
<Church-> I did
<Church-> Or do you mean you specifically cannot?
<joepie91> Church-: huh? how do you use a *service* from a branch other than the one you're on?
<Church-> joepie91: By chaning to using unstable?
<joepie91> Church-: I'm unwilling to switch my entire system over to unstable just to install a media server :)
<elvishjerricco> joepie91: I'm planning on just copying the nixos module locally and using my nixpkgs-unstable import for the jellyfin package itself
<joepie91> hm, right
<elvishjerricco> (sidenote: it's really useful to also have unstable packages available in your configuration.nix)
<joepie91> I feel like there ought to be some sort of generalized way to do this...
<joepie91> yeah, I do have that
<elvishjerricco> joepie91: You could do `imports = [(builtins.fetchurl url-to-nixos-module-on-github)];`
<joepie91> would that work despite the module referencing packages in unstable pkgs?
<joepie91> it feels like it shouldn't work
<elvishjerricco> joepie91: You'd also need an overlay that did `jellyfin = unstablePkgs.jellyfin;`
<joepie91> yeah, hm
<samueldr> elvishjerricco: do you actually need to copy the module? would import "${pkgs.path}/nixos/modules/..." work instead?
<samueldr> (assuming that you did use an overlay)
<Church-> joepie91: Can always do a local import and build for jellyin?
<elvishjerricco> samueldr: imports gets resolved before you're allowed to eval any of `pkgs`
<samueldr> right
<elvishjerricco> But if you're unstablePkgs is independent of that, then you'd be fine to do that
<samueldr> yeah, e.g. through NIX_PATH I guess
<elvishjerricco> I, however, have unstable defined as an attribute of pkgs in an overlay for... reasons :P
<elvishjerricco> Plus I pass config.nixpkgs.config to unstable so I can make sure they have the same configs, so that'd break the fixed point anyway
psyanticy has quit [Quit: Connection closed for inactivity]
vika_nezrimaya has quit [Ping timeout: 246 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
pie_ has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos-chat
pie_ has joined #nixos-chat
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos-chat
pie_ has quit [Ping timeout: 250 seconds]
pie_ has joined #nixos-chat
<ashkitten> hey, who here uses kimsufi? i'm trying to figure out how to get ipv6 working
<samueldr> if you can get to fe80::4e72:b9ff:fe43:6a71 I do, but I didn't do anything special
<samueldr> my ISP doesn't give IPv6 and tunnels cause issues :/
<samueldr> so I don't know if it even works
<Remosi> samueldr, fe80::/16 is link local addresses, nobody off your local network should be able to connect to them.
<samueldr> great
<samueldr> then it doesn't work :)
<Remosi> samueldr, most globally routable addresses start with 2000::/3
<samueldr> I am _terrible_ at networking
<Remosi> *so far* :)
<samueldr> both IP and people-to-people networking :)
<Remosi> IP networking is not that difficult to learn
<Remosi> ping6 2001:8b0:8dd::
<Remosi> will ping my host
<samueldr> yeah, I mostly have been able to go by without investing much :)
<ashkitten> oh, i guess kimsufi doesn't do dhcp for ipv6
<ashkitten> i figured out the gateway and put the static ip
<samueldr> (I was looking into my files)
<samueldr> yeah, I had that commented out _since_ I couldn't test it
<samueldr> I guess something sets a /64 private IP when you have none configured
<samueldr> I had copied the info from the debian config before installing nixos
<samueldr> (going from memory)
<samueldr> fun thing, not so much related, I installed via the rescue disk... by running qemu+vnc over ssh
<ashkitten> i'll leave dhcp enabled for ipv4 since it works and if i break it i don't really have a good way to get into the server lol
ashkitten has quit [Quit: WeeChat 2.4]
<samueldr> I simply set ipv4 as static
<samueldr> though I guess neither are more susceptible to break
ashkitten has joined #nixos-chat
pie_ has quit [Ping timeout: 250 seconds]