Enable openssh server on vanguard

This commit is contained in:
Evie Litherland-Smith 2023-05-04 11:06:12 +01:00
parent 1c3680bbc2
commit d074fdb11e

View file

@ -19,6 +19,8 @@ in
192.168.1.230 Legion 192.168.1.230 Legion
''; '';
networking.nameservers = [ "192.168.1.230" ]; networking.nameservers = [ "192.168.1.230" ];
services.openssh.enable = true;
networking.firewall.allowedTCPPorts = [ 22 ];
services.xserver.displayManager.defaultSession = "steam"; services.xserver.displayManager.defaultSession = "steam";
@ -28,6 +30,7 @@ in
description = "Evie Litherland-Smith"; description = "Evie Litherland-Smith";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.fish; shell = pkgs.fish;
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII1tJFdbiyJApuVZFvo9E9kjlBwvXZeySqVuS2qGdxha tux@monarch" ];
}; };
home-manager.users.xenia = { ... }: { home-manager.users.xenia = { ... }: {
imports = [ ./home/collections/personal ]; imports = [ ./home/collections/personal ];