initial commit
This commit is contained in:
commit
ebc1be5217
143 changed files with 7721 additions and 0 deletions
17
modules/features/security/sysctl/security-sysctl-debug.nix
Normal file
17
modules/features/security/sysctl/security-sysctl-debug.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Restricts dmesg
|
||||
{ ... }:
|
||||
{
|
||||
config.dendritic.features.security-sysctl-debug = {
|
||||
nixosModules = [
|
||||
(
|
||||
{ ... }:
|
||||
{
|
||||
boot.kernel.sysctl = {
|
||||
"kernel.kptr_restrict" = 2;
|
||||
"kernel.dmesg_restrict" = 1;
|
||||
};
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue