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

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";

View file

@ -41,7 +41,9 @@
hostName = "thinkpad";
hostId = "d8d34032";
enableIPv6 = true;
firewall.allowedTCPPorts = [ 24727 ];
firewall = {
logRefusedConnections = false;
};
wireless = {
enable = true;
userControlled.enable = true;

View file

@ -9,5 +9,6 @@
};
environment.systemPackages = with pkgs; [
qpwgraph
easyeffects
];
}