From 9786eb8672213344d8d1b7bdef12bc94510b20db Mon Sep 17 00:00:00 2001 From: outremonde Date: Tue, 10 Jun 2025 20:32:00 -0400 Subject: initialized repository Former-commit-id: 84647f22b951a957b2b83885b612115d473f6626 --- features/system/server/cloud/syncthing.nix | 1 + features/system/server/core/ssh.nix | 15 +++++++++++++++ features/system/server/development/git-server.nix | 1 + features/system/server/gaming/minecraft.nix | 1 + features/system/server/media/calibre.nix | 1 + features/system/server/media/invidious.nix | 1 + 6 files changed, 20 insertions(+) create mode 100644 features/system/server/cloud/syncthing.nix create mode 100644 features/system/server/core/ssh.nix create mode 100644 features/system/server/development/git-server.nix create mode 100644 features/system/server/gaming/minecraft.nix create mode 100644 features/system/server/media/calibre.nix create mode 100644 features/system/server/media/invidious.nix (limited to 'features/system/server') 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 @@ +{} -- cgit v1.2.3