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 = {
|
securityContext = {
|
||||||
allowPrivilegeEscalation = true;
|
|
||||||
capabilities.add = ["SYS_ADMIN"];
|
capabilities.add = ["SYS_ADMIN"];
|
||||||
seccompProfile.type = "RuntimeDefault";
|
runAsUser = 0;
|
||||||
runAsNonRoot = true;
|
runAsGroup = 0;
|
||||||
runAsUser = 1000;
|
|
||||||
runAsGroup = 1000;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -26,8 +26,8 @@ let
|
||||||
KbdInteractiveAuthentication no
|
KbdInteractiveAuthentication no
|
||||||
PubkeyAuthentication no
|
PubkeyAuthentication no
|
||||||
|
|
||||||
PermitRootLogin no
|
PermitRootLogin yes
|
||||||
AllowUsers dev
|
AllowUsers root
|
||||||
|
|
||||||
AllowTcpForwarding yes
|
AllowTcpForwarding yes
|
||||||
X11Forwarding no
|
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