chore: add new ssh key

This commit is contained in:
Kiana Sheibani 2024-10-15 04:41:10 -04:00
parent 25a2aaa192
commit 045c7b227b
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
2 changed files with 13 additions and 3 deletions

View file

@ -27,7 +27,7 @@
users.mutableUsers = false; users.mutableUsers = false;
users.users.root = { users.users.root = {
hashedPassword = "$y$j9T$LHeAgn5XytQM5DLfGSDT30$9OD3eIua5vEy4/GFBbT1oe1UnlNxDHt9thqsiqcGXy7"; hashedPassword = "$y$j9T$LHeAgn5XytQM5DLfGSDT30$9OD3eIua5vEy4/GFBbT1oe1UnlNxDHt9thqsiqcGXy7";
openssh.authorizedKeys.keys = [ (import secrets/secrets.nix).publicKey ]; openssh.authorizedKeys.keys = (import secrets/secrets.nix).keys;
}; };
networking.firewall.allowedTCPPorts = [ 22 80 443 ]; networking.firewall.allowedTCPPorts = [ 22 80 443 ];

View file

@ -1,5 +1,14 @@
let let
publicKey = earth-key =
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCtW2iZ3lLCioTgoZANQpjK72fAQfdGbPS" +
"ZZ68jsY7IY3XmXHivkvcWWZoYY+mJJT6LD6tuIZOxR33HSg3KqsQLeUo3T/vny0vi8dGgxO" +
"YbHEc+XZ0xe0ko0lTxiK/9FsrSSy2Q1Y6SqRcxJZ62ukZ5CUEVo6ZUxRTTEfTMg1qxynrKU" +
"kpLY6SWySGm2zaLatiLbh2i0DT8P1DgFKStWTM+yokA2BSrf/Ffq/gcJUiSxEH62zOn4Q3j" +
"z0bxBidbl5wOGxwxDblp/vj9cbKleCJRXXr8iCAZ7mGOSOrlKkfbKsOnbe/n43lddVOPGPK" +
"zyf1ykJUm/VKERObAU3Wj4+eTv+dFNMxCWIkToKjK3tbUv8hOrA7aW6A8v45J69Kh4MDpS4" +
"EtbDcTMZ8qF0JKgVjir6X1hPxodDEiXy4XTGqqDKpyqwhMSPmTdgQFCeJEOrPhSc85vB6SJ" +
"dVSC7YVRqIDpebiWFelen1PwsAMdL09bQKA2R3GMqJN/n6XlapKf8U= kiana@toki-earth";
fire-key =
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDemOeWGP40M495KAuylZfRHXKKr9av0QH" + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDemOeWGP40M495KAuylZfRHXKKr9av0QH" +
"YjQwuG5EKzoy+KH0EAtBM3MbDLX5+bCd4O4oB9H/ZWxDZFfaitTPf1nrBMA89GWAxiGwVT3" + "YjQwuG5EKzoy+KH0EAtBM3MbDLX5+bCd4O4oB9H/ZWxDZFfaitTPf1nrBMA89GWAxiGwVT3" +
"U2kQL2KUIP9rXjH/KLwocqnqsljRka1McF0mijtpMhNR0jpXAOfZboHFWRE07kRacvXmhkl" + "U2kQL2KUIP9rXjH/KLwocqnqsljRka1McF0mijtpMhNR0jpXAOfZboHFWRE07kRacvXmhkl" +
@ -8,7 +17,8 @@ let
"mbb2T9JWVeLsAO24WrAApbPxmu+ItKq003Qi4a/0+v6D2PCXm+YoxJlM5aHh8FZdXoIhMv7" + "mbb2T9JWVeLsAO24WrAApbPxmu+ItKq003Qi4a/0+v6D2PCXm+YoxJlM5aHh8FZdXoIhMv7" +
"6j3lk0P0sN9Sr09gjoWkV+/rSN+3ZLCJBGS5a3LpBk3HC2ZP/mvfsd1LTDhYQBJSW0LiBZO" + "6j3lk0P0sN9Sr09gjoWkV+/rSN+3ZLCJBGS5a3LpBk3HC2ZP/mvfsd1LTDhYQBJSW0LiBZO" +
"5aRuKZrTbyY9+i75cTWjnJuvZyBDn3giSYMiVhIAcZg5dU0ySG4M28= kiana@toki-fire"; "5aRuKZrTbyY9+i75cTWjnJuvZyBDn3giSYMiVhIAcZg5dU0ySG4M28= kiana@toki-fire";
keys = [ earth-key fire-key ];
in in
{ {
inherit publicKey; inherit keys;
} }