devices.one: disable password

This commit is contained in:
2024-12-09 22:55:28 +08:00
parent f007f86033
commit f243649c38

View File

@@ -39,5 +39,12 @@ inputs:
};
bugs = [ "xmunet" ];
};
boot.kernelParams = [ "acpi_osi=!" ''acpi_osi="Windows 2015"'' ];
security =
{
pam.services.kde.rules.auth.pass =
{ modulePath = "pam_succeed_if.so"; args = [ "user" "=" "chn" ]; control = "sufficient"; order = 0; };
sudo.wheelNeedsPassword = false;
};
};
}