dustbowl: Add kernel.perf_event_paranoid sysctl

This commit is contained in:
joachimschmidt557 2022-01-15 10:47:14 +01:00
parent 666f92bffb
commit 50e77fa8dc
No known key found for this signature in database
GPG key ID: E0B575BE2884ACC5

View file

@ -9,7 +9,6 @@
imports =
[ # Include the results of the hardware scan.
/etc/nixos/hardware-configuration.nix
/etc/nixos/private.nix
./cachix.nix
];
@ -47,6 +46,12 @@
};
};
# Set sysctl parameters
boot.kernel.sysctl = {
# Useful for rr
"kernel.perf_event_paranoid" = 1;
};
networking.hostName = "dustbowl"; # Define your hostname.
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.wireless.interfaces = [ "wlp2s0" ];