mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
journalwatch config
This commit is contained in:
parent
29a2cd5c8e
commit
69f82b1e7f
@ -38,45 +38,51 @@
|
||||
# `filters` are always regular expressions.
|
||||
# All regular expressions have to match the full string!
|
||||
filterBlocks = [
|
||||
{
|
||||
{ # yodaTux
|
||||
filters = ''
|
||||
.*
|
||||
'';
|
||||
match = "_SYSTEMD_UNIT = bluetooth.service";
|
||||
}
|
||||
{
|
||||
{ # yodaTux
|
||||
filters = ''
|
||||
.*
|
||||
'';
|
||||
match = "_SYSTEMD_UNIT = cups.service";
|
||||
}
|
||||
{ # If the user `yoda` runs a command with `sudo`.
|
||||
{ # yodaTux. If the user `yoda` runs a command with `sudo`.
|
||||
filters = ''
|
||||
\s+yoda : TTY=pts/7 ; PWD=/.+ ; USER=root ; COMMAND=/.+
|
||||
'';
|
||||
match = "SYSLOG_IDENTIFIER = sudo";
|
||||
}
|
||||
{
|
||||
{ # yodaTux
|
||||
filters = ''
|
||||
The system will suspend now!
|
||||
'';
|
||||
match = "_SYSTEMD_UNIT = systemd-logind.service";
|
||||
}
|
||||
{
|
||||
{ # yodaTux
|
||||
filters = ''
|
||||
Reexecuting.
|
||||
finished switching to system configuration /nix/store/.+-nixos-system-.+-[0-9]+\.[0-9]+pre-git
|
||||
'';
|
||||
match = "_SYSTEMD_UNIT = user@0.service";
|
||||
}
|
||||
{
|
||||
{ # yodaTux
|
||||
filters = ''
|
||||
Reexecuting.
|
||||
finished switching to system configuration /nix/store/.+-nixos-system-.+-[0-9]+\.[0-9]+pre-git
|
||||
(finished )?switching to system configuration /nix/store/.+-nixos-system-.+-[0-9]+\.[0-9]+pre-git
|
||||
'';
|
||||
match = "_SYSTEMD_UNIT = user@1000.service";
|
||||
}
|
||||
{
|
||||
{ # yodaYoga
|
||||
filters = ''
|
||||
(finished )?switching to system configuration /nix/store/.+-nixos-system-.+-[0-9]+\.[0-9]+pre-git
|
||||
'';
|
||||
match = "SYSLOG_IDENTIFIER = nixos";
|
||||
}
|
||||
{ # yodaTux
|
||||
filters = ''
|
||||
Reloading rules
|
||||
Collecting garbage unconditionally...
|
||||
@ -96,7 +102,6 @@
|
||||
ACPI: FW issue: working around C-state latencies out of order
|
||||
# Kernel WiFi driver bug.
|
||||
iwlwifi 0000:01:00.0: Unhandled alg: 0x707
|
||||
|
||||
'';
|
||||
match = "SYSLOG_IDENTIFIER = kernel";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user