gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
Dotz0cat_ has quit [Ping timeout: 240 seconds]
Dotz0cat has joined #nixos-chat
rajivr has joined #nixos-chat
pasukon has quit [Quit: Connection closed for inactivity]
supersandro20008 has joined #nixos-chat
supersandro2000 has quit [Ping timeout: 264 seconds]
supersandro20008 is now known as SuperSandro2000
slack1256 has quit [Remote host closed the connection]
tilpner_ has joined #nixos-chat
tilpner has quit [Ping timeout: 264 seconds]
tilpner_ is now known as tilpner
Dotz0cat has quit [Ping timeout: 240 seconds]
Dotz0cat has joined #nixos-chat
tilpner has quit [Read error: Connection reset by peer]
tilpner has joined #nixos-chat
omnd has quit [Ping timeout: 272 seconds]
<gchristensen> anyone else on nixos have `prove` in their pat?
<samueldr> gchristensen: I do
<gchristensen> I wonder where it is coming from ...
<samueldr> some perl
<samueldr> like, perl
<samueldr> for me it's in the same storepath as perl AFAICT
<gchristensen> oh!
<gchristensen> should perl be in $path by default ... O.o
<samueldr> probably not
<samueldr> anything programmable shouldn't be ;)
<samueldr> (we could, actually, remove all shells from PATH, no?)
<gchristensen> D
<gchristensen> sure!
SuperSandro2000 has quit [Quit: Ping timeout (120 seconds)]
Dotz0cat_ has joined #nixos-chat
Dotz0cat has quit [Ping timeout: 240 seconds]
das_j has quit [Quit: Bridge terminating on SIGTERM]
das_j has joined #nixos-chat
ece4 has joined #nixos-chat
ece has quit [Ping timeout: 240 seconds]
ece4 is now known as ece
taktoa[c] has quit [Ping timeout: 240 seconds]
ghuntley has quit [Ping timeout: 264 seconds]
ghuntley has joined #nixos-chat
taktoa[c] has joined #nixos-chat
<colemickens> omg, it's a CRI in Rust. https://github.com/cri-o/containrs
<colemickens> this is really cool and couldn't be a more perfect find for a new project idea I've had.
endformationage has quit [Quit: WeeChat 2.9]
SuperSandro2000 has joined #nixos-chat
<veleiro> y cri containers, kubernetes?
<Ke> removing shells from path breaks env shebangs
cole-h has quit [Ping timeout: 246 seconds]
tilpner_ has joined #nixos-chat
tilpner has quit [Ping timeout: 272 seconds]
tilpner_ is now known as tilpner
artturin has quit [*.net *.split]
DavHau[m] has quit [*.net *.split]
emily has quit [*.net *.split]
mjlbach has quit [*.net *.split]
chvp has quit [*.net *.split]
kalbasit[m] has quit [*.net *.split]
Taneb has quit [*.net *.split]
Ashy has quit [*.net *.split]
dadada_ has quit [*.net *.split]
genevino has quit [*.net *.split]
energizer has quit [*.net *.split]
energizer has joined #nixos-chat
emily has joined #nixos-chat
Taneb has joined #nixos-chat
DavHau[m] has joined #nixos-chat
artturin has joined #nixos-chat
mjlbach has joined #nixos-chat
Ashy has joined #nixos-chat
chvp has joined #nixos-chat
kalbasit[m] has joined #nixos-chat
dadada_ has joined #nixos-chat
genevino has joined #nixos-chat
genevino has quit [Max SendQ exceeded]
genevino has joined #nixos-chat
veleiro has quit [Ping timeout: 240 seconds]
mirage[m] has quit [Ping timeout: 240 seconds]
rosariopulella[m has quit [Ping timeout: 240 seconds]
thefloweringash has quit [Ping timeout: 240 seconds]
kraem[m] has quit [Ping timeout: 240 seconds]
leons has quit [Ping timeout: 240 seconds]
leonardp has quit [Ping timeout: 246 seconds]
puzzlewolf has quit [Ping timeout: 246 seconds]
crazazy[m] has quit [Ping timeout: 246 seconds]
aaronjanse has quit [Ping timeout: 246 seconds]
jtojnar has quit [Ping timeout: 246 seconds]
artturin has quit [Ping timeout: 258 seconds]
DavHau[m] has quit [Ping timeout: 258 seconds]
LinuxHackerman has quit [Ping timeout: 246 seconds]
philipp[m]1 has quit [Ping timeout: 246 seconds]
ili has quit [Ping timeout: 246 seconds]
emily has quit [Ping timeout: 258 seconds]
mjlbach has quit [Ping timeout: 258 seconds]
kalbasit[m] has quit [Ping timeout: 258 seconds]
chvp has quit [Ping timeout: 258 seconds]
worldofpeace has quit [Ping timeout: 244 seconds]
rmcgibbo[m] has quit [Ping timeout: 244 seconds]
rycee has quit [Ping timeout: 244 seconds]
chr0ma[m]1 has quit [Ping timeout: 244 seconds]
Ke has quit [Ping timeout: 244 seconds]
manveru[m] has quit [Ping timeout: 244 seconds]
cwslimy[m] has quit [Ping timeout: 244 seconds]
bbigras has quit [Ping timeout: 244 seconds]
siraben has quit [Ping timeout: 244 seconds]
immae has quit [Ping timeout: 244 seconds]
noneucat has quit [Ping timeout: 268 seconds]
danielrf[m] has quit [Ping timeout: 268 seconds]
ma27[m] has quit [Ping timeout: 265 seconds]
Irenes[m] has quit [Ping timeout: 265 seconds]
nicolas[m] has quit [Ping timeout: 265 seconds]
colemickens has quit [Ping timeout: 265 seconds]
Ox4A6F has quit [Ping timeout: 250 seconds]
pinage404[m]1 has quit [Ping timeout: 250 seconds]
aanderse has quit [Ping timeout: 265 seconds]
SuperSandro2000 has quit [Ping timeout: 240 seconds]
SuperSandro2000 has joined #nixos-chat
SuperSandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
SuperSandro2000 has joined #nixos-chat
omnd has joined #nixos-chat
Irenes[m] has joined #nixos-chat
__monty__ has joined #nixos-chat
thefloweringash has joined #nixos-chat
manveru[m] has joined #nixos-chat
leons has joined #nixos-chat
rmcgibbo[m] has joined #nixos-chat
aanderse has joined #nixos-chat
dtz has joined #nixos-chat
puzzlewolf has joined #nixos-chat
aaronjanse has joined #nixos-chat
Ke has joined #nixos-chat
rosariopulella[m has joined #nixos-chat
pinage404[m]1 has joined #nixos-chat
chvp has joined #nixos-chat
LinuxHackerman has joined #nixos-chat
cwNovusOrdoSeclo has joined #nixos-chat
danielrf[m] has joined #nixos-chat
noneucat has joined #nixos-chat
ili has joined #nixos-chat
leonardp has joined #nixos-chat
Ox4A6F has joined #nixos-chat
immae has joined #nixos-chat
JJJollyjim has joined #nixos-chat
kraem[m] has joined #nixos-chat
philipp[m]1 has joined #nixos-chat
DavHau[m] has joined #nixos-chat
artturin has joined #nixos-chat
bbigras has joined #nixos-chat
ma27[m] has joined #nixos-chat
jtojnar has joined #nixos-chat
awaxa has joined #nixos-chat
rycee has joined #nixos-chat
worldofpeace has joined #nixos-chat
veleiro has joined #nixos-chat
mjlbach has joined #nixos-chat
kalbasit[m] has joined #nixos-chat
nicolas[m] has joined #nixos-chat
emily has joined #nixos-chat
crazazy[m] has joined #nixos-chat
colemickens has joined #nixos-chat
siraben has joined #nixos-chat
chr0ma[m] has joined #nixos-chat
mirage[m] has joined #nixos-chat
Dotz0cat_ has quit [Ping timeout: 265 seconds]
tilpner_ has joined #nixos-chat
tilpner has quit [Ping timeout: 246 seconds]
tilpner_ is now known as tilpner
<sterni> gchristensen: inb4 something important for nix uses #!/usr/bin/env perl for some reason
ghuntley has quit [Remote host closed the connection]
taktoa[c] has quit [Remote host closed the connection]
srhb has quit [Remote host closed the connection]
manveru has quit [Remote host closed the connection]
jackdk has quit [Remote host closed the connection]
manveru has joined #nixos-chat
taktoa[c] has joined #nixos-chat
srhb has joined #nixos-chat
ghuntley has joined #nixos-chat
jackdk has joined #nixos-chat
<srhb> Is there a tool like agenix that permits the use of an agent for encryption? I really like agenix for the ease of specifying who/what should be able to decrypt a secret, but not being able to use my own key for decryption is a bit of a show-stopper.
steveeJ has quit [Remote host closed the connection]
raboof has quit [Remote host closed the connection]
steveeJ has joined #nixos-chat
raboof has joined #nixos-chat
<gchristensen> sterni: oh well :)
pie_86 has quit [Quit: Connection closed]
pie_38 has joined #nixos-chat
<srhb> etu: The nice people at AMD whipped up a kernel patch to fix my monitor with 120Hz+ on kernel>5.4
<srhb> The level of open source support compared to enterprise/consumer never ceases to amaze me.
<srhb> It's like... If you pay for support, you know you're on your own in advance.
<sterni> gchristensen: okay according to grepping /run/current-system/sw, there isn't
<etu> srhb: Woo :)
<etu> srhb: I haven't tried to run it in more than 120Hz, that's plenty fast for me :D
<srhb> Ditto, but 120Hz was broken for me too, and 60Hz is just _too_ plebian! ;-)
<etu> My work laptop can't do more than 60Hz anyways on this resolution :(
<etu> And that's the one with thunderbolt
<etu> It just works worse in every single way with my thunderbolt dock than my T495 that doesn't have thunderbolt
<etu> (work laptop is T480s)
<srhb> I've given up getting anything nice from my laptop on this monitor. It's just tearing galore. :P
<srhb> But it's *fantastic* with my workstation :)
* etu have spent hours to research a bug today, result hours later: Added a single space.
<srhb> Nice :P
steveeJ has quit []
steveeJ has joined #nixos-chat
<etu> Feels very productive.
raboof has quit []
raboof has joined #nixos-chat
pinpox has quit [Quit: The Lounge - https://thelounge.chat]
pinpox has joined #nixos-chat
BaughnLogBot has quit [Ping timeout: 264 seconds]
BaughnLogBot_ has joined #nixos-chat
BaughnLogBot_ is now known as BaughnLogBot
pie_38 has quit [Quit: Connection closed]
dtz has quit [Quit: Idle for 30+ days]
rmcgibbo[m] has quit [Ping timeout: 240 seconds]
emily has quit [Ping timeout: 240 seconds]
JJJollyjim has quit [Ping timeout: 258 seconds]
danielrf[m] has quit [Ping timeout: 258 seconds]
veleiro has quit [Ping timeout: 240 seconds]
ky0ko1 has quit [Ping timeout: 260 seconds]
cole-h has joined #nixos-chat
jdnixx-M has quit [Ping timeout: 272 seconds]
rmcgibbo[m] has joined #nixos-chat
danielrf[m] has joined #nixos-chat
veleiro has joined #nixos-chat
jdnixx-M has joined #nixos-chat
emily has joined #nixos-chat
ky0ko1 has joined #nixos-chat
veleiro has quit [Ping timeout: 240 seconds]
tilpner_ has joined #nixos-chat
tilpner has quit [Ping timeout: 240 seconds]
tilpner_ is now known as tilpner
veleiro has joined #nixos-chat
abathur has joined #nixos-chat
<gchristensen> okay, we can finally replace the PHP script in ofborg
<gchristensen> a suitable language exists to replace it
<SuperSandro2000> any language?
<gchristensen> https://phel-lang.org/
aleph- has quit [*.net *.split]
hplar has quit [*.net *.split]
makefu has quit [*.net *.split]
cosimone has joined #nixos-chat
makefu has joined #nixos-chat
hplar has joined #nixos-chat
aleph- has joined #nixos-chat
<andi-> gchristensen: are you sure it is worth the time investment?
<SuperSandro2000> > Phel is a functional programming language that compiles to PHP
<{^_^}> undefined variable 'Phel' at (string):477:1
<SuperSandro2000> well
<andi-> Since this is for nixpkgs it should be written in bash. Bash is our main language. Surely we are good in that.
<leah2> Shel
<andi-> Unfortunately we still have a bunch of Nix in the repo that we must replace at the same time.
veleiro has quit [Ping timeout: 244 seconds]
emily has quit [Ping timeout: 244 seconds]
colemickens has quit [Ping timeout: 244 seconds]
<cransom> i was led to believe that people write bad bash, so instead we should be writin bad yaml thats digested by some also questionable python.
Dotz0cat has joined #nixos-chat
<cole-h> gchristensen++
<{^_^}> gchristensen's karma got increased to 429
<sterni> keep it in php if the alternative is rewriting in bash
<sterni> the world doesn't need more shell scripts
<sterni> as shell programmers we have a collective record of …… deliberately not quoting variables because “it never contains a space anyways”
<andi-> Maybe we just haven't invented the right language for this problem just yet...
<andi-> github webhooks to rabbitmq is a very special problem.
<SuperSandro2000> sterni: out does not need quoting
<SuperSandro2000> pure shell scripts should listen to shellcheck
<sterni> SuperSandro2000: you are contradicting yourself, shellcheck does precisely tell you to quote your variables
<sterni> SuperSandro2000: and de facto not quoting $out leads to the impossibility to build nixpkgs with a nix store that has a space in its path
<sterni> (which I guess doesn't matter that much)
<sterni> writing portable shell scripts is also non-trivial
<sterni> we just escape this issue because /bin/sh is always bash
<srk> Phel, nice!
Dotz0cat has quit [Ping timeout: 256 seconds]
veleiro has joined #nixos-chat
<srk> andi-: I've altered the problem to cron, pull, git post-receive and rabbitmq
<andi-> sterni: not always :D
<SuperSandro2000> '/bin/sh being bash is a far bigger issue than making /nix non portable
emily has joined #nixos-chat
<sterni> andi-: oh god oh no
colemickens has joined #nixos-chat
<andi-> sterni: on nixos: sandbox-paths = /bin/sh=/nix/store/6hzp1f155v38fl7j5zj1xms8w1c4vqz2-busybox-1.32.1-aarch64-unknown-linux-musl/bin/busybox
<sterni> SuperSandro2000: well it is the same issue in the end, nixpkgs being full of non-optimal shell scripts which make too many assumptions about their environment
<andi-> that is inside of a build
Dotz0cat has joined #nixos-chat
<sterni> andi-: oh crazy
<andi-> outside of the build env it is bash
<andi-> nice impurity (on a different scale) there
rajivr has quit [Quit: Connection closed for inactivity]
Dotz0cat_ has joined #nixos-chat
Dotz0cat has quit [Ping timeout: 265 seconds]
hodapp has quit [Ping timeout: 260 seconds]
hodapp has joined #nixos-chat
energizer has quit [*.net *.split]
spudly has quit [*.net *.split]
kraem has quit [*.net *.split]
ornxka_ has quit [*.net *.split]
jD91mZM2 has quit [*.net *.split]
matthewcroughan has quit [*.net *.split]
judson has quit [*.net *.split]
samueldr has quit [*.net *.split]
energizer has joined #nixos-chat
judson has joined #nixos-chat
jD91mZM2 has joined #nixos-chat
matthewcroughan has joined #nixos-chat
samueldr has joined #nixos-chat
ornxka_ has joined #nixos-chat
spudly has joined #nixos-chat
kraem has joined #nixos-chat
samueldr has quit [Max SendQ exceeded]
samueldr has joined #nixos-chat
<ekleog> andi-: ohai :) ISTR you tweeting about some OSS web photo library thing, would you remember the name of it so I could have a look? (currently looking for something, ideally it'd also replace digikam, but if it can at least handle selective album sharing with the family, photo geoloc / date / people's names & stuff like that, it'd already be great :))
rj has quit [Quit: rj]
<hexa-> ekleog: photoprism
slack1256 has joined #nixos-chat
<philipp[m]1> Has anybody here worked with easer on android before?
<philipp[m]1> I'm wondering whether I can use it to toggle my wireguard vpns depending on what WiFi I'm connected to.
<hexa-> philipp[m]1: use tasker
<hexa-> yes, you have to buy it, but it works pretty well
<philipp[m]1> I don't have gapps.
<philipp[m]1> So no google play.
<hexa-> awh rip
<hexa-> i haven't found any other app to do this
<hexa-> it requires to enable external control in the wireguard app
BaughnLogBot has quit [Ping timeout: 240 seconds]
<hexa-> disable power saving for both wireguard and tasker
<hexa-> nd then create a rule
<hexa-> match the wlan network, if it moves away, vpn on, else off
<philipp[m]1> I think easer can do it in theory with broadcasts/intents.
<hexa-> ah, ok
BaughnLogBot has joined #nixos-chat
<ekleog> hexa-: neat, thank you :)
<__monty__> Is bonding the interfaces an option? Or is always on wg not an option?
<philipp[m]1> __monty__: All I want to do is toggle an additional wg network when I'm home so I don't have to do a roundtrip via my server when I want to stream something in my lan...
<ekleog> hmm looks like it doesn't have face recognition yet (according to reddit), guess I'll stay on digikam a bit longer for now
cosimone has quit [Quit: cosimone]
Dotz0cat_ has quit [Ping timeout: 256 seconds]
Dotz0cat has joined #nixos-chat
Dotz0cat has quit [Ping timeout: 256 seconds]
Dotz0cat_ has joined #nixos-chat
<f0x> ok the time has finally come #f0xnixos2021
* makefu is disappointed, channel is empty
omnd has quit [Ping timeout: 240 seconds]
<f0x> hm, yeah, hashtags on irc :P
<samueldr> I'm angry at whoever coded this thing I'm looking at
<samueldr> and I will not git blame it
<samueldr> the risk is high that I am to blame
<sterni> now you're making it exciting
<samueldr> ugh!
<aleph-> hexa-: I had a really crummy C prog to do that on my Laptop
<samueldr> why is it even legal to try running ioctls on a closed fd?
<samueldr> or, why is the error message so bad
<samueldr> >> Inappropriate ioctl for device
<aleph-> Reasonably if I'm not on my lan, then shell out and run wg.
<samueldr> thanke -ENOTTY
<samueldr> thanks*
<aleph-> samueldr: Oh boy, that's scratching at my brain...
<joepie91> <samueldr> the risk is high that I am to blame
<aleph-> What's the issue exactly?
<joepie91> well well well, if it isn't the consequences of my own actions...
<joepie91> :P
<aleph-> Haha
<samueldr> the issue is things that should have been working didn't!
<aleph-> joepie91: This JS codebase is hell
<samueldr> because I was trying to write into a closed fd!
<aleph-> I am so glad this project is almost done
<aleph-> Maybe I can find time to refactor it into sanity then.
<samueldr> weird how that once I fixed that small thing everything just works
<aleph-> Like using actual templates and not string buffers full of html with string templating...
<joepie91> oh... oh no...
<joepie91> why
<aleph-> joepie91: Because I inherited a god tier C-programmers quick node codebase
<aleph-> Because we needed a internal log in management service for work for our customer instances.
<aleph-> joepie91: The actual backend part is a mixture of promises, await, and callbacks. :/
<joepie91> uuuuugh
<joepie91> C JS is the worst
<joepie91> with some distance
<joepie91> it's actually worse than academic JS
<aleph-> It is. Most of it I can rewrite to just use async await fairly easily thankfully. The templating will be... interesting however.
<joepie91> async/await would not be my choice, but promises, yes
<aleph-> joepie91: So we have a tenant_cache object/hashmap. We pass that to a renderHost() func that then generates a column, full of divs, tooltips, buttons, and a drop down.
<aleph-> And then we just append that to the string buffer.
<aleph-> :/
<aleph-> joepie91: Yeah I'm just used to C stuff too much. So async/await makes it easier for me to order stuff and quickly grok it. Otherwise I'd use promises. They're fine.
<joepie91> aleph-: unfortunately async/await in JS runs the risk of race conditions, *especially* when working with code that mutates shared state, which this code will almost certainly do
<joepie91> it looks synchronous, but isn't, and you still need to understand 100% of the semantics of promises to use it safely
<aleph-> Eyeppp.
<f0x> hmm what would be the best way to try automatically boot into an older system config if the new one failed?
<aleph-> Thankfully there's only one func that mutates shared state, runs on a setInterval timer.
<f0x> (as this is a totally headless system)
<joepie91> aleph-: I somehow have difficulty believing that in C JS :)
<joepie91> it almost always has shared state squirreled away somewhere...
<aleph-> joepie91: Nope, very small codebase thankfully. Everything else just reads from that single shared state.
<__monty__> f0x: I think maybe infinisil's nixus can do that.
__monty__ has quit [Quit: leaving]
<f0x> hmm do you have a link?
<aleph-> Should be it
<eyJhb> ^^Nixus is wonderful
<eyJhb> ALso, it counts fails as "I cannot SSH into the machine" and not just, some unit failed to start etc.
<aleph-> Yep, wish nixops had that feature.
Dotz0cat_ has quit [Ping timeout: 272 seconds]
<aleph-> Will probably use nixus once it has a better UX.
<infinisil> o/
<eyJhb> As someone who has never used anything else, what does Nixus need to have better UX?
<infinisil> eyJhb: s/what/why?
<infinisil> What I'd like to have is docs, tests, better output, less bugs, less bash (the last two go hand in hand)
aleph- has quit [Ping timeout: 260 seconds]
<infinisil> f0x: Oh I think the new deploy-rs can also do an auto-rollback thing: https://github.com/serokell/deploy-rs
<f0x> so i was thinking about using morph, but at least the readme does not seem to list anything like this
aleph- has joined #nixos-chat
ece has quit [Read error: Connection reset by peer]
ece has joined #nixos-chat