README.md: add GLF OS credits

and adapt various config elements from it

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-06-12 22:39:29 +03:00
parent e170e9d2b7
commit 1dc168ce63
7 changed files with 22 additions and 4 deletions

View File

@ -1,3 +1,3 @@
{
imports = [./slim.nix];
imports = [./slim.nix ./zram.nix];
}

View File

@ -0,0 +1,8 @@
{
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 25;
priority = 5;
};
}

View File

@ -7,7 +7,12 @@
package = pkgs.lixPackageSets.latest.lix;
channel.enable = false;
daemonCPUSchedPolicy = "idle";
optimise = {
automatic = true;
dates = ["weekly"];
};
settings = {
auto-optimise-store = true;
experimental-features = [
"nix-command"
"flakes"

View File

@ -56,6 +56,7 @@ in {
"fs.protected_regular" = 2;
"fs.suid_dumpable" = 0;
"kernel.kptr_restrict" = 2;
"kernel_kexec_load_disabled" = 1;
# "kernel.modules_disabled" = 1;
"kernel.sysrq" = 0;
"kernel.unprivileged_bpf_disabled" = 1;

View File

@ -16,6 +16,10 @@
bootstrap_resolvers = ["9.9.9.11:53" "9.9.9.9:53"];
};
};
fstrim = {
enable = true;
interval = "daily";
};
opensnitch = {
enable = false;
settings = {