feat: msyds ssh keys
This commit is contained in:
1
public-keys/ssh/msyds@sydpc.pub
Normal file
1
public-keys/ssh/msyds@sydpc.pub
Normal file
@@ -0,0 +1 @@
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILpCIMIl4iljG5HzLxcDGIzA6DGoFuyEoXPoGuvODfHm msyds@sydpc
|
||||
@@ -12,9 +12,9 @@ in lib.mkMerge [
|
||||
# home.file."private-keys/ssh/crumb-at-nixos-testbed".source =
|
||||
# mutableSymlink "/persist/private-keys/ssh/crumb-at-nixos-testbed";
|
||||
home.file.".ssh/id_ed25519".source =
|
||||
mutableSymlink "/persist/private-keys/ssh/msyds";
|
||||
home.file."private-keys/ssh/msyds".source =
|
||||
mutableSymlink "/persist/private-keys/ssh/msyds";
|
||||
mutableSymlink "/persist/private-keys/ssh/msyds-old";
|
||||
home.file."private-keys/ssh/msyds-old".source =
|
||||
mutableSymlink "/persist/private-keys/ssh/msyds-old";
|
||||
|
||||
|
||||
# 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 =
|
||||
# ../../public-keys/ssh/crumb-at-nixos-testbed.pub;
|
||||
home.file.".ssh/id_ed25519.pub".source =
|
||||
../../public-keys/ssh/msyds.pub;
|
||||
home.file."public-keys/ssh/msyds".source =
|
||||
../../public-keys/ssh/msyds.pub;
|
||||
../../public-keys/ssh/msyds-old.pub;
|
||||
home.file."public-keys/ssh/msyds-old".source =
|
||||
../../public-keys/ssh/msyds-old.pub;
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
homeConfiguration = { config, lib, pkgs, ... }: {
|
||||
home.file.".ssh/id_ed25519".source =
|
||||
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 =
|
||||
../../public-keys/ssh/crumb-at-nixos-testbed.pub;
|
||||
../../public-keys/ssh/${"msyds@sydpc.pub"};
|
||||
|
||||
sydnix = {
|
||||
xdg.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user