From 5aa1ac83a632c1d4defe1f03629680c35724b1ea Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Fri, 22 Dec 2023 11:10:59 +0800 Subject: [PATCH] fixup! nixos: profiles: core: sorting --- nixos/profiles/core/hardening/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/profiles/core/hardening/default.nix b/nixos/profiles/core/hardening/default.nix index 6c8b30f..2c589a0 100644 --- a/nixos/profiles/core/hardening/default.nix +++ b/nixos/profiles/core/hardening/default.nix @@ -1,7 +1,10 @@ -_: { +{...}: { ### Basic hardening # ref: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/hardened.nix # ref: https://madaidans-insecurities.github.io/guides/linux-hardening.html + imports = [ + ./sysctl.nix + ]; environment.etc.machine-id.text = "b08dfa6083e7567a1921a715000001fb"; # whonix id security.apparmor.enable = true;