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:
parent
ccfcd6db3a
commit
2e8e3ada22
7 changed files with 29 additions and 15 deletions
hosts/thinkpad
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue