summary refs log tree commit diff stats
path: root/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--configuration.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
index 72c4895..75701ad 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -3,6 +3,8 @@
     ./hardware-configuration.nix
     ./packages.nix
     ./networking.nix # network configuration that just works
+    ./users.nix
+    ./services/minecraft.nix
 
     ./services/minecraft.nix
     ./services/rust-motd.nix
@@ -14,6 +16,12 @@
   networking.hostName = "server1";
   networking.domain = "vhack.eu";
 
+  # openssh config
+  services.openssh = {
+    enable = true;
+    passwordAuthentication = false;
+    extraConfig = "PrintMotd yes\n"; # this could be done with pam
+  };
 
   system.stateVersion = "22.11";
 }