<arianvp> yay 246 is out!
<arianvp> > The service manager gained basic support for cgroup v2 freezer. Units
<{^_^}> undefined variable 'The' at (string):318:1
<arianvp> can now be suspended or resumed either using new systemctl verbs,
<arianvp> freeze and thaw respectively, or via D-Bus.
<arianvp> gchristensen: ^
<arianvp> you might find this interesting :)
<infinisil> arianvp: He already talked about it in #nixos-chat earlier :D
<gchristensen> hell yeah!
<arianvp> we'll have some major breakage in nixos but for greater good
<arianvp> you cant set User=nobody anymore
<arianvp> which we do in quite some services (But which is _always_ the wrong choice; as it's a a security-issue)
<hexa-> should've called nobody everyone
<arianvp> hexa-: yes :)
<arianvp> it's horribly named
<arianvp> oh no; we even have services that store state as the nobody/nogroup user
<arianvp> yikes
<arianvp> :)
<hexa-> ouch
<Mic92> arianvp: does systemd forbid this now?
<arianvp> Yes.
<arianvp> Or it throws a warning. Not sure. Let me check the notes
<Mic92> Makes sense.
<Mic92> It should throw a warning so and let downstream fix it.
<infinisil> Hm, though I'm wondering, what's freeze/thaw useful for? I can't quite think of anything right now
<Mic92> pausing services
<Mic92> Useful in HPC to schedule different tasks for example
<hexa-> useful for laptops to pause tasks while on battery
<infinisil> I see, good examples
<gchristensen> that is what my freezer program does
<hexa-> your freezer runs systemd?
<gchristensen> lol
<hexa-> just checking
<gchristensen> all my gui-launched programs are in their own scopes, and if I leave one unfocused for a few minutes it freezes until I give it focus again
<gchristensen> I want to extend this t oa "nighttime mode" which freezes all programs to encourage me to go to bed
<gchristensen> but that requires learning how to draw over programs in wayland
<infinisil> Damn!
<infinisil> gchristensen: Do you have an exception for background videos/audio
<infinisil> ?
<gchristensen> not yet, but I would really like to integrate with pulseaudio or something to see if a program I'm about to freeze has an active audio stream
<Mic92> most video players use the inhibit api.
<Mic92> audio players unlikely so
<Mic92> Not sure if they require the ui to be focused though
<gchristensen> ah so maybe I can just check to see if the program is holding an inhibit lock or something?
<Mic92> mpv does seem to be listed their, which I find weird.
<gchristensen> I've stopped hacking on it though because I like what I have so far, and want to focus on running systemd and my whole system outside of the default network namespace, to keep physical NICs in a different namespace
<Mic92> I actually I don't want any of my gui apps to freeze.
<Mic92> They are all sending me notifications in one form or the other
<gchristensen> yeah it'd be cool if it could be more app-ified with background notifications being handled specially, but that isn't likely
<arianvp> infinisil: the eventual plan for gnome is that windows that don't have focus get frozen
<arianvp> Just like on Android
<gchristensen> hey that is what I've got and want, perfect!
<arianvp> The people from Librem want to use it for improved battery life on their Linux phones
<arianvp> (me and flokli recently went out for lunch with Lennart and the Librem guys)
<arianvp> And were discussing exactly this
<flokli> arianvp: there is more to that. Phones have a very different power management compared to "desktop systems|
<flokli> there's this whole wakelock concept, which is really different
<gchristensen> something about the wake lock he wassaying
<gchristensen> yeah
<flokli> I need some reviews btw
<flokli> https://github.com/NixOS/nixpkgs/pull/94356 unbreaks staging-next, and disables stuff which isn't really well-supported upstream even
<{^_^}> #94356 (by flokli, 4 minutes ago, open): systemd: disable remote support
<{^_^}> #94354 (by flokli, 17 minutes ago, open): systemd: 245.6 -> 246
<flokli> this currently has a cyclic dependency, which gets dragged into libsystemd, which needs to be hunted down
<flokli> before we merge the bump, I'd like to have some more eyes (including my own) on https://github.com/NixOS/nixpkgs/pull/91960
<{^_^}> #91960 (by datafoo, 4 weeks ago, open): nixos/networkd: update options
<flokli> and then there's https://github.com/NixOS/nixpkgs/pull/66856 , which basically only needs a super small nixos vm test to be merged
<{^_^}> #66856 (by flokli, 49 weeks ago, open): systemd: build with cryptsetup support, add cryptsetup generators
<flokli> any takers? I can offer stickers :-)
<flokli> cake even, if close nearby
<infinisil> arianvp: Oh nice!
<infinisil> I'm still eagerly awaiting my Librem 5 :)
ajs124 has joined #nixos-systemd
das_j has joined #nixos-systemd
<arianvp> I'm using journal remote
<arianvp> flokli: there's also a NixOS option to enable it iirc?
<arianvp> Real question is why systemd doesn't link with libmicrohttpd anymore
<arianvp> Oh no that's http gateway
<arianvp> Sorry for confusion
<arianvp> See eelco already claimed your cake :)
<flokli> NL is too far for cake
<flokli> I can send stickers, though ;-)