aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-05-03 21:21:33 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-05-03 21:21:33 +0200
commitf100962fa31ae33943003f4d8e40393e892bd1a2 (patch)
tree2cccd3e55d347401af18507c10b27617ee74eb22
parent1a9802748712d84c6596f5d4039615ed0890376c (diff)
Switched kronos to the hardened kernel
-rwxr-xr-xhosts/kronos/configuration.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/hosts/kronos/configuration.nix b/hosts/kronos/configuration.nix
index d032921..4e78034 100755
--- a/hosts/kronos/configuration.nix
+++ b/hosts/kronos/configuration.nix
@@ -1,7 +1,15 @@
-{...}: {
+{
+ pkgs,
+ lib,
+ ...
+}: {
imports = [
./hardware-configuration.nix
];
networking.hostName = "kronos";
+ boot.kernelPackages = pkgs.linuxPackages_hardened;
+
+ # TODO: Harden the kernel even further (https://wiki.nixos.org/wiki/NixOS_Hardening)
+ # security.lockKernelModules = true;
}