summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/desktop.nix2
-rw-r--r--common/headless.nix8
2 files changed, 7 insertions, 3 deletions
diff --git a/common/desktop.nix b/common/desktop.nix
index c97b3b9..376bd87 100644
--- a/common/desktop.nix
+++ b/common/desktop.nix
@@ -24,6 +24,8 @@
drivers = [ pkgs.epson-escpr2 pkgs.epson-escpr ];
};
+ programs.fish.enable = true;
+
users.mutableUsers = false;
users.defaultUserShell = pkgs.fish;
users.users.stuebinm = {
diff --git a/common/headless.nix b/common/headless.nix
index 25c668b..396ded0 100644
--- a/common/headless.nix
+++ b/common/headless.nix
@@ -18,8 +18,10 @@
services.openssh = {
enable = true;
- permitRootLogin = "prohibit-password";
- passwordAuthentication = false;
+ settings = {
+ PermitRootLogin = "prohibit-password";
+ PasswordAuthentication = false;
+ };
};
security.sudo.enable = false;
@@ -35,7 +37,7 @@
bantime-increment.enable = true;
bantime-increment.overalljails = true;
bantime-increment.maxtime = "1312m";
- ignoreIP = [ "185.39.64.13" ];
+ maxretry = 20;
};
services.logrotate = {