From d91919d47b0ff04c3c3bfd59fb9f7e78589fb8b2 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Mon, 10 Apr 2023 23:07:22 +0530 Subject: [PATCH] add ssh public key --- users/default.nix | 3 +++ users/user.nix | Bin 464 -> 1229 bytes 2 files changed, 3 insertions(+) diff --git a/users/default.nix b/users/default.nix index 97b6710..118dcbe 100644 --- a/users/default.nix +++ b/users/default.nix @@ -14,6 +14,9 @@ in isNormalUser = true; extraGroups = [ "docker" "libvirtd" "networkmanager" "tss" "wheel" ]; shell = pkgs.zsh; + openssh.authorizedKeys.keys = [ + user.primary.sshPublicKey + ]; }; }; } diff --git a/users/user.nix b/users/user.nix index 3d79493794ff5bdca26be6596789de16e9f3a54c..ee5752d42db4a2b0c24e7bfa4a7ba66965d019d4 100644 GIT binary patch literal 1229 zcmV;;1Ty;oM@dveQdv+`0OCVOVYzqO&4+q2N+ZVE(EL_};VyGTUFDSUil;9q^+Jpk zb>XF@-@0#D|0+DL+?YW_w$``68{C02V~yS93^*7@lRM9W113?k1;9RF{T~jX6P95$ zd{KkNeK|V5?<`wJzY>*xD@E3VzjOEFaJ18xax4T)R#r=|3s=ED4N%L6H0KMVAmEs1 z5fChszr$@Aje6Z4yS_6Fs;RL{tw>D&K6ZQ%PvE9wUj4Xql%A8lwyi^#3{kytz&R3* zN)xD*;O$=%S_`cxx=evblSYRa)WjJ8yR;0b z=?kQdX3>ZI#3BUHqM|9-dKd7cxHVhGGc@%WSu2YOx8tnc12368^DyStmuunl1M!Nd3!rO#U-+wvh`!k9pUj zrhr;^qivm1Zwv}wrMS@O%5OrJ$vqm&39Dv^*+8w4SM2D}HMd-Y35e~0?>TkI&EDss z#;SnID>`&P2x8QglpfTc-lyNBZXc(AWHX&f3*@w>K7_NB1+WV!MkB7#jWzHgxE=nv3CRVXjopYF4F+7G#o4@iNps?kJY=J@PlDA z*O*pJj%T;5@J_mvK!L`j?Sp5a&7>i*3kxBLa%-YSxEQ-uACpnYcw~{C*e1}KH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