diff --git a/config.nix b/config.nix index f2988a1..6dafe49 100644 --- a/config.nix +++ b/config.nix @@ -27,7 +27,7 @@ users.mutableUsers = false; users.users.root = { 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 ]; diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 40cf375..8a2461c 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -1,5 +1,14 @@ 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" + "YjQwuG5EKzoy+KH0EAtBM3MbDLX5+bCd4O4oB9H/ZWxDZFfaitTPf1nrBMA89GWAxiGwVT3" + "U2kQL2KUIP9rXjH/KLwocqnqsljRka1McF0mijtpMhNR0jpXAOfZboHFWRE07kRacvXmhkl" + @@ -8,7 +17,8 @@ let "mbb2T9JWVeLsAO24WrAApbPxmu+ItKq003Qi4a/0+v6D2PCXm+YoxJlM5aHh8FZdXoIhMv7" + "6j3lk0P0sN9Sr09gjoWkV+/rSN+3ZLCJBGS5a3LpBk3HC2ZP/mvfsd1LTDhYQBJSW0LiBZO" + "5aRuKZrTbyY9+i75cTWjnJuvZyBDn3giSYMiVhIAcZg5dU0ySG4M28= kiana@toki-fire"; + keys = [ earth-key fire-key ]; in { - inherit publicKey; + inherit keys; }