move podmand security options to podman aspect
This commit is contained in:
parent
d83172f487
commit
c6fbd21009
2 changed files with 23 additions and 15 deletions
|
|
@ -1,14 +1,13 @@
|
|||
{ ... }:
|
||||
{
|
||||
flake.modules.nixos.common-security = { ... }: {
|
||||
security = {
|
||||
unprivilegedUsernsClone = true; # Needed for rootless podman
|
||||
sudo = {
|
||||
flake.modules.nixos.common-security =
|
||||
{ ... }:
|
||||
{
|
||||
security.sudo = {
|
||||
wheelNeedsPassword = false;
|
||||
extraConfig = ''
|
||||
Defaults lecture = never
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue