From e41fb2b1eae78a20432735267e281db3b65f85f9 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 28 Jun 2024 15:03:41 -0500 Subject: [PATCH] fix ssh --- flake.nix | 4 +++- nixos/beefcake.nix | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index fa62375..495b8a2 100644 --- a/flake.nix +++ b/flake.nix @@ -275,7 +275,7 @@ # enable an ssh server and provide root access with my primary public key users.users.root = { - openssh.authorizedKeys.keys = pubkey; + openssh.authorizedKeys.keys = [pubkey]; }; services.openssh = { @@ -881,6 +881,8 @@ no-giant-logs allow-redistributable-firmware mdns-and-lan-service-discovery + tailscale + ssh-server my-favorite-default-system-apps mosh diff --git a/nixos/beefcake.nix b/nixos/beefcake.nix index 0e63db0..279d7b8 100644 --- a/nixos/beefcake.nix +++ b/nixos/beefcake.nix @@ -1026,6 +1026,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00 # listenPort = 6767; # }; + networking.firewall.allowedTCPPorts = [9876 9877]; networking.firewall.allowedUDPPorts = [9876 9877]; networking.firewall.allowedUDPPortRanges = [ {