gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<MichaelRaskin> Bavaria probably qualifies for this description even relative to EU, but here there is at least some hope that testing increase would allow targeted lockdowns instead of stop-the-world lockdown that cannot be lifted without going to square one.
<gchristensen> hm not what I expected of Bavaria
<MichaelRaskin> Good question whether entire Germany now has restrictions on leaving buildings
<MichaelRaskin> I think Bavaria was in the first wave of federal states to introduce such restrictions state-wide
abathur has joined #nixos-chat
abathur has quit [Ping timeout: 240 seconds]
cransom has quit [Ping timeout: 265 seconds]
cransom has joined #nixos-chat
__monty__ has quit [Quit: leaving]
* colemickens doesn't believe anyone except NY's numbers
ottidmes has quit [Ping timeout: 265 seconds]
abathur has joined #nixos-chat
neeasade has quit [Ping timeout: 256 seconds]
buckley310 has joined #nixos-chat
<samueldr> heh, a few years back I had a custom boot splash app that was able to directly make use of android boot animations
<cole-h> infinisil: A lot of those are super clean. That 3rd one I've seen since the old custom boot image days
<cole-h> samueldr: ^^
<samueldr> it made the development cycle easier since I didn't have to design a format for animation
<samueldr> a fun thing I did was a spoof of the windows 98 one, with a spoof of early vaporwave windows 98 login screen for lightdm
<cole-h> How hard is it to get plymouth up and running on NixOS?
<samueldr> you tell us :)
<cole-h> I'll let you know next week then :P
<infinisil> cole-h: I think it's just `services.plymouth.enable = true` :)
<infinisil> (though this isn't a good idea if you use ZFS encryption: https://github.com/NixOS/nixpkgs/issues/44965)
<{^_^}> #44965 (by ElvishJerricco, 1 year ago, open): Enabling plymouth hides ZFS password prompt
waleee-cl has quit [Quit: Connection closed for inactivity]
<colemickens> gchristensen: I saw some of your comments (and a patch, I believe) about multiple different nixpkgs being used in a single nixops deployment. is that a patch you still carry, did you adopt another technique, or just stop trying to do the thing that hurts?
drakonis has quit [Quit: WeeChat 2.7.1]
<cole-h> infinisil: Is there a difference between "ZFS encryption" and luks{,2} encryption?
<danderson> ZFS encryption is native to ZFS, happens within the filesystem structure instead of at the block level
<danderson> has various tradeoffs. One big benefit is that you can have a ZFS pool with encrypted and unencrypted datasets, and you can still access the unencrypted stuff if you don't have keys to unlock the encrypted ones
<danderson> you can also stream encrypted ZFS datasets to another ZFS pool without having the keys - ZFS still gets to see the filesystem "skeleton", so it can still do efficient deduplication of the encrypted content
<danderson> means you can stream your encrypted datasets to an offsite backup system that doesn't have the decryption keys, and it just lands on disk as an encrypted ZFS dataset
<cole-h> Interesting. Is ZFS-native encryption non-proprietary? I was reading up on it here (https://pthree.org/2012/04/17/install-zfs-on-debian-gnulinux/) which mentions that encryption is Oracle-only
<cole-h> But the update mentioning that is also from 2012, so...
abathur has quit [Ping timeout: 260 seconds]
<cole-h> Oh, it appears since 0.8.0, it has native encryption
lovesegfault has joined #nixos-chat
KeiraT has quit [Ping timeout: 240 seconds]
cole-h has quit [Quit: Goodbye]
abathur has joined #nixos-chat
abathur has quit [Ping timeout: 240 seconds]
KeiraT has joined #nixos-chat
lovesegfault has quit [Ping timeout: 240 seconds]
Jackneill has joined #nixos-chat
KeiraT has quit [Remote host closed the connection]
abathur has joined #nixos-chat
KeiraT has joined #nixos-chat
abathur has quit [Ping timeout: 250 seconds]
<flokli> infinisil: there's even support for custom themes - so if you want to show a cat picture on bootup, you can :-)
<flokli> I think this is all thanks to samueldr
buckley310 has quit [Quit: The Lounge - https://thelounge.chat]
buckley310 has joined #nixos-chat
__monty__ has joined #nixos-chat
lassulus has quit [Quit: WeeChat 2.6]
lassulus has joined #nixos-chat
<eyJhb> cransom: from what I can read, that doesn't work... :(
<eyJhb> > DKK 1
<eyJhb> Work damn it
ottidmes has joined #nixos-chat
bridge[evilred] has quit [Remote host closed the connection]
abathur has joined #nixos-chat
abathur has quit [Ping timeout: 260 seconds]
kcalvinalvin has joined #nixos-chat
{^_^} has quit [Remote host closed the connection]
<ldlework> ORM progress: https://gist.github.com/dustinlacewell/9fdf73c12b47735f4f1fe63b41348215 You can now change object attributes and save them to the DB, and then run queries and get back EIEIO object instances
<ldlework> oops sorry wrong channel
<ottidmes> ldlework: building a personal knowledge base within emacs?
<ldlework> ottidmes: yeah, I'm building an sql-backed org-brain alternative, but i was writing a bunch of SQL CRUD boilerplate and I was losing my mind
<ldlework> so I'm writing an EIEIO/EmacSQL ORM first :P
<ldlework> ottidmes: so annoying how negative the main channel can be
<gchristensen> :o
<ldlework> why would you try to convince someone to stop trying to write an elisp version of a library-type that is popular across languages/ecosystems that elisp lacks?
<ldlework> i almost got de-motivated, but i decided to make it nice and prove them wrong :)
<ldlework> gchristensen: oops forgot we're not in #nixos-emacs again lol, by "main channel", I mean #emacs, not #nixos :)
<gchristensen> this is cool
<ottidmes> ldlework: Cool stuff :) I am working on my own PKB too, but outside emacs
<ldlework> right on
<ottidmes> It has its own lightweight markup language targeted at knowledge base systems, editable in its raw form but also in a rich text editor, although still a work in progress
<ottidmes> I underestimated how easy it would be to implement a parser for a mixed-content language, so many edge cases, even for a simple language
<ldlework> you mean overestimated?
<ottidmes> yep :P
<ottidmes> wrote a verifier to test the language, and it kept on giving me edge cases I had not considered yet
<ottidmes> some requiring me to go back to the drawing borad
<ldlework> I am now generating short getters and setters: https://gist.github.com/dustinlacewell/9fdf73c12b47735f4f1fe63b41348215
<ottidmes> nice, and in the end I doubt you will need a too complicated ORM for this purpose, right?
<ldlework> ottidmes: yeah not at all
<srk> ottidmes: I wrote a lang for symbolic algebra recently but quickcheck quickly gave me cases that broke the concept completely like - eval (0 * 1/0) /= eval . simpl (0 * 1/0) and other thing like (-2)**(-1.6)
<srk> got recommendations to use Agda :D
<ottidmes> Ah, Agda, the only time I use Emacs... I did not had a great time with it, but it does work well when your problem is math based
<srk> hehe, same, with evil! my problem is mixed as it is math but a lots of floats and sin/cos
abathur has joined #nixos-chat
abathur has quit [Ping timeout: 265 seconds]
andi- has quit [Quit: WeeChat 2.7.1]
{^_^} has joined #nixos-chat
andi- has joined #nixos-chat
abathur has joined #nixos-chat
ottidmes has quit [Quit: WeeChat 2.7.1]
neeasade has joined #nixos-chat
waleee-cl has joined #nixos-chat
drakonis has joined #nixos-chat
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos-chat
cole-h has joined #nixos-chat
<samueldr> flokli: no, haven't played with plymouth, someone else must have done that :)
<ashkitten> ugh do i seriously need magisk just to change my emoji font still
<ashkitten> android....
<samueldr> blobs forever?
<ashkitten> i use twemoji usually
<cole-h> samueldr: Blobs forever.
<ashkitten> basically every messaging platform uses twemoji by default so i just want consistency
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos-chat
evanjs has quit [Client Quit]
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<gchristensen> it is 12C and sunny outside, and man is it gorgeous.
evanjs has joined #nixos-chat
rardiol has joined #nixos-chat
evanjs has quit [Client Quit]
<andi-> I did read that as I2 and was confused for a second
<andi-> I2C
evanjs has joined #nixos-chat
<gchristensen> hehe
<cole-h> gchristensen: Is that the systemd unit you wanted me to try and create yesterday?
<gchristensen> related to it, certainylly
<ashkitten> infinisil: could the nixoses secrets module be made to allow namespacing of secrets so i could do for instance `secrets.mastodon.otpSecret`?
<colemickens> hi gchristensen, I don't want to bother, hopefully, but do you use multiple nixpkgs within a single nixops network still, or do you not try to do that anymore?
<gchristensen> I try not to do thaht
<gchristensen> :/
<gchristensen> maybe nixops 2:)
<gchristensen> (maybe not)
* colemickens continues the quest for the perfect tool
* colemickens is sure this is going to end in another ~50 lines of bash
<srk> it got closed yesterday https://github.com/NixOS/nixops/pull/665/
<colemickens> weird, I must've looked at that just before the update. That explains a lot; thanks srk
<srk> wrote something similar for morph https://github.com/DBCDK/morph/pull/55
<{^_^}> DBCDK/morph#55 (by sorki, 49 weeks ago, open): Allow per deployment.nixPath .importPath
<colemickens> also, grahamc thanking himself for the PR, amusing
<cole-h> I wish you could click on the "updated yesterday" stuff on GH to see what it counts as "updated"
<srk> colemickens: indeed :D
<gchristensen> hah
lovesegfault has joined #nixos-chat
Jackneill has quit [Ping timeout: 264 seconds]
KeiraT has quit [Ping timeout: 240 seconds]
lassulus has quit [Ping timeout: 265 seconds]
kgz has quit [Ping timeout: 265 seconds]
yorick has quit [Ping timeout: 265 seconds]
lassulus has joined #nixos-chat
yorick1 has joined #nixos-chat
yorick1 is now known as yorick
KeiraT has joined #nixos-chat
kgz has joined #nixos-chat
<infinisil> ashkitten: I guess `secrets."mastodon/otpSecret"` would work too
<infinisil> (or with a "." instead of "/", not sure if i handle /'s correctly :P)
<ashkitten> maybe, i was thinking more in terms of a secrets/default.nix that has `mastodon = import ./mastodon`
<infinisil> You can always abstract this stuff with more modules
<infinisil> E.g. `imports = [ ./mastodon.nix ]`, which then sets all the mastodon secrets
<ashkitten> i don't think secrets is a module
<ashkitten> it's an attrsOf right?
<ashkitten> so i can't do imports
<ashkitten> oh, i guess i could do it as a module at the configuration level
<ashkitten> well, idk
red[evilred] has joined #nixos-chat
bridge[evilred] has joined #nixos-chat
<eyJhb> __monty__, joepie91: I got the keyboard polished, so it looks a lot nicer now!
tilpner has quit [Remote host closed the connection]
<__monty__> still... -_-
<__monty__> ; p
tilpner has joined #nixos-chat
<eyJhb> What do you have against it? :p
<eyJhb> __monty__: you know you want one!
<__monty__> I've thought about it but I can't risk ruining such a great keyboard.
<__monty__> It's not as if the legend annoys me, I never look at it.
<__monty__> And I kind like the whole "sleeper" aesthetic.
<__monty__> *kinda
<__monty__> Confuses people way more because they're not on guard because there's something funky with the keyboard.
ZaraChimera has joined #nixos-chat
<infinisil> ashkitten: You can in the top-most file
<infinisil> E.g. `{ imports = [ ./mastodon.nix ]; nodes.foo = ...; ... }`
__monty__ has quit [Ping timeout: 240 seconds]
<infinisil> Or alternatively for specific machines as `nodes.foo.configuration = { imports = [ ./mastodon.nix ]; ... };`
<colemickens> pushed my config to my pi and switched it in, my login shell doesn't exist.
<colemickens> anyway around physically logging into it?
<samueldr> run something specific using ssh
<samueldr> ssh /bin/sh maybe?
<samueldr> or ssh /usr/bin/env something-else
<colemickens> It might actually be an auth issue, but that's equally confusing, I clearly didn't change anything key related
<colemickens> but this same scp call in this script worked before the activate and failed afterward.
<colemickens> I'm probably making another simple mistake, this headache is a whopper.
<colemickens> and this behaved similarly when I made this same mistake working with this broken user config.
ZaraChimera has quit [Read error: Connection reset by peer]
<colemickens> oh right, this is the Pi, I can cheat and edit cmdline or pull an old build from /boot/old. easy.
<colemickens> Yeah, that was the issue. Pleasant workaround, thanks as usual NixOS :)
red[evilred] has quit [Quit: Idle timeout reached: 10800s]