dustbowl: Add kernel.perf_event_paranoid sysctl
This commit is contained in:
parent
666f92bffb
commit
50e77fa8dc
1 changed files with 6 additions and 1 deletions
|
|
@ -9,7 +9,6 @@
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
/etc/nixos/hardware-configuration.nix
|
/etc/nixos/hardware-configuration.nix
|
||||||
/etc/nixos/private.nix
|
|
||||||
./cachix.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.hostName = "dustbowl"; # Define your hostname.
|
||||||
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
networking.wireless.interfaces = [ "wlp2s0" ];
|
networking.wireless.interfaces = [ "wlp2s0" ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue