aboutsummaryrefslogtreecommitdiffstats
path: root/roles/shared.nix
diff options
context:
space:
mode:
Diffstat (limited to 'roles/shared.nix')
-rw-r--r--roles/shared.nix16
1 files changed, 7 insertions, 9 deletions
diff --git a/roles/shared.nix b/roles/shared.nix
index 158ec76..132a382 100644
--- a/roles/shared.nix
+++ b/roles/shared.nix
@@ -317,7 +317,6 @@
"network"
"plugdev"
"render"
- "render"
"systemd-journal"
"users"
"video"
@@ -450,8 +449,8 @@
fontconfig = {
enable = true;
hinting = {
- enable = true;
autohint = true;
+ enable = true;
style = "medium";
};
useEmbeddedBitmaps = true;
@@ -478,8 +477,8 @@
Compression = yes
ControlMaster = yes
Protocol = 2
- ServerAliveInterval = 1
ServerAliveCountMax = 3
+ ServerAliveInterval = 1
TCPKeepAlive = yes
'';
hostKeyAlgorithms = [
@@ -521,8 +520,8 @@
};
arp-scan.enable = true;
appimage = {
- enable = true;
binfmt = true;
+ enable = true;
};
ccache.enable = true;
wireshark.enable = true;
@@ -728,15 +727,14 @@
PasswordAuthentication = false;
};
extraConfig = ''
+ AllowAgentForwarding no
+ AllowTcpForwarding no
ClientAliveCountMax 0
ClientAliveInterval 300
-
LoginGraceTime 60
- AllowTcpForwarding no
- AllowAgentForwarding no
- MaxAuthTries 3
+ MaxAuthTries 1
MaxSessions 2
- TCPKeepAlive no
+ TCPKeepAlive yes
'';
};
earlyoom = {