From da35ae0188a4732995cec22e6cfc3963ce90eebf Mon Sep 17 00:00:00 2001 From: Bailey Stevens Date: Mon, 22 Jan 2024 21:47:49 -0500 Subject: [PATCH] Adds mtxyz default sshkeys. --- pubkeys/mtxyz.keys | 5 +++++ systems/x86_64-linux/gallifrey/default.nix | 3 +++ systems/x86_64-linux/gallifrey/pubkeys/mtxyz.keys | 1 + 3 files changed, 9 insertions(+) create mode 100644 pubkeys/mtxyz.keys create mode 120000 systems/x86_64-linux/gallifrey/pubkeys/mtxyz.keys diff --git a/pubkeys/mtxyz.keys b/pubkeys/mtxyz.keys new file mode 100644 index 0000000..cf67c73 --- /dev/null +++ b/pubkeys/mtxyz.keys @@ -0,0 +1,5 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGBu4rmDrPAsVNArCMkgqjOSVWOtTaD6ZvWQYtJzUT8u mtxyz@mikenike +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINTsm2cnF/gFmJz3ogClVCq/qZP7L0lK+cFH7IQ/mEj6 mtxyz@jellydonut +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDmImjnbrhOa8rU2pFISuzt8TlrLmSS40B0IvxwuFrOY mtxyz@sushiroll +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPk4uKNLSOJsunzTmx49o6LUeExNP8xVC3+kOGGBbHDl mtxyz@europa +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINN+E/BTYS7sV0dXi7RL3xfb2sMz4el1GfKqhSbbayNb termux diff --git a/systems/x86_64-linux/gallifrey/default.nix b/systems/x86_64-linux/gallifrey/default.nix index f77a13e..226acf4 100644 --- a/systems/x86_64-linux/gallifrey/default.nix +++ b/systems/x86_64-linux/gallifrey/default.nix @@ -120,6 +120,9 @@ mtxyz = { isNormalUser = true; extraGroups = [ "wheel" ]; + openssh.authorizedKeys.keyFiles = [ + ./pubkeys/mtxyz.keys + ]; initialPassword = ""; }; hive = { diff --git a/systems/x86_64-linux/gallifrey/pubkeys/mtxyz.keys b/systems/x86_64-linux/gallifrey/pubkeys/mtxyz.keys new file mode 120000 index 0000000..d6f01b5 --- /dev/null +++ b/systems/x86_64-linux/gallifrey/pubkeys/mtxyz.keys @@ -0,0 +1 @@ +../../../../pubkeys/mtxyz.keys \ No newline at end of file