Rename xeon08 to eudy

From Eudyptula, a little penguin.
This commit is contained in:
2023-06-16 17:16:05 +02:00
parent dfbeafa2b2
commit 2a0fe5a137
10 changed files with 6 additions and 6 deletions

22
m/eudy/kernel/perf.nix Normal file
View File

@@ -0,0 +1,22 @@
{ config, pkgs, lib, ... }:
{
# add the perf tool
environment.systemPackages = with pkgs; [
config.boot.kernelPackages.perf
];
# allow non-root users to read tracing data from the kernel
boot.kernel.sysctl."kernel.perf_event_paranoid" = -2;
boot.kernel.sysctl."kernel.kptr_restrict" = 0;
# specify additionl options to the tracefs directory to allow members of the
# tracing group to access tracefs.
fileSystems."/sys/kernel/tracing" = {
options = [
"mode=755"
"gid=tracing"
];
};
}