1
1
Fork 0
mirror of https://git.sr.ht/~rouven/nixos-config synced 2025-05-12 15:30:54 +02:00

networking and security updates

This commit is contained in:
Rouven Seifert 2023-11-25 23:22:16 +01:00
parent ccfcd6db3a
commit 2e8e3ada22
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
7 changed files with 29 additions and 15 deletions
hosts/thinkpad

View file

@ -56,6 +56,16 @@
HibernateDelaySec=2h
'';
services.mysql = {
enable = true;
package = pkgs.mariadb;
ensureUsers = [
{
name = "user1";
}
];
};
services.logind = {
lidSwitch = "suspend-then-hibernate";
lidSwitchDocked = "suspend-then-hibernate";