move ssh files
This commit is contained in:
parent
05564059c8
commit
102b259832
2 changed files with 4 additions and 4 deletions
|
|
@ -25,13 +25,13 @@ in {
|
||||||
file = secretFile "ssh/id_personal.pub.age";
|
file = secretFile "ssh/id_personal.pub.age";
|
||||||
owner = username;
|
owner = username;
|
||||||
group = "users";
|
group = "users";
|
||||||
path = "/home/horseman/.ssh/id_personal.pub";
|
path = "/home/horseman/.ssh/id_ed25519.pub";
|
||||||
};
|
};
|
||||||
personalSSH = {
|
personalSSH = {
|
||||||
file = secretFile "ssh/id_personal.age";
|
file = secretFile "ssh/id_personal.age";
|
||||||
owner = username;
|
owner = username;
|
||||||
group = "users";
|
group = "users";
|
||||||
path = "/home/horseman/.ssh/id_personal";
|
path = "/home/horseman/.ssh/id_ed25519";
|
||||||
};
|
};
|
||||||
githubSSHpub = {
|
githubSSHpub = {
|
||||||
file = secretFile "ssh/id_github.pub.age";
|
file = secretFile "ssh/id_github.pub.age";
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ let
|
||||||
luna = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFu+XwTX1vF8Xqlna99Tu50TBT0cmOatb2LLwnC/33DU root@luna";
|
luna = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFu+XwTX1vF8Xqlna99Tu50TBT0cmOatb2LLwnC/33DU root@luna";
|
||||||
solis = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDKepQ6sJahN0VQTMowIiga2WZBCaNBTadca+OxCV6T6 root@solis";
|
solis = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDKepQ6sJahN0VQTMowIiga2WZBCaNBTadca+OxCV6T6 root@solis";
|
||||||
terra = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN6Mog8ujGXnEZ3lXm4zrYclh/0xx4LhZV2U5zqqxALE root@terra";
|
terra = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN6Mog8ujGXnEZ3lXm4zrYclh/0xx4LhZV2U5zqqxALE root@terra";
|
||||||
|
|
||||||
systems = [luna solis terra];
|
systems = [luna solis terra];
|
||||||
|
|
||||||
all = [horseman] ++ systems;
|
all = [horseman] ++ systems;
|
||||||
in {
|
in {
|
||||||
"secrets/wifi.age".publicKeys = all;
|
"secrets/wifi.age".publicKeys = all;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue