forked from M-Labs/it-infra
dmesg_restrict is now default on NixOS 24.11
This commit is contained in:
parent
9e74ec65bb
commit
9558882e2b
@ -732,7 +732,6 @@ in
|
|||||||
users.extraUsers.nix = {
|
users.extraUsers.nix = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
};
|
};
|
||||||
boot.kernel.sysctl."kernel.dmesg_restrict" = true;
|
|
||||||
services.udev.packages = [ pkgs.sane-backends ];
|
services.udev.packages = [ pkgs.sane-backends ];
|
||||||
|
|
||||||
nix.settings.max-jobs = 10;
|
nix.settings.max-jobs = 10;
|
||||||
|
@ -12,6 +12,7 @@ in
|
|||||||
|
|
||||||
boot.loader.systemd-boot.memtest86.enable = true;
|
boot.loader.systemd-boot.memtest86.enable = true;
|
||||||
boot.loader.grub.memtest86.enable = true;
|
boot.loader.grub.memtest86.enable = true;
|
||||||
|
boot.kernel.sysctl."kernel.dmesg_restrict" = false;
|
||||||
|
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
|
@ -15,6 +15,7 @@ in
|
|||||||
boot.loader.generic-extlinux-compatible.enable = true;
|
boot.loader.generic-extlinux-compatible.enable = true;
|
||||||
boot.kernelParams = if rpi4 then ["cma=64M"] else []; # work around https://github.com/raspberrypi/linux/issues/3208
|
boot.kernelParams = if rpi4 then ["cma=64M"] else []; # work around https://github.com/raspberrypi/linux/issues/3208
|
||||||
boot.initrd.includeDefaultModules = false;
|
boot.initrd.includeDefaultModules = false;
|
||||||
|
boot.kernel.sysctl."kernel.dmesg_restrict" = false;
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
|
Loading…
Reference in New Issue
Block a user