back to root
This commit is contained in:
parent
187673b497
commit
a3a71b51a5
3 changed files with 4 additions and 15 deletions
|
|
@ -35,12 +35,9 @@
|
|||
# }
|
||||
# ];
|
||||
securityContext = {
|
||||
allowPrivilegeEscalation = true;
|
||||
capabilities.add = ["SYS_ADMIN"];
|
||||
seccompProfile.type = "RuntimeDefault";
|
||||
runAsNonRoot = true;
|
||||
runAsUser = 1000;
|
||||
runAsGroup = 1000;
|
||||
runAsUser = 0;
|
||||
runAsGroup = 0;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@ let
|
|||
KbdInteractiveAuthentication no
|
||||
PubkeyAuthentication no
|
||||
|
||||
PermitRootLogin no
|
||||
AllowUsers dev
|
||||
PermitRootLogin yes
|
||||
AllowUsers root
|
||||
|
||||
AllowTcpForwarding yes
|
||||
X11Forwarding no
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
{ cfg, lib, inputs, ... }:
|
||||
let
|
||||
manifests = [
|
||||
|
||||
];
|
||||
imported = map ( n: import n { inherit cfg lib inputs; } ) manifests;
|
||||
in
|
||||
lib.foldl' lib.recursiveUpdate {} imported
|
||||
Loading…
Add table
Add a link
Reference in a new issue