2025-01-14 20:37:14 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
2025-01-03 15:57:36 +01:00
|
|
|
{
|
|
|
|
imports = [
|
2025-01-05 13:27:12 +01:00
|
|
|
./systemd
|
2025-01-03 15:57:36 +01:00
|
|
|
./ssh-as-sudo.nix
|
2025-01-10 12:50:01 +01:00
|
|
|
./apparmor
|
|
|
|
./opensnitch
|
|
|
|
./security.nix
|
2025-01-03 15:57:36 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
specialisation.unhardened.configuration = { };
|
2025-01-09 13:54:25 +01:00
|
|
|
# services.opensnitch.enable = lib.mkForce false;
|
2025-01-03 15:57:36 +01:00
|
|
|
|
|
|
|
systemd.tpm2.enable = false;
|
|
|
|
systemd.enableEmergencyMode = false;
|
|
|
|
virtualisation.vswitch.enable = false;
|
2025-01-12 19:10:42 +01:00
|
|
|
# services.resolved.enable = false;
|
2025-01-03 15:57:36 +01:00
|
|
|
security.unprivilegedUsernsClone = true;
|
2025-01-14 20:37:14 +01:00
|
|
|
environment.defaultPackages = lib.mkForce [ ];
|
|
|
|
environment.systemPackages = with pkgs; [ nano ];
|
2025-01-03 15:57:36 +01:00
|
|
|
}
|