feat: msyds ssh keys

This commit is contained in:
2025-11-23 03:00:59 -07:00
parent 1c60564a1e
commit 721ac95a18
4 changed files with 9 additions and 8 deletions

View File

@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILpCIMIl4iljG5HzLxcDGIzA6DGoFuyEoXPoGuvODfHm msyds@sydpc

View File

@@ -12,9 +12,9 @@ in lib.mkMerge [
# home.file."private-keys/ssh/crumb-at-nixos-testbed".source = # home.file."private-keys/ssh/crumb-at-nixos-testbed".source =
# mutableSymlink "/persist/private-keys/ssh/crumb-at-nixos-testbed"; # mutableSymlink "/persist/private-keys/ssh/crumb-at-nixos-testbed";
home.file.".ssh/id_ed25519".source = home.file.".ssh/id_ed25519".source =
mutableSymlink "/persist/private-keys/ssh/msyds"; mutableSymlink "/persist/private-keys/ssh/msyds-old";
home.file."private-keys/ssh/msyds".source = home.file."private-keys/ssh/msyds-old".source =
mutableSymlink "/persist/private-keys/ssh/msyds"; mutableSymlink "/persist/private-keys/ssh/msyds-old";
# Similarly, public keys are linked where SSH will find them as well as a # Similarly, public keys are linked where SSH will find them as well as a
@@ -24,9 +24,9 @@ in lib.mkMerge [
# home.file."public-keys/ssh/crumb-at-nixos-testbed".source = # home.file."public-keys/ssh/crumb-at-nixos-testbed".source =
# ../../public-keys/ssh/crumb-at-nixos-testbed.pub; # ../../public-keys/ssh/crumb-at-nixos-testbed.pub;
home.file.".ssh/id_ed25519.pub".source = home.file.".ssh/id_ed25519.pub".source =
../../public-keys/ssh/msyds.pub; ../../public-keys/ssh/msyds-old.pub;
home.file."public-keys/ssh/msyds".source = home.file."public-keys/ssh/msyds-old".source =
../../public-keys/ssh/msyds.pub; ../../public-keys/ssh/msyds-old.pub;
} }
{ {

View File

@@ -14,10 +14,10 @@
homeConfiguration = { config, lib, pkgs, ... }: { homeConfiguration = { config, lib, pkgs, ... }: {
home.file.".ssh/id_ed25519".source = home.file.".ssh/id_ed25519".source =
config.lib.file.mkOutOfStoreSymlink config.lib.file.mkOutOfStoreSymlink
"/persist/private-keys/ssh/crumb-at-nixos-testbed"; "/persist/private-keys/ssh/msyds@sydpc";
home.file.".ssh/id_ed25519.pub".source = home.file.".ssh/id_ed25519.pub".source =
../../public-keys/ssh/crumb-at-nixos-testbed.pub; ../../public-keys/ssh/${"msyds@sydpc.pub"};
sydnix = { sydnix = {
xdg.enable = true; xdg.enable = true;