From 90dad5dd211c46f5d3ffd2391b22f4a84357f3a3 Mon Sep 17 00:00:00 2001 From: blake Date: Sat, 4 Oct 2025 00:56:09 -0500 Subject: [PATCH] added importing ssh keys --- users/blake/home.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/users/blake/home.nix b/users/blake/home.nix index 273fd52..36536a7 100644 --- a/users/blake/home.nix +++ b/users/blake/home.nix @@ -70,6 +70,12 @@ }; }; }; + # import sshkeys from keyring + home.file.".ssh/id_rsa".text = builtins.readFile /home/blake/.nix/.keyring/ssh/id_snowbelle; + home.file.".ssh/id_rsa".mode = "0600"; + + home.file.".ssh/id_rsa.pub".text = builtins.readFile /home/blake/.nix/.keyring/ssh/id_snowbelle.pub; + home.file.".ssh/id_rsa.pub".mode = "0644"; # configure git programs.git = {