From d074fdb11ec536a231dcfc092dcc35e4749e68af Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 4 May 2023 11:06:12 +0100 Subject: [PATCH] Enable openssh server on vanguard --- nixos/Vanguard.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/Vanguard.nix b/nixos/Vanguard.nix index 8afeaacd..fba707eb 100644 --- a/nixos/Vanguard.nix +++ b/nixos/Vanguard.nix @@ -19,6 +19,8 @@ in 192.168.1.230 Legion ''; networking.nameservers = [ "192.168.1.230" ]; + services.openssh.enable = true; + networking.firewall.allowedTCPPorts = [ 22 ]; services.xserver.displayManager.defaultSession = "steam"; @@ -28,6 +30,7 @@ in description = "Evie Litherland-Smith"; extraGroups = [ "networkmanager" "wheel" ]; shell = pkgs.fish; + openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII1tJFdbiyJApuVZFvo9E9kjlBwvXZeySqVuS2qGdxha tux@monarch" ]; }; home-manager.users.xenia = { ... }: { imports = [ ./home/collections/personal ];