mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
networking and security updates
This commit is contained in:
parent
ccfcd6db3a
commit
2e8e3ada22
7 changed files with 29 additions and 15 deletions
|
@ -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";
|
||||
|
|
|
@ -41,7 +41,9 @@
|
|||
hostName = "thinkpad";
|
||||
hostId = "d8d34032";
|
||||
enableIPv6 = true;
|
||||
firewall.allowedTCPPorts = [ 24727 ];
|
||||
firewall = {
|
||||
logRefusedConnections = false;
|
||||
};
|
||||
wireless = {
|
||||
enable = true;
|
||||
userControlled.enable = true;
|
||||
|
|
|
@ -9,5 +9,6 @@
|
|||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
qpwgraph
|
||||
easyeffects
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue