!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

637 Members
NixOS ❤️ systemd182 Servers

Load older messages


SenderMessageTime
23 May 2021
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius:/17:37:20
9 Apr 2025
@elvishjerricco:matrix.orgElvishJerriccothat's just a slice unit19:39:37
23 May 2021
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius andi-: I beleive one could go other way around - in prestart add symlink from /var/lib/xyz to /srv/xyz 17:38:39
9 Apr 2025
@elvishjerricco:matrix.orgElvishJerriccoright?19:39:39
23 May 2021
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusThis should take care of permission issues17:38:49
9 Apr 2025
@elvishjerricco:matrix.orgElvishJerriccooh you mean like set service unit settings based on their slice19:39:52
23 May 2021
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusi ave not tried it tho17:39:08
9 Apr 2025
@elvishjerricco:matrix.orgElvishJerriccohm19:39:54
23 May 2021
@andi:kack.itandi- That still sounds like it will interfere with however systemd works. If you specify StateDirectory it assumes it will take care of creating/ensuring it exists. 17:46:58
9 Apr 2025
@srestegosaurio:tchncs.de@srestegosaurio:tchncs.de

I mean tweaking sandboxing and security settings slice-wide.

19:40:21
23 May 2021
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusWell, you can try creating an issue on systemd github17:49:12
9 Apr 2025
@elvishjerricco:matrix.orgElvishJerriccoyea that's not really what slices are for19:40:26
23 May 2021
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusbut probably the simplest solution here would be to get rid of dynamic users, or atleast explicitly specify a group17:49:40
9 Apr 2025
@elvishjerricco:matrix.orgElvishJerriccoslices are for resource management, not service configuration19:40:45
23 May 2021
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius(and ofc make sure that files owned by that group has rw permissions)17:50:03
9 Apr 2025
@elvishjerricco:matrix.orgElvishJerriccotwo things being in the same slice has little to do with whether they should be configured similarly19:41:10
23 May 2021
@andi:kack.itandi-Of course that is the easy way out :-)17:53:01
9 Apr 2025
@srestegosaurio:tchncs.de@srestegosaurio:tchncs.de

I would have doubted my hability to read if you had told me that it was indeed possible. xD

19:41:55
23 May 2021
@andi:kack.itandi-I can solve the issue and it isn't blocking me right now but I'd like to know how I would do this properly in the upstream sense.17:53:28
9 Apr 2025
@srestegosaurio:tchncs.de@srestegosaurio:tchncs.de

So then it is templates what I need, right?

19:43:36
23 May 2021
@kreisys:matrix.orgkreisys joined the room.19:09:12
9 Apr 2025
@srestegosaurio:tchncs.de@srestegosaurio:tchncs.de

Not actually intending to apply them to the whole system but I have a a lot of repeated code.

19:45:12
23 May 2021
Room Avatar Renderer.20:54:58
9 Apr 2025
@elvishjerricco:matrix.orgElvishJerriccotemplates are for when you want the literal same unit but with different parameters19:45:58
24 May 2021
@veggushroom:matrix.orgpapojari 🏳️‍🌈 ☭ (we/us) (Old) changed their display name from papojari to papojari ☭ (we/us).00:09:53
9 Apr 2025
@elvishjerricco:matrix.orgElvishJerricco e.g. systemd-fsck@dev-foo.service is the fsck service for the parameter /dev/foo 19:46:09
24 May 2021
@veggushroom:matrix.orgpapojari 🏳️‍🌈 ☭ (we/us) (Old) changed their display name from papojari ☭ (we/us) to papojari 🏳️‍🌈 ☭ (we/us).00:14:37
9 Apr 2025
@srestegosaurio:tchncs.de@srestegosaurio:tchncs.de

Well, then I guess it's time to do some nix abominations.

19:46:48
24 May 2021
@veggushroom:matrix.orgpapojari 🏳️‍🌈 ☭ (we/us) (Old) changed their display name from papojari 🏳️‍🌈 ☭ (we/us) to papojari 🏳️‍🌈 ☭ (we/us) (Old).00:40:08
9 Apr 2025
@elvishjerricco:matrix.orgElvishJerriccoIf you just want different units to share some directives, I think you're just looking for a Nix function19:47:15

Show newer messages


Back to Room ListRoom Version: 6