2025-02-10 21:55:08 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-10-16 17:59:42 +00:00
|
|
|
let
|
|
|
|
inherit (pkgs.liminix.services) longrun;
|
2025-02-10 21:55:08 +00:00
|
|
|
in
|
|
|
|
{
|
2024-10-16 17:59:42 +00:00
|
|
|
config.services.klogd = longrun {
|
|
|
|
name = "klogd";
|
|
|
|
run = ''
|
|
|
|
echo "1 2 1 8" > /proc/sys/kernel/printk
|
|
|
|
cat /proc/kmsg
|
|
|
|
'';
|
|
|
|
finish = ''
|
|
|
|
echo "8 4 1 8" > /proc/sys/kernel/printk
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|