From d41434164b3448b014302782a1f68c4e4ba1dfb3 Mon Sep 17 00:00:00 2001 From: "Gustavo L de Mello (Guz)" Date: Tue, 1 Oct 2024 19:00:18 -0300 Subject: [PATCH] feat: add ssh keys --- hosts/battleship/configuration.nix | 3 +++ hosts/fighter/configuration.nix | 3 +++ 2 files changed, 6 insertions(+) diff --git a/hosts/battleship/configuration.nix b/hosts/battleship/configuration.nix index e99e080..3a85e4e 100644 --- a/hosts/battleship/configuration.nix +++ b/hosts/battleship/configuration.nix @@ -101,6 +101,9 @@ home = import ./home.nix; isNormalUser = true; extraGroups = ["wheel" "networkmanager" "plugdev"]; + openssh.authorizedKeys.keyFiles = [ + ../../.ssh/guz-battleship.pub + ]; }; environment.systemPackages = with pkgs; [ diff --git a/hosts/fighter/configuration.nix b/hosts/fighter/configuration.nix index 2400563..48bc770 100644 --- a/hosts/fighter/configuration.nix +++ b/hosts/fighter/configuration.nix @@ -78,6 +78,9 @@ home = import ./home.nix; isNormalUser = true; extraGroups = ["wheel" "networkmanager" "plugdev"]; + openssh.authorizedKeys.keyFiles = [ + ../../.ssh/guz-figther.pub + ]; }; environment.systemPackages = with pkgs; [