From d0ec4a73db2b2d5cdde7014b9397acabd58edc03 Mon Sep 17 00:00:00 2001 From: Skullheadx Date: Tue, 2 Jun 2026 16:42:20 -0400 Subject: [PATCH] add laptop ssh key --- .gitignore | 1 + hosts/icon/configuration.nix | 5 ++++- hosts/nepsis/configuration.nix | 3 +++ pubkeys/laptop_ssh.pub | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 pubkeys/laptop_ssh.pub diff --git a/.gitignore b/.gitignore index 3819313..58fa458 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.swp *.swo +/.DS_Store diff --git a/hosts/icon/configuration.nix b/hosts/icon/configuration.nix index 7ec11df..658e4bf 100644 --- a/hosts/icon/configuration.nix +++ b/hosts/icon/configuration.nix @@ -15,6 +15,9 @@ extraHostNames = ["192.168.1.122"]; publicKeyFile = ./../../pubkeys/desktop_ssh.pub; }; + laptop = { + publicKeyFile = ./../../pubkeys/laptop_ssh.pub; + }; vps = { extraHostNames = ["170.205.37.7"]; publicKeyFile = ./../../pubkeys/vps_ssh.pub; @@ -69,7 +72,7 @@ home = "/srv/git"; createHome = true; homeMode = "755"; - openssh.authorizedKeys.keyFiles = [../../pubkeys/desktop_ssh.pub ../../pubkeys/homelab_ssh.pub]; + openssh.authorizedKeys.keyFiles = [../../pubkeys/desktop_ssh.pub ../../pubkeys/homelab_ssh.pub ../../pubkeys/laptop_ssh.pub]; }; }; diff --git a/hosts/nepsis/configuration.nix b/hosts/nepsis/configuration.nix index 5d13b38..587303f 100644 --- a/hosts/nepsis/configuration.nix +++ b/hosts/nepsis/configuration.nix @@ -23,6 +23,9 @@ extraHostNames = ["192.168.1.120"]; publicKeyFile = ./../../pubkeys/homelab_ssh.pub; }; + laptop = { + publicKeyFile = ./../../pubkeys/laptop_ssh.pub; + }; vps = { extraHostNames = ["170.205.37.7"]; publicKeyFile = ./../../pubkeys/vps_ssh.pub; diff --git a/pubkeys/laptop_ssh.pub b/pubkeys/laptop_ssh.pub new file mode 100644 index 0000000..0258d82 --- /dev/null +++ b/pubkeys/laptop_ssh.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIq/Xh+voRkITnxZeAFQDkLNPz6vzdhCE6WPSG8Yk1j0 amontgom@uwaterloo.ca -- 2.54.0