fix: remove options causing sudo issues

This commit is contained in:
gwg313 2026-04-21 00:45:28 -04:00
parent 96c1b1a504
commit e14744ff80
Signed by: gwg313
GPG key ID: 60FF63B4826B7400

View file

@ -6,7 +6,7 @@
{ ... }:
{
systemd.services.sshd.serviceConfig = {
NoNewPrivileges = true;
# NoNewPrivileges = true;
ProtectSystem = "strict";
ProtectHome = "read-only";
ProtectClock = true;
@ -21,7 +21,7 @@
PrivateDevices = true;
RestrictNamespaces = true;
RestrictRealtime = true;
RestrictSUIDSGID = true;
# RestrictSUIDSGID = true;
MemoryDenyWriteExecute = true;
LockPersonality = true;
DevicePolicy = "closed";