refactor: fix several minor bugs and potential security issues

This commit is contained in:
2026-10-20 15:49:18 -04:00
parent 59fb26b5ca
commit 2e92624d07
7 changed files with 30 additions and 14 deletions
+12 -1
View File
@@ -1,4 +1,15 @@
{ _, ... }:
{
virtualisation.docker.enable = true;
virtualisation.docker = {
enable = true;
rootless = {
enable = true;
setSocketVariable = true;
daemon.settings = {
data-root = "$XDG_DATA_HOME/docker";
};
};
};
}
+7
View File
@@ -0,0 +1,7 @@
{ _, ... }:
{
security.sudo = {
enable = true;
wheelNeedsPassword = true;
};
}