feat: deploy droppie root user ssh private key via nix
This commit is contained in:
parent
c04be07044
commit
519963707a
|
@ -48,5 +48,12 @@ in {
|
||||||
mode = "400";
|
mode = "400";
|
||||||
owner = "root";
|
owner = "root";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
age.secrets."droppie-ssh-root.key" = {
|
||||||
|
file = "${self}/secrets/droppie-ssh-root.key";
|
||||||
|
path = "/home/${psCfg.user.name}/.ssh/id_ed25519";
|
||||||
|
mode = "400";
|
||||||
|
owner = psCfg.user.name;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
BIN
secrets/droppie-ssh-root.key
Normal file
BIN
secrets/droppie-ssh-root.key
Normal file
Binary file not shown.
|
@ -49,6 +49,8 @@ in {
|
||||||
|
|
||||||
"dyndns-droppie.key".publicKeys = droppieKeys ++ baseKeys;
|
"dyndns-droppie.key".publicKeys = droppieKeys ++ baseKeys;
|
||||||
|
|
||||||
|
"droppie-ssh-root.key".publicKeys = droppieKeys ++ baseKeys;
|
||||||
|
|
||||||
"mopidy.conf".publicKeys = chocolatebarKeys ++ biolimoKeys ++ baseKeys;
|
"mopidy.conf".publicKeys = chocolatebarKeys ++ biolimoKeys ++ baseKeys;
|
||||||
|
|
||||||
"b12f-env-secrets".publicKeys = biolimoKeys ++ chocolatebarKeys ++ baseKeys;
|
"b12f-env-secrets".publicKeys = biolimoKeys ++ chocolatebarKeys ++ baseKeys;
|
||||||
|
|
Loading…
Reference in a new issue