aboutsummaryrefslogtreecommitdiff
path: root/modules/services
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-12-30 10:27:23 -0600
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-12-30 10:27:23 -0600
commitf58349a5690001aaead5ee50321f05a870e2b87e (patch)
treeb4907a67591bd02c61652fd99941a0e0e4cb6602 /modules/services
parent3c79a42686239c84ab6531f21f51882e4c622732 (diff)
declare github authentication key
Diffstat (limited to 'modules/services')
-rw-r--r--modules/services/nixos/ssh.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/services/nixos/ssh.nix b/modules/services/nixos/ssh.nix
index b594a2d..2867d10 100644
--- a/modules/services/nixos/ssh.nix
+++ b/modules/services/nixos/ssh.nix
@@ -4,11 +4,10 @@
...
}: let
cfg = config.collinux.services.networking.sshd;
-in
- lib.mkIf cfg.enable {
+in {
+ config = lib.mkIf cfg.enable {
services.openssh = {
enable = true;
- openFirewall = true;
hostKeys = [
{
path = "/etc/ssh/ssh_host_ed25519_key";
@@ -22,4 +21,5 @@ in
};
services.tailscale.extraSetFlags = lib.optional config.services.tailscale.enable "--ssh=true";
- }
+ };
+}