summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorstuebinm2023-05-29 02:13:36 +0200
committerstuebinm2023-05-29 02:13:36 +0200
commit6085f86d2a39c5c8d8c8f256fe2650f02e6ff368 (patch)
treeb273e6598e74b3b461415d31aedb95351d674738 /common
parent3ccfcfb3dc9562b38141b26aed3bf61e24be4457 (diff)
initial jump to nixos 23.05
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 = {