gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
drakonis has quit [Ping timeout: 272 seconds]
abathur has quit [Ping timeout: 255 seconds]
neeasade has joined #nixos-chat
wildtrees has quit [Quit: Leaving]
<adisbladis> lovesegfault: Actually setting up ZNC was pretty easy
<adisbladis> lovesegfault: http://ix.io/2dHq/nix
<ashkitten> have any yall gotten ssh through usb working with a raspberry pi?
neeasade has quit [Ping timeout: 240 seconds]
<cole-h> adisbladis: Thanks for reporting back. Now I just have to switch to NixOS before that becomes relevant x)
<adisbladis> cole-h: In the mean time you can achieve the same using plain znc: http://ix.io/2dHu
<adisbladis> Which is what the NixOS module is generating
<cole-h> <3 adisbladis
<{^_^}> adisbladis's karma got increased to 33
<adisbladis> :)
slack1256 has joined #nixos-chat
abathur has joined #nixos-chat
abathur has quit [Ping timeout: 240 seconds]
CRTified has joined #nixos-chat
drakonis has joined #nixos-chat
<Irenes[m]> I don't know whether this is relevant to your needs or not adisbladis, but I'll explain what I do anyway.
<Irenes[m]> Having used both znc and weechat, I prefer weechat, configured to speak its own relay protocol rather than downstream IRC. As long as you're happy with the limited selection of clients that that approach entails, it's a lot less prone to losing state or displaying things without context, compared to znc.
<Irenes[m]> However, what I do these days is actually use the Matrix Freenode bridge. So my clients speak the Matrix protocol, not any variant of IRC.
abathur has joined #nixos-chat
<adisbladis> Irenes[m]: The thing is I'm not at all happy with the UX of any weechat relay client.
<Irenes[m]> If self-hosting is a requirement for you, you could host your own Matrix server and IRC bridge.
<Irenes[m]> yeah, I hear that. that's unfortunate.
<adisbladis> The only chat client I really like (any protocol) is erc
<Irenes[m]> it can also be configured to speak IRC as the relay protocol, but that's inherently more limited. I don't know how the semantics compare to what znc does, but with anything that has IRC going downstream, it's going to lose stuff, it's only a question of which semantics you find more intuitive.
<Irenes[m]> sure
<Irenes[m]> then I think you're back to running the terminal-based client of your choice, inside screen or tmux
<Irenes[m]> that's certainly an approach that works for many people
<adisbladis> Irenes[m]: I wouldn't be happy with that either. I want to live inside emacs
<Irenes[m]> ah, some people run emacs inside screen... :)
<Irenes[m]> well, anyway, fair enough
<adisbladis> And currently 2 things makes me venture outside of it, IRC & browsing
<Irenes[m]> znc and weechat are basically the two choices that I'm aware of
<adisbladis> My experiments with znc over the last hour are pretty good
<Irenes[m]> or you could treat irc the way it would have been in the old days, before everyone started expecting cloud features: you connect to it while you're at-keyboard, and you only see conversations that happen while you're there.
<Irenes[m]> that's good to hear
<adisbladis> I think that's far better than weechat (except the weechat android client which is excellent)
<Irenes[m]> the area to make sure you understand its behavior in is /query messages
<Irenes[m]> particularly where those get routed if you have zero clients connected when they come in, and if you have more than one client connected
<adisbladis> Irenes[m]: Good point. I'm gonna try that out
<Irenes[m]> cool. good luck!
<ashkitten> i feel like every time i look at the weechat roadmap relay client support is bumped up another version
<lovesegfault> adisbladis: :D
<adisbladis> Ok ZNC is pretty great
<adisbladis> Why didn't I do this earlier
<lovesegfault> adisbladis: What's great about it?
<lovesegfault> I have never used it myself
* lovesegfault needs a NixOS VPS
<adisbladis> lovesegfault: It's exactly the kind of UX I've wanted for IRC
<adisbladis> A declarative network/channel configuration + a local instance of Erc
<lovesegfault> :D
<lovesegfault> Can I make lib.traceVal actually print stuff
<lovesegfault> it just says <CODE>
<lovesegfault> so annoying
<cole-h> lib.traceValSeq
<adisbladis> cole-h: That doesn't help for deep objects though
<cole-h> Does it not? It worked when I used it
<adisbladis> I often go for `builtins.trace (builtins.toJSON x) x`
<adisbladis> Or it seems like it does
<adisbladis> Maybe me and lib.traceValSeq should become friends :)
<cole-h> traceSeq says "`builtins.trace`, but the value is `builtins.deepSeq`ed first."
<cole-h> and traceValSeq does a similar thing
<adisbladis> cole-h: Yeah lib.traceValSeq seems to do the right thing
<adisbladis> TIL
<lovesegfault> I really wish it was easier to debug inf. rec
<cole-h> If traceValSeq is giving you inf rec, you can try traceValSeqN and give it a depth
<lovesegfault> cole-h: value is a function while a set was expected, at /home/bemeurer/src/nix-config/systems/foucault.nix:43:6
<lovesegfault> lol
<cole-h> 🤔
<cole-h> You need to specify a depth with traceValSeqN...
<cole-h> `traceValSeqN <depth> <value>`
<lovesegfault> Ah
<lovesegfault> nice
<cole-h> (I'd do the fancy Haskell notation but I haven't learned it yet, so that's what you get)
<lovesegfault> cole-h: check this out
<lovesegfault> I was trying to get this to work
<lovesegfault> alas I don't thin it's possible
<cole-h> 👀
<cole-h> BYO-nixops?
<lovesegfault> Kind of :D
<lovesegfault> More BYO flakes + multi-user linux
<drakonis> flakes... when...
<lovesegfault> drakonis: 2025
<lovesegfault> it'll be a big year for Nix
<cole-h> haha
<drakonis> flakes will fix all of our problems
<drakonis> wait for it.
<cole-h> ™
<drakonis> remember duke nukem forever?
<lovesegfault> duke nukem took forever
<lovesegfault> and then it was trash
<drakonis> and it sucked!
waleee-cl has quit [Quit: Connection closed for inactivity]
<lovesegfault> yes
<lovesegfault> cole-h: I'm getting closer and closer to having this working
<cole-h> I can't wait to read your blog post ;^)
* lovesegfault submits talk to NixCon
<cole-h> I don't want to wait that long :-(
<lovesegfault> I gotta give more talks though
<lovesegfault> Otherwise how will I retire at 22 like I dreamed
<cole-h> Go for it
<cole-h> If you need a proofreader, you know where to find me (see: 99% of my contributions + reviews to Alacritty)
<lovesegfault> :D
<lovesegfault> omg cole-h I think I did it
<drakonis> o h o
<cole-h> 👀 x10
<drakonis> what's the hotness?
<drakonis> kde plasma 5.18?
<lovesegfault> I can get rid of lib and pkgs too
<lovesegfault> which will make it cleaner
<cole-h> Can you explain how that default.nix works?
<cole-h> Ah wait, nvm
<lovesegfault> :)
<cole-h> What is the purpose of `// userSingletons`?
<lovesegfault> to make it possible to ask for individual users
<lovesegfault> like .bemeurer
<lovesegfault> as opposed to only the defined groups (e.g. .ops)
<cole-h> Oh, I see. So you could do `(import users).asdf`, given its folder exists?
<lovesegfault> YEP
<cole-h> What are you planning to do with `ops` and `dev`?
<cole-h> Some form of permissions?
<lovesegfault> more or less, it's to make it easy who has access to which box
<lovesegfault> e.g. we have a few teams in eng. stream, models, tracking, ...
<lovesegfault> with this it's easy to define the teams there and then add them as groups to each machine
<cole-h> Ah, access control
<cole-h> Also, you might want to change your `SSH_AUTH_SOCK` session variable to substitute in your actual UID, assuming that changes when you deploy
drakonis has quit [Quit: WeeChat 2.7.1]
<lovesegfault> mine is just /run/user/1000/keyring/ssh :P
<lovesegfault> and yeah, I plan on having fixed UIDs
slack1256 has quit [Remote host closed the connection]
<lovesegfault> cole-h: alright, it's done
<lovesegfault> after three days
<lovesegfault> time to activate and reboot
<lovesegfault> see y'all on the other side :P
lovesegfault has quit [Quit: WeeChat 2.7.1]
abathur has quit [Ping timeout: 258 seconds]
<ashkitten> iptables v1.8.4 (legacy): interface name `enp5s0f1u2u1u2Link' must be shorter than IFNAMSIZ (15)
<ashkitten> oh dear
endformationage has quit [Quit: WeeChat 2.6]
<cole-h> I really wish weechat didn't re-encrypt my passwords every. single. time.
lovesegfault has joined #nixos-chat
<lovesegfault> cole-h: it almost worked
<lovesegfault> some stuff still needs investigating
<lovesegfault> like, the list of generations in the boot menu is gone :(
<lovesegfault> cc. colemickens
<lovesegfault> also my nixpkgs symlink seems to be missing from the installed pkg
<cole-h> lovesegfault: nixpkgs symlink being the symlink to your nixpkgs repo thing?
<lovesegfault> not quite, let me show you
<lovesegfault> this isn't working
<lovesegfault> /home/bemeurer/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<lovesegfault> is my nix path
lovesegfault has quit [Quit: WeeChat 2.7.1]
<cole-h> Hot take: daylight savings time needs to die already
slack1256 has joined #nixos-chat
<ashkitten> the pinetime sucks so bad just to get code onto...
<ashkitten> it's also basically impossible to charge the damn thing without gluing on the back
cole-h has quit [Ping timeout: 255 seconds]
<ashkitten> apparently it's meant to eventually have a bootloader you can upload code to via bluetooth
<ashkitten> which will be much better
slack1256 has quit [Remote host closed the connection]
lovesegfault has joined #nixos-chat
<MichaelRaskin> cole-h: is it even a hot take anymore?
<Irenes[m]> There have been ballot initiatives about that in several jurisdictions in the US/Pacific timezone. I absolutely suggest voting for it.
<MichaelRaskin> EU seems pretty committed to the «we just need to implement abolishment carefully» position; China is not on DST anyway (neither is Russia)
<MichaelRaskin> So it's just the question whether USA stays behind
<emily> leap seconds next, please?
<MichaelRaskin> Leap seconds are, in a sense, the opposite thing!
<MichaelRaskin> DST: we don't care about true noon, let it jump around; Leap seconds: we do not want noon to drift
<MichaelRaskin> The problem with abandoning leap seconds is that most consumers use clocks that drift more than by one second per year often enough
<MichaelRaskin> Summer time is «what the hell they are doing with my sleep cycle», leap seconds are annoying to programmers and desirable to astronomers.
<Irenes[m]> Daylight savings is the one topic where staying behind is actually a good thing! (Staying forward would be fine, too.)
<Irenes[m]> And yeah, heh, regarding leap seconds I once suggested keeping computers in TAI rather than UTC. Somebody who knew a lot more than I do, managed to convince me that I don't want that. Then I forgot the argument... Oops.
<MichaelRaskin> Irenes: did you agree to having the published timetables be in UTC?
<MichaelRaskin> Because world-on-TAI, UTC-for-astronomers and world-on-UTC, computers-on-TAI are different things
<Irenes[m]> Ah, it was probably something like that, thank you.
<MichaelRaskin> For the record, I have not yet put forward any arguments, I was just asking about the positions argued
<Irenes[m]> Yeah, sorry, didn't mean to put words in your mouth. I think I was imagining that either people would still publish things in UTC and not care about the seventeen second difference, or that everything would be TAI. Neither makes a lot of sense.
<Irenes[m]> Or I might have been proposing that computers count in TAI but convert to UTC only for display purposes, but that seems over-engineered to me today.
__monty__ has joined #nixos-chat
<MichaelRaskin> Yes, I was mstly preparing to show why TAI-clock UTC-via-TZ is forcing over-engineering to computers that are better off without it
<Irenes[m]> Or we could all forget about the concept of time and just let ourselves rest. This is my preferred solution really...
<Irenes[m]> Yes, that makes sense to me now
<eyJhb> Irenes[m]: arange beetings based on sunsets and the angle of the sun, as usual, so somewhat time
<eyJhb> INSERT INTO users (created_at) ("SUNSET NUMBER 10 ANGLE 45");
<MichaelRaskin> Well-maintained Linux laptops with high-quality realtime clock would be probably better off with TAI+UTC-TZ, but…
<MichaelRaskin> Forget sunrises, count time in kiloseconds!
<eyJhb> MichaelRaskin: I will count them in feet and see how that goes
<eyJhb> avp
<eyJhb> :p **
<MichaelRaskin> Feet are actually terribly small time units
<eyJhb> We could also take feat, which could be the mean time Pitbull feats other tracks
<MichaelRaskin> And astronomical units are OK (single-digit minutes), but defined as averages and thus not directly observable.
<eyJhb> How small are you propsing MichaelRaskin ?
<MichaelRaskin> Well, a foot as a measure of time is _clearly_ a foot divided by c (speed of light)!
tokudan has quit [Quit: Dunno.]
tokudan has joined #nixos-chat
tokudan has quit [Remote host closed the connection]
tokudan has joined #nixos-chat
mrCyborg has joined #nixos-chat
lovesegfault has quit [Ping timeout: 272 seconds]
lovesegfault has joined #nixos-chat
icey_ is now known as iceypoi
<emily> irenes: MichaelRaskin: fwiw djb and others have long advocated for keeping the POSIX system clock on TAI-10, and implementing leap seconds in the tzdata database (which has support for it)
<emily> which allows for correct display of 23:59:60 while eliminating most leap second issues
<emily> the main downside is that anything that uses a Unix timestamp is off by like 20 seconds
<emily> so e.g. your tar files and the like show wrong to other people
<emily> ""ideally"" everything would explicitly say it wanted a UTC time rather than just calling the "gimme the Unix time" function, but unfortunately that's not the world we live in
<MichaelRaskin> And you need to be careful when using public NTP
<MichaelRaskin> And you cannot convert future timestamps…
abathur has joined #nixos-chat
tokudan has quit [Quit: Dunno.]
abathur has quit [Ping timeout: 268 seconds]
tokudan has joined #nixos-chat
tokudan has quit [Remote host closed the connection]
tokudan has joined #nixos-chat
neeasade has joined #nixos-chat
neeasade has quit [Ping timeout: 272 seconds]
abathur has joined #nixos-chat
<emily> MichaelRaskin: to be fair, the POSIX "23:59:59 happens twice" solution moves the inaccuracy from the conversion of future dates to /literally not having a representation for the time you'd convert/
<emily> but yeah, doesn't work with normal NTP servers, at least without a smart client :(
<emily> I think leap smearing is probably the best solution in practice
<MichaelRaskin> emily: for stable timezones you kind of value roundtrip stability more than representing each second, so smearing is fine, and often general jitter is larger anyway
<emily> honestly I feel like converting future timestamps to dates is just... wrong, most of the time? tzdata also often only gets updated a few months before a timezone change
<emily> so you can't reliably convert future dates in general
<emily> and you're going to be at most, like, 20 seconds off over several decades, so
<MichaelRaskin> Actually, we more or less lack proper time types
<MichaelRaskin> Because some future times are definitionally tied to a specific timezone, and not necessarily the current local timezone
<MichaelRaskin> You might want to watch a livestream planned in terms of local time elsewhere in a few months…
<emily> right
<emily> it's the "TAI timestamp → datetime" that's lossy
<emily> this also applies to sufficiently old dates too
<MichaelRaskin> Well, TAI — UTC — local-datetime doesn't have true conversions anywhere
cole-h has joined #nixos-chat
<cole-h> lovesegfault: ping
waleee-cl has joined #nixos-chat
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos-chat
Jackneill has quit [Remote host closed the connection]
<LnL> oh boy, I get why licenses are a thing but I sometimes wish they just didn't exist
<__monty__> Software licenses? Driving licenses? Gun Licenses?
<samueldr> internet snark licenses
<LnL> software
<samueldr> :)
<Taneb> Imagine if you had to demonstrate you were competent at using some software before you were allowed to use it unsupervised
<MichaelRaskin> Imagine people capable to estimate user competence actually existing!
adisbladis has joined #nixos-chat
drakonis has joined #nixos-chat
<ashkitten> MichaelRaskin: isn't that what they keep making racist neural nets for?
<gchristensen> hah.
<gchristensen> (oof)
<lovesegfault> cole-h: pong
<joepie91> Taneb: I mean, most *developers* don't even understand the software that they work on themselves
<joepie91> you'd be left with no users :P
<ashkitten> the mastodon nixos module hasn't been merged yet but i'm gonna try it out with my instance, which is currently in a docker-compose managed container
<ashkitten> hoping this goes well...
<ashkitten> i'm putting it in a declarative nixos container so i can theoretically host multiple instances from that machine
<MichaelRaskin> joepie91: Yes, yes, having these people would be a prerequisite to making sure someone on the release team knows what they are working on
<MichaelRaskin> ashkitten: they might be claiming to be making neural nets for it, but they are definitely not actually making any nets for it
<cole-h> lovesegfault: I might have missed it in the earlier conversations, but why did you remove `nixos-rebuild` (or rather, why did you not want to rely on it)?
<lovesegfault> cole-h: because it just uses /etc/configuration.nix
<MichaelRaskin> You can change what nixos-config resolves to via -I or NIX_PATH
<lovesegfault> I want to nix-build -A $machine and then do something
<lovesegfault> MichaelRaskin: the whole point of what I built is to not ever rely or need NIX_PATH
<MichaelRaskin> Ah. Then yeah, importing and passing explicit config parameter makes perfect sense
<cole-h> lovesegfault: Ah, I see. Thanks for clarifying
<lovesegfault> np :)
<lovesegfault> MichaelRaskin: c.f. https://github.com/lovesegfault/nix-config/
<cole-h> (brb)
cole-h has quit [Quit: WeeChat 2.7.1]
cole-h has joined #nixos-chat
mrCyborg has quit [Quit: WeeChat 2.7.1]
<MichaelRaskin> I need explicit NixOS evaluation because I only take some parts of it
<cole-h> lovesegfault: You working on that blog post yet? ;-)
<lovesegfault> cole-h: Not yet, I took notes of what I want to talk about though
<adisbladis> Reporting back again :) Now switched to ZNC for real and I'm pretty happy with it.
<lovesegfault> I'm waiting to see how I feel long-term
<lovesegfault> adisbladis: Where does your ZNC live?
<cole-h> Gotta work out the kinks and whatnot
<lovesegfault> cole-h: precisely
<cole-h> Make sure you actually like it before you preach to others :P
<adisbladis> lovesegfault: On one of my VMs (hetzner)
<lovesegfault> so far there are no kinks, but I'm still unhappy with a portion of the drop-in user support
* lovesegfault looks up hetzner
<cole-h> Never heard of hetzner til I started looking at Nix and related projects lol
<lovesegfault> bah, it's in DE
<lovesegfault> I want something in US :P
<cole-h> Do you really though?
<lovesegfault> Damn, hetzner prices rock
<adisbladis> Yeah hetzner is great value.
<gchristensen> their regular systems have great prices, and their server auction sare even better
<lovesegfault> gchristensen: how's latency for you?
<lovesegfault> I'm all the way in the west coast, ssh'ing into a german server is going to suck
<gchristensen> I don't use them interactively
<adisbladis> It makes you think "hmm, what's the catch". But I've been using it for a couple of years and so far there has not been one :)
* lovesegfault wonders what his ping latency will be
<lovesegfault> gchristensen: wise
<adisbladis> lovesegfault: Try pinging
* lovesegfault pings
<gchristensen> adisbladis: their cheap stuff is all consumer gear afaik
<cole-h> Crikey, 170ms
<adisbladis> gchristensen: For IRC and other non-essential minor things I'm fine with that. :)
<adisbladis> If my home ISP wasn't so bad I'd host it at home
<lovesegfault> --- ping statistics ---
<lovesegfault> 10 packets transmitted, 10 received, 0% packet loss, time 9010ms
<lovesegfault> rtt min/avg/max/mdev = 171.994/173.610/179.172/2.230 ms
<lovesegfault> not that bad
<cole-h> wtf
<gchristensen> adisbladis: same
<cole-h> Oh I misread that
<cole-h> I thought the ping was 9010ms LOL
<lovesegfault> cole-h: lol, yeah, no
<adisbladis> That would have been terrible :D
<lovesegfault> cole-h: ping home.lovesegfault.com
<lovesegfault> Does Nix have good support for GCS?
<cole-h> zzzz
<cole-h> I gave up at 40s
<lovesegfault> Wonder why pings don't go through
<lovesegfault> works fine here
<adisbladis> lovesegfault: Your ISP probably filters ICMP.
<adisbladis> It's pretty common.
<lovesegfault> lame
<lovesegfault> that url is for a rpi in my house :P
<cole-h> (assuming GCS = Google Cloud Stuff) What would be your use for Nix on GCS? Just another VM to play with?
<lovesegfault> correct
<lovesegfault> although goddamn hetzner prices are tempting
* lovesegfault goes look at digital ocean
<MichaelRaskin> There is also OVH
<cole-h> DO was pretty expensive last I looked (comparatively to my essentially-free GC VM)
<lovesegfault> MichaelRaskin: OVH?
<cole-h> Although all I'm doing is using it as a password store backup
<cole-h> ovh.com
<cole-h> Used to be ovh.la I think
<lovesegfault> $5/mo isn't bad
<cole-h> Compared to $0/mo, it is :P
<lovesegfault> true
* lovesegfault goes look at GCP
<gchristensen> you don't get much for that $5
<lovesegfault> gchristensen: it's a ZNC server
<lovesegfault> I just want a bouncer so flokli and andi- stop judging me
<gchristensen> I'd rather give my $5 to irccloud :P
<MichaelRaskin> With OVH, if you do deployments right, it is $3.5 — first year of a VM is cheaper
* colemickens keeps glancing over at his matrix clients
<lovesegfault> I can't even find out the pricing on GCP's website
<lovesegfault> it's like crap everywhere, 1 zillion different services and products
<samueldr> vultr, which hosts a nixos iso in their library, is another provider to check
<MichaelRaskin> You expect good UX out of Google?
<lovesegfault> samueldr: ah, right, vultr
<lovesegfault> cole-h: ... how?
<colemickens> GCP Free Tier
<cole-h> ^
<lovesegfault> :O
<colemickens> I run an "ingestion" server that downloads from Mega and loads TBs of data into Google Drive and it's all ~free, (the enterprise storage account with unlimited storage is $10/month, and the domain $12/year, but it's effectively zero for what I'm getting out of it).
<colemickens> b/w into GCP is free, b/w bw Google properties is free, I access the data through Drive API, so there's no data xfer cost to me either.
<colemickens> AWS/Azure/Oracle/others have free tiers too
<colemickens> If you know ex-big-co employees they often leave with access to free resources that sometimes don't ever expire ;)
<colemickens> (As in, freebies-for-life, not like creds someone walked out with)
<lovesegfault> That's pretty awesome
<lovesegfault> I can't even figure out which of these I want
<lovesegfault> lol
<colemickens> You need a Cloud Solutions Architect then. With some fancy certifications probably.
<cole-h> I can help. Give me $100 and I'll get back to you in 4 days
<colemickens> cole-h: I see you, acting as a human email-to-stackoverflow gateway :P
<lovesegfault> I think it's this
<cole-h> colemickens: 👀
mrCyborg has joined #nixos-chat
<andi-> lovesegfault: either stick it on a box that runs at your home anyway.. (it is just an IRC client afterall..) or just buy the cheapest VM you can find.. What is the west coast equivalent of Hetzner?
<gchristensen> I don't know of any thing else like hetzner
<adisbladis> A bouncer is not exactly latency sensitive, so you should be fine.
<samueldr> I assume it's baremetal API + cheap that makes it unlike any other?
<adisbladis> samueldr: Even their VPS offerings are about half price of anything else for the amount of resources you get.
<samueldr> hm, indeed
<samueldr> didn't know about their VPS offers
<yorick> the VPSs are pretty decent
<yorick> typing this from one of them, has not gone down so far
<lovesegfault> andi-: I'm trying
<lovesegfault> GCP gave me $300 credit
<andi-> it's a trap!
<cole-h> For 1 year, I believe, yeah
<lovesegfault> google suspend my account for fraud
<lovesegfault> nice
<adisbladis> lovesegfault: Dodged a bullet ;)
* andi- 🙄
<gchristensen> lol
ashkitten has joined #nixos-chat
<cole-h> Can someone ping me in ~3s? Testing something.
<MichaelRaskin> cole-h: ?
<cole-h> Perfect, thanks
<adisbladis> cole
<adisbladis> cole-h: Curious, what are you testing?
<cole-h> Was wondering if my tmux-ified weechat would run notify-sends when detached
<cole-h> And it does :)
<gchristensen> cole-​h
<cole-h> Get outta here with your nbsp
<gchristensen> :|
<cole-h> :P
<lovesegfault> I love how hetzner has a whole page on colocation and then you open it and they're like "we can colocate the server in this german city, or in it's neighbor!"
<lovesegfault> .-.
<andi-> They also have helsinki ;-)
<lovesegfault> :P
<lovesegfault> andi-: Are you going to teach me how to generate a cloud image from Nix?
<andi-> I have some WIP code for hetzner bootstrapping but it is not fun yet..
<lovesegfault> Oh, NixOps has a guide
<andi-> That is if you want to rent hardware there
<lovesegfault> Ah, no, I want VPS
<lovesegfault> gchristensen: has the cleaned-up nixops made it's way into nixpkgs master yet?
<lovesegfault> I just `nix-shell -p nixops` and it yelled at me about Py2
<adisbladis> lovesegfault: I used https://github.com/elitak/nixos-infect
<gchristensen> definitely not, lovesegfault
<adisbladis> Though now I'd use the kexec approach instead
<gchristensen> no plugins supportit yet
<lovesegfault> gchristensen: I see :/
* lovesegfault looks at infect
<lovesegfault> adisbladis: that relies on NIX_PATH, it seems
<adisbladis> lovesegfault: Mhm?
<lovesegfault> Also, whatever happened to nixos-assimilate?
<{^_^}> #2079 (by aszlig, 5 years ago, open): nixos-assimilate - Turn currently running system into NixOS
<lovesegfault> cole-h: yeah, it's been open for five years
<lovesegfault> if it was a baby it could talk, walk, and use the potty
<cole-h> Haha
<adisbladis> For the last couple of conversions I've used https://github.com/cleverca22/nix-tests/tree/master/kexec
<adisbladis> It's great :)
<cole-h> It's apparently blocked on the nixpart tool
<adisbladis> clever++
<{^_^}> clever's karma got increased to 344
<adisbladis> Hm, nixos-generators has something similar https://github.com/nix-community/nixos-generators/
<adisbladis> Though I haven't tried that one yet
<lovesegfault> I had forgotten about generators!
<adisbladis> lovesegfault: The advantage of the kexec approach is that you can repartition the drives
<lovesegfault> generators even support gce
<lovesegfault> I'm confused by nixos-generators
<lovesegfault> how does it deal with partitioning?
<adisbladis> lovesegfault: It doesn't.
<lovesegfault> esp. when you output a gce,azure,do,etc
<lovesegfault> it's just a ramdisk adisbladis?
<adisbladis> lovesegfault: The kexec one is just a ramdisk
<adisbladis> (that's why you can repartition)
* lovesegfault tries
<samueldr> git is confusing/confused, it somehow has two worktrees checked out for the same branch at the same location
__monty__ has quit [Quit: leaving]
<mrCyborg> samueldr: wat. Could you elaborate?
<samueldr> git worktree list listed the same directory twice, same branch
<samueldr> and now I did some more work and it lists the same directory twice, and two different branches :|
<samueldr> I think I might have `rm'd` the directory and made another one on top of it without pruning
rardiol has quit [Ping timeout: 240 seconds]
rardiol has joined #nixos-chat
Jackneill has joined #nixos-chat
Jackneill has quit [Client Quit]
<samueldr> I figure this ends up switching to the "specialised" configuration
<gchristensen> yeah
<gchristensen> cut me from ~7x 600M builds down to 2
<samueldr> aarch64/x86_64 I assume
<gchristensen> yeah
<gchristensen> some tricky stuff, making sure some serivces run at the right time
<lovesegfault> gchristensen: how big is nixos' bin cache?
<samueldr> very
<adisbladis> Last I heard 190T
<adisbladis> Should have hit 200T by now
<mrCyborg> Thats.... big
<lovesegfault> Woah
<mrCyborg> Is it hosted in the cloud[tm]? Or on an actual machine?
<samueldr> isn't the cloud just actual machines? ;)
<adisbladis> mrCyborg: S3
<mrCyborg> samueldr: Usually it's in a VM
<mrCyborg> So no bare metal
<samueldr> it's turtles all the way down
<mrCyborg> I would be really interested in seeing some stats about how much each binary in the cache is downloaded
<gchristensen> that would be interesting to be able to provide :)
<clever> 2020-03-08 19:51:00 < StyXman> map pr0n: https://boingboing.net/2020/03/07/how-globes-were-made-in-1955.html
<gchristensen> oh cool
<lovesegfault> That _is_ cool
<adisbladis> clever: Wow
<mrCyborg> confirming coolness
mrCyborg has quit [Quit: WeeChat 2.7.1]
<lovesegfault> colemickens: have you played with FF's nightly wayland vaapi support?
<colemickens> I haven't gotten it to work, but... https://github.com/NixOS/nixpkgs/pull/81917
<{^_^}> #81917 (by colemickens, 2 days ago, open): firefox: wrapper: add libva to libs
<gchristensen> nice
<colemickens> I suffer from these symptoms: https://bugzilla.mozilla.org/show_bug.cgi?id=1619543 Though it's unclear to me what's wrong, or if that bug is still properly active based on the follow-up comments.
<lovesegfault> Oh my god
<lovesegfault> this is _SO_ outdated
<cole-h> Feel free to update it ;)
<lovesegfault> cole-h: I was following it to try and do it!
<lovesegfault> :P
<lovesegfault> until I saw nixos-14.10
<lovesegfault> and I was like wait wat
<colemickens> gcp instructions = make generic kvm image, upload, boot
<colemickens> I ship my own user though, I don't like using their metadata service + auth service + blah blah, I've had issues with it.
<colemickens> I don't actually know why I still include google-compute-image, maybe there's something useful in it, but idk.
<lovesegfault> why does this cloud s*** have to be so hard
<colemickens> I don't think it is?
<lovesegfault> it is for me :P
<Irenes[m]> it's one of those things that gets a lot easier once you've done it a few times, but it's not easy to get people to that point
<Irenes[m]> or at least, I've seen it get easier but I acknowledge that it might not for you
abathur has quit [Ping timeout: 260 seconds]
drakonis has quit [Read error: Connection reset by peer]
<lovesegfault> Can I really not give GCE a custom ISO
<lovesegfault> I just want to boot a machine with NixOS
andi- has quit [Ping timeout: 272 seconds]
<ashkitten> why can't i remove /var/lib/containers/mastodon/var/empty?
<samueldr> it's chattr +i
<cole-h> Does `chattr +i` prevent root from modifying?
<samueldr> yes
<cole-h> Oh cool
<samueldr> it makes the directory reaalllllly immutable
<cole-h> Broke: `chmod -w dir`
<cole-h> Woke: `chattr +i dir`
<ashkitten> ah
<samueldr> >> A file with the 'i' attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file, most of the file's metadata can not be modified, and the file can not be opened in write mode.
<samueldr> >> Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute.
<cole-h> samueldr++
<{^_^}> samueldr's karma got increased to 180