!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

666 Members
About system administration for running NixOS systems in production. Declaratively manage your operations. | Room recommendations: #networking:nixos.org183 Servers

Load older messages


SenderMessageTime
10 Apr 2026
@paul6077:matrix.orgpaul joined the room.14:02:15
@jonzuky:matrix.orgJon Zuk joined the room.20:57:31
11 Apr 2026
@lukas:landgraf.moeLukas joined the room.02:15:00
12 Apr 2026
@leona:leona.isleona changed their profile picture.12:15:51
13 Apr 2026
@tiktorchic18:matrix.orgTikTorchic18 joined the room.01:11:19
15 Apr 2026
@kix:matrix.kixago.com@kix:matrix.kixago.com left the room.07:15:06
16 Apr 2026
@pascal.sthamer:matrix.procyde.onlinePascal Sthamer joined the room.07:04:57
@jaredmontoya:matrix.orgjaredmontoyaI had to set a GOMEMLIMIT of 120MiB, and systemd now reports 154MB usage on my server and 64MB usage on the RPI. If I set GOMEMLIMIT to 50MB it hogs the cpu in a cycle of freeing and allocating the memory that it wants to use so unfortunately it can't be as light as promtail was (in fact it's a roughly 2.5x ram usage increase on the raspberry pi that doesn't have RAM to spare), but at least it's manageable now.09:33:15
@jaredmontoya:matrix.orgjaredmontoyaby the way, promtail had something called "positions file" which let it only send new logs to loki even if it was restarted. does alloy do something like this by default or I need to configure it explicitly?09:34:23
@jaredmontoya:matrix.orgjaredmontoya * 09:34:50
@k900:0upti.meK900It does by default09:40:34
@tyisi:matrix.orgTyIsI joined the room.23:14:03
17 Apr 2026
@c4lliope:matrix.orgc4lliope set a profile picture.08:36:52
@c4lliope:matrix.orgc4lliope changed their profile picture.08:41:46
@pyrox:pyrox.devdish [Fox/It/She] changed their profile picture.16:58:37
18 Apr 2026
@sss:matrix.dark-alexandr.netsss
 Failed assertions:
       - boot.initrd.luks.devices.<name>.preOpenCommands and postOpenCommands is not supported by systemd stage 1. Please bind a service to cryptsetup.target or cryptsetup-pre.target instead.

how to do it nowdays ?

01:09:54
@hexa:lossy.networkhexawrite a systemd unit in initrd instead01:11:17
@hexa:lossy.networkhexa boot.inird.systemd.services.<yourunit> = { ... } 01:12:20
@hexa:lossy.networkhexa I would interpret binding as using BindsTo 01:12:58
@elvishjerricco:matrix.orgElvishJerriccoOh uhh "bind to" is probably a bad choice of words for the assertion message then :P01:16:17
@sss:matrix.dark-alexandr.netsss so i need to create 2 services, one with BindsTo and second which depends on cryptsetup.target ? 01:16:32
@elvishjerricco:matrix.orgElvishJerriccoIt's only meant to tell you to make a systemd service relative to the cryptsetup target that's relevant to you01:17:01
@hexa:lossy.networkhexawas gonna say this feels not correct, but got distracted01:18:38
@sss:matrix.dark-alexandr.netsssso.... ?01:19:35
@sss:matrix.dark-alexandr.netsssmaybe some better way exist to mount key beofre decryption and unmount after ?01:20:24
@hexa:lossy.networkhexapost open is probably wants/after cryptsetup.target01:20:33
@sss:matrix.dark-alexandr.netsssdifferent keys for different devices01:20:38
@hexa:lossy.networkhexapre open could be wantedBy cryptsetup-pre.target, before cryptsetup.target01:21:08
@sss:matrix.dark-alexandr.netsssok, but what about different code for pre/post per device ?01:21:53
@hexa:lossy.networkhexaRedacted or Malformed Event01:22:08

Show newer messages


Back to Room ListRoom Version: 10