From: Skullheadx Date: Tue, 2 Jun 2026 20:42:20 +0000 (-0400) Subject: add laptop ssh key X-Git-Url: http://git.skullheadx.com/nixos/tech/openbsd_html_css/static/gitweb.css?a=commitdiff_plain;h=d0ec4a73db2b2d5cdde7014b9397acabd58edc03;p=nixos.git add laptop ssh key --- 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