tadpole: Add ssh secrets for codeberg.org
This commit is contained in:
@@ -13,6 +13,28 @@ in
|
|||||||
home-manager.users.alex = {
|
home-manager.users.alex = {
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
matchBlocks = {
|
||||||
|
"codeberg.org" = {
|
||||||
|
hostname = "codeberg.org";
|
||||||
|
identityFile = "/home/alex/.ssh/alex.tadpole-codeberg.org";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
age.secrets = {
|
||||||
|
"alex.tadpole-codeberg.org" = {
|
||||||
|
file = ../../../../secrets/tadpole/alex.tadpole-codeberg.org.age;
|
||||||
|
path = "/home/alex/.ssh/alex.tadpole-codeberg.org";
|
||||||
|
owner = "alex";
|
||||||
|
group = "users";
|
||||||
|
};
|
||||||
|
"alex.tadpole-codeberg.org.pub" = {
|
||||||
|
file = ../../../../secrets/tadpole/alex.tadpole-codeberg.org.pub.age;
|
||||||
|
path = "/home/alex/.ssh/alex.tadpole-codeberg.org.pub";
|
||||||
|
owner = "alex";
|
||||||
|
group = "users";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ let
|
|||||||
# see `modules/age/default.nix` where these are defined
|
# see `modules/age/default.nix` where these are defined
|
||||||
pinwheel = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMoI7Q4zT2AGXU+i8fLmzcNLdfMkEnfHYh4PmaEmo2QW root@pinwheel";
|
pinwheel = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMoI7Q4zT2AGXU+i8fLmzcNLdfMkEnfHYh4PmaEmo2QW root@pinwheel";
|
||||||
sombrero = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO/NltCo1L+X1OIBfIKzfrbxLpCOerQ4vTIs+QPTXkf/ root@sombrero";
|
sombrero = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO/NltCo1L+X1OIBfIKzfrbxLpCOerQ4vTIs+QPTXkf/ root@sombrero";
|
||||||
|
tadpole = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDbyj/vYafqpJH33jFz5HV+gwCiEIJTpxKrEFrBWx73A root@tadpole";
|
||||||
alex = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINjSFvlbdy5D59UaVWjRMyBndiAT2MtCeT+6GuemkuYe alex.pinwheel";
|
alex = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINjSFvlbdy5D59UaVWjRMyBndiAT2MtCeT+6GuemkuYe alex.pinwheel";
|
||||||
in {
|
in {
|
||||||
"pinwheel/syncthing-cert.age".publicKeys = [ pinwheel alex ];
|
"pinwheel/syncthing-cert.age".publicKeys = [ pinwheel alex ];
|
||||||
@@ -29,4 +30,7 @@ in {
|
|||||||
"sombrero/alex.sombrero-github.com.pub.age".publicKeys = [ sombrero alex ];
|
"sombrero/alex.sombrero-github.com.pub.age".publicKeys = [ sombrero alex ];
|
||||||
"sombrero/alex.sombrero-codeberg.org.age".publicKeys = [ sombrero alex ];
|
"sombrero/alex.sombrero-codeberg.org.age".publicKeys = [ sombrero alex ];
|
||||||
"sombrero/alex.sombrero-codeberg.org.pub.age".publicKeys = [ sombrero alex ];
|
"sombrero/alex.sombrero-codeberg.org.pub.age".publicKeys = [ sombrero alex ];
|
||||||
|
|
||||||
|
"tadpole/alex.tadpole-codeberg.org.age".publicKeys = [ tadpole alex ];
|
||||||
|
"tadpole/alex.tadpole-codeberg.org.pub.age".publicKeys = [ tadpole alex ];
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
secrets/tadpole/alex.tadpole-codeberg.org.age
Normal file
BIN
secrets/tadpole/alex.tadpole-codeberg.org.age
Normal file
Binary file not shown.
BIN
secrets/tadpole/alex.tadpole-codeberg.org.pub.age
Normal file
BIN
secrets/tadpole/alex.tadpole-codeberg.org.pub.age
Normal file
Binary file not shown.
Reference in New Issue
Block a user