refine timesyncd rule
This commit is contained in:
parent
8749f5c254
commit
3a29e3975e
@ -284,14 +284,25 @@ in
|
||||
operand = "list";
|
||||
list = [
|
||||
{
|
||||
type ="simple";
|
||||
type = "simple";
|
||||
sensitive = false;
|
||||
operand = "process.path";
|
||||
data = "${lib.getBin pkgs.systemd}/lib/systemd/systemd-timesyncd"; }
|
||||
{
|
||||
type ="regexp";
|
||||
operand = "dest.port";
|
||||
data = "123|37";
|
||||
data = "123|37|53";
|
||||
}
|
||||
{
|
||||
type = "regexp";
|
||||
sensitive = false;
|
||||
operand = "dest.host";
|
||||
data = ".*\.nixos\.pool\.ntp\.org";
|
||||
}
|
||||
{
|
||||
type = "simple";
|
||||
operand = "user.id";
|
||||
data = "154";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user