summaryrefslogtreecommitdiff
path: root/features/system/server
diff options
context:
space:
mode:
Diffstat (limited to 'features/system/server')
-rw-r--r--features/system/server/cloud/syncthing.nix1
-rw-r--r--features/system/server/core/ssh.nix15
-rw-r--r--features/system/server/development/git-server.nix1
-rw-r--r--features/system/server/gaming/minecraft.nix1
-rw-r--r--features/system/server/media/calibre.nix1
-rw-r--r--features/system/server/media/invidious.nix1
6 files changed, 20 insertions, 0 deletions
diff --git a/features/system/server/cloud/syncthing.nix b/features/system/server/cloud/syncthing.nix
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/features/system/server/cloud/syncthing.nix
@@ -0,0 +1 @@
+{}
diff --git a/features/system/server/core/ssh.nix b/features/system/server/core/ssh.nix
new file mode 100644
index 0000000..16fec48
--- /dev/null
+++ b/features/system/server/core/ssh.nix
@@ -0,0 +1,15 @@
+{ config, lib, ... }: let
+ cfg = config.features.server.ssh;
+in {
+ options.features.server.ssh.enable = lib.mkEnableOption "sshd";
+ config = lib.mkIf cfg.enable {
+ services.openssh = {
+ enable = true;
+ ports = [ 2200 ];
+ settings = {
+ PermitRootLogin = "no";
+ PasswordAuthentication = false;
+ };
+ };
+ };
+}
diff --git a/features/system/server/development/git-server.nix b/features/system/server/development/git-server.nix
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/features/system/server/development/git-server.nix
@@ -0,0 +1 @@
+{}
diff --git a/features/system/server/gaming/minecraft.nix b/features/system/server/gaming/minecraft.nix
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/features/system/server/gaming/minecraft.nix
@@ -0,0 +1 @@
+{}
diff --git a/features/system/server/media/calibre.nix b/features/system/server/media/calibre.nix
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/features/system/server/media/calibre.nix
@@ -0,0 +1 @@
+{}
diff --git a/features/system/server/media/invidious.nix b/features/system/server/media/invidious.nix
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/features/system/server/media/invidious.nix
@@ -0,0 +1 @@
+{}