jtojnar has quit [Ping timeout: 240 seconds]
Ox4A6F has quit [Ping timeout: 244 seconds]
JJJollyjim has quit [Ping timeout: 240 seconds]
emily has quit [Ping timeout: 260 seconds]
colemickens has joined #nixos-systemd
emily has joined #nixos-systemd
jtojnar has joined #nixos-systemd
Ox4A6F has joined #nixos-systemd
emily has quit [*.net *.split]
kloenk has quit [*.net *.split]
kloenk has joined #nixos-systemd
emily has joined #nixos-systemd
andi- has quit [Remote host closed the connection]
andi- has joined #nixos-systemd
elvishjerricco has quit [Read error: Connection reset by peer]
elvishjerricco has joined #nixos-systemd
<Mic92> arianvp: to solve this, we just need to merge all systemd dependencies into one package.
<kloenk> flokli, arianvp: change the comment and added me as a maintainer to systemd. May somebody put in into the systemd project, to make it easier to find? (#98998)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/98998 (by Kloenk, 2 days ago, open): systemd: create options for smaller derivation
<julm> arianvp: nice, I hope having systemd handling stage-1 will make it more easily debuggable; I recently had a bad experience where boot.debug1 was unable to give me a debug shell, I don't know why, the problem was that the initrd ssh key was in an invalid format (EC instead of OPENSSH)
<kloenk> arianvp: if you need somebody to test systemd in inird, ping me after the end of next week. Would be willing to try it on my main machine :D
V is now known as v
v is now known as V
<flokli> kloenk: sorry, yet another request for https://github.com/NixOS/nixpkgs/pull/98998
<{^_^}> #98998 (by Kloenk, 2 days ago, open): systemd: create options for smaller derivation
<kloenk> flokli: staging-next?
<flokli> staging
<kloenk> oh, missed that
<kloenk> done
<kloenk> I think gchristensen wrote some time ago something about systemd-scopes. But I can't find it on his blog. does somebody knows where he wrote that? I think it was something about how to start every gui program in a scope, and suspend that scope or so
<gchristensen> I haven't written a blog post about it, but I'd like to
<kloenk> hmm, who was it then? I think it was about sway, but also could be i3. not sure
<gchristensen> that was me
<gchristensen> but I haven't written anything about it as a blog post
<kloenk> on twitter or so?
<gchristensen> yea
<kloenk> Ok, then I have to search your timeline :)
<gchristensen> I couldlink you to the implementation if you'd like? or do you want to read the why?
<kloenk> mostly how
<kloenk> so implementation should be enough
<gchristensen> gimme 15min
<kloenk> no worries
<gchristensen> https://github.com/grahamc/nixos-config/blob/master/packages/swayconfig/config everything that runs something uses systemd-run --user --scope
<kloenk> ah, --user was the missing pice. Thanks
<gchristensen> I have an experimental bit of code which freezen cgroups when I unfocus them but it isn't really usable right now
<kloenk> You still use it? still a little confused by the concept of just freezing apps
<gchristensen> not consistently but yes ig I can't charge for a long time
<gchristensen> what is confusing?
<kloenk> so it improves battery life? by how much?
<gchristensen> kindof a lot
<gchristensen> I mean
<gchristensen> none of the programs you're running actually take up any power unless you're actively usingthem
<kloenk> oh, that I need it for school. my laptop has 60 min of battery, and school hours are 90 min xD
<gchristensen> I want to make it freeze after like 30s, instead of immediately
<kloenk> would be great if the freezer also could store drinks xD
<gchristensen> :)
<kloenk> love your maintainer tools <3 But what is grahamc.guis?
<NinjaTrappeur> wow, this is really cool!
<gchristensen> dmenu which opens when I ht Windows-e only shows those programs
<kloenk> yeah, guessed that. but what is it. is it somewhere defined? didn't find it
<gchristensen> no coreutils or other weird programs :) and, importantly, they run PATHless, because why should they get git and stuff ...
<NinjaTrappeur> Is there a way to chroot a process directly from something analogous to systemd-run?
<NinjaTrappeur> Or via the scope
<gchristensen> I don't know
<gchristensen> I'd like to eliminate access to ~ to almost all those programs, though
<NinjaTrappeur> it would be nice :)
<gchristensen> (and / for that matter...)
<NinjaTrappeur> systemd-run can push the process to a systemd-nspawn container through -m, there's maybe a trick to that way
<NinjaTrappeur> ah, nice
<kloenk> I think somebody is working on something like qubes os, but in nixos. will try to remember who
<andi-> bubblewrap all the things!
<andi-> spectrum is what you mean
<gchristensen> I am perpetually annoyed at how egregiously bad the permissions of all this software is.
<gchristensen> why can slack reboot my computer!
<andi-> because it is *you* ;-)
<kloenk> slackbot, would you please be so kind and reboot gchritensens pc?
<NinjaTrappeur> bubblewrap looks really cool!
<NinjaTrappeur> I actually started playing with systemd-nspawn to create some isolated nix-shell. Seems like I was re-inventing the wheel once again.
<gchristensen> oh cool that sounds nice
<gchristensen> I can't get slack to run in bubblewrap, yet... one day :)
<NinjaTrappeur> :)
<andi-> slack works okay via the weeslack weechat extension
<kloenk> gchristensen: is this freezer script somewhere in your nix files? or how do you call it?
<gchristensen> just ./wl-freeze.sh when I want to conserve
<gchristensen> I haven't considered it "good enough" for that level of commitment I guess
<kloenk> hmm, that exits with one on my machine. guess I have to debug that xD
<gchristensen> there you go, not good enough :P
<kloenk> could I commit it to my repo? as I can't just inherit it from your overlay :)
<gchristensen> uhhh one sec kloenk
<gchristensen> maybe just throw a comment at the top that you got it from me?
<gchristensen> I feel proud of the idea, I guess
<kloenk> If you want to package it in your own nixfiles the following days I would be even more happy. but yeah, I cann add a comment to the top
<gchristensen> ehh sure I can get it in there. one sec
<kloenk> my goal is just to have it as a package, so I can run it from my shell, without cloning some stuff
<gchristensen> pushed
<kloenk> thanks. hopefully I can get it to work
<gchristensen> send me a PR if you can't :)