refactor(systemModule:security): split into modules and add kernel hardening

This commit is contained in:
ooks-io 2024-04-29 18:45:37 +12:00
parent 2c25c8c762
commit 3a91848085
6 changed files with 322 additions and 53 deletions

View file

@ -0,0 +1,23 @@
{
security = {
pam = {
loginLimits = [
{
domain = "@wheel";
item = "nofile";
type = "soft";
value = "524288";
}
{
domain = "@wheel";
item = "nofile";
type = "hard";
value = "1048576";
}
];
services = {
hyprlock = {};
};
};
};
}