gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
tokudan has quit [Quit: Dunno.]
tokudan has joined #nixos-chat
drakonis has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos-chat
<samueldr> hey, if someone is writing a CTF challenge and wants to be evil~ish
<samueldr> provide a PDF without text (image-based) with the "source", and using '' rather than " in an obvious attack vector
<samueldr> if using bash
<samueldr> oh, important bit: use a proportional font for the source code
<samueldr> so it " looks like ''
<samueldr> and vice vers
noneucat has joined #nixos-chat
endformationage has quit [Ping timeout: 265 seconds]
drakonis has quit [Quit: WeeChat 2.6]
pie_ has quit [Ping timeout: 268 seconds]
vika_nezrimaya has joined #nixos-chat
Jackneill has joined #nixos-chat
sphalerite_ is now known as sphalerite
<eyJhb> samueldr: give me some! :D
<eyJhb> BUt isn't that just busy work?
vika_nezrimaya has quit [Ping timeout: 250 seconds]
<sphalerite> Does anyone know a tool that can resolve symlinks relative to some root, like readlink -f in a chroot, but without the chroot?
__monty__ has joined #nixos-chat
avn has joined #nixos-chat
Taneb has joined #nixos-chat
<gchristensen> orrrrrrr pkgs.dockerTools.buildLayeredImage
<eyJhb> Not specifying a tag is generally _not_ good
<eyJhb> Hoping I can use NixOS at some point with my project :D
<gchristensen> just don't use a base image
<eyJhb> And just use scratch?
<eyJhb> :D
<gchristensen> use pkgs.dockerTools.buildLayeredImage
<eyJhb> Which is basically "FROM scratch", I at least assume that (because it is just a NOOP)
<eyJhb> But using buildLayeredImage wouldn't really fix the issue in this case, without having pinned OpenSSL, right?
<gchristensen> sure it would, it would provide the same version of openssl locally and in prod
<eyJhb> Hmm yeah
<eyJhb> Solution == NixOS
<eyJhb> We actually had a Linux cafe yesterday I think where someone talked a little about NixOS. But most people were new to Linux, so..
<gchristensen> neat
<eyJhb> Or the day before, I can't keep track of anything atm... :( So little time...
<eyJhb> Did I just dc gchristensen ?
vika_nezrimaya has joined #nixos-chat
<gchristensen> huh? :)
<eyJhb> Good :) Just not entirely sure if I DC'ed from my ZNC
<gchristensen> ah
<eyJhb> the internet here at AAU CPH is a little... Slugish
<eyJhb> Bad connection, etc..
<eyJhb> There is no office hours today, right?
<eyJhb> Anyone elses speakers are just buzzing even when volume is 0?
<gchristensen> maybe you have a ground loop
<eyJhb> In my LP? The speakers work fine normally
<eyJhb> LP => Laptop, sorry
vika_nezrimaya has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.6]
<eyJhb> gchristensen: did the bucket refresh the metadata?
<gchristensen> oops I didn't download it
drakonis has joined #nixos-chat
<eyJhb> You need to download it to view see the stats?
<gchristensen> yes
ddima has joined #nixos-chat
dejanr has joined #nixos-chat
<eyJhb> Also, isn't it quite expensive to use AWS Cloudfront for the cache?
<dejanr> hey anyone using zsh with spaceship theme, and has a proper nix-shell setup?
<gchristensen> eyJhb: it is, Fastly donates themselves as our CDN
<drakonis> that's quite generous
<eyJhb> And they use AWS for it? Or am I mistunderstanding something?
<gchristensen> fastly is their own CDN
<gchristensen> like, Fastly.com is a business which sells CDN services
<gchristensen> they are a CDN in front of our S3 bucket
<gchristensen> ah we used to use cloudfront
<eyJhb> So NixOS has a S3 Bucket which they pay themselves, and then fastly CDNs this?
<gchristensen> almost 100% correct
<eyJhb> So close!
<gchristensen> the only correction is S3 bucket is generously provided by another co
<eyJhb> So, all in all
<eyJhb> Quite a expensive system
<eyJhb> And I remember the cache being like 100+ TB
<gchristensen> possible > 200TB at this point
<eyJhb> It is quite nice that everything is CDN, and there are no mirrors
<gchristensen> yeah
<eyJhb> I asked Dotsrc just for fun if they could. "Totally", then I said the size :D But eh, doesn't matter
<eyJhb> Like the Ubuntu mirror they have is 2 TB i think
<gchristensen> although it would be nice to have a nice way to let people do mirrors anyway, because commercial CDNs often don't operate in legally tricky regions like Russia and China
<eyJhb> But who has 200 TB of space
<eyJhb> :D
<eyJhb> Most common package hits would be nice in that case
<gchristensen> there are 2 ways to do it. I'll share a link with you soon.
<eyJhb> Please do, and please ping me if I am slow
<eyJhb> Because I am somewhat on the move here in CPH, hopefully
<eyJhb> :D
pie_ has joined #nixos-chat
<eyJhb> Hey pie_ !
<gchristensen> "ZFS is a transactional object system" -> a zfs-native git backend
<gchristensen> modprobe git-zfs
endformationage has joined #nixos-chat
* adisbladis drools
<gchristensen> :P
<adisbladis> Tbh it makes a lot of sense to consider file systems blob storage
dejanr has quit [Quit: WeeChat 2.6]
waleee-cl has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.6]
<andi-> what else if not blob storage are FS? :D
<andi-> I have the mental model of HashMap<String, Vec<u8>> of a FS (overly simplified)
<gchristensen> same
vika_nezrimaya has joined #nixos-chat
<tilpner> Well, AFAIK an object is a blob with metadata, so you're not disagreeing
* gchristensen feels like building a new nix-build frontend
mcfrank has left #nixos-chat ["WeeChat 1.9.1"]
<ashkitten> i dont like airports :<
drakonis has joined #nixos-chat
<ashkitten> boarding soon
<ashkitten> gonna watch anime on the plane
<ar> Mayday/Air Crash Investigation is a cool thing to watch on an airplane
<ashkitten> we've got 8 episodes of assassination classroom downloaded
<pie_> eyJhb: hi, what? :p
drakonis has quit [Ping timeout: 250 seconds]
drakonis has joined #nixos-chat
<avn> silly question folks, can anyone remind me, how to tell laptop not to go sleep when lid closed (I need upgrade nixos, but I do it remotely)
rardiol has quit [Ping timeout: 252 seconds]
<tilpner> avn: services.logind.extraConfig, search logind.conf(5) for Lid
<avn> tilpner: well, I more or less can turn it off permanently
<avn> But I need to do it interactively, w/i persisting
<tilpner> You might get somewhere with systemd-inhibit
<tilpner> Or you might not
<avn> systemd-inhibit bash probably (or top) ;)
<avn> `systemd-inhibit --what=handle-lid-switch top` works
MichaelRaskin has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.6]
rardiol has joined #nixos-chat
Guanin has quit [Quit: Gateway shutdown]
Guanin has joined #nixos-chat
Guanin has quit [Quit: Gateway shutdown]
Guanin has joined #nixos-chat
Guanin has quit [Client Quit]
Guanin has joined #nixos-chat
<elvishjerricco> How important is redundancy for the `/boot` file system and grub on a server I'm keeping in another building? I have a feeling not very, since it's a small, reproducible part of the OS that will rarely cause problems. But at the same time it'd be nice if one disk couldn't cause the whole `/boot` to be inaccessible for rebooting purposes.
<__monty__> ,aoc = Join us in the Advent of Code! #nixos leaderboard: 397598-41437759
<{^_^}> aoc defined
<__monty__> ,aoc = Join us in the Advent of Code. We need your help, Santa's in trouble! #nixos leaderboard: 397598-41437759
<{^_^}> aoc redefined, was defined as Join us in the Advent of Code! #nixos leaderboard: 397598-41437759
<__monty__> ,aoc = Join us in the Advent of Code. We need your help, Santa's in trouble! #nixos leaderboard: 397598-41437759 https://adventofcode.com
<{^_^}> aoc redefined, was defined as Join us in the Advent of Code. We need your help, Santa's in trouble! #nixos leaderboard: 397598-41437759