From a1b0cc86fa4c8aa12391c750faec72c86fbe355a Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Tue, 28 Dec 2021 16:50:05 +0100 Subject: [PATCH] Added newton ssh key --- machines/newton/home-julien.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/machines/newton/home-julien.nix b/machines/newton/home-julien.nix index 0c22622..40c1366 100644 --- a/machines/newton/home-julien.nix +++ b/machines/newton/home-julien.nix @@ -1,5 +1,24 @@ { pkgs, config, lib, ... }: { + + sops.secrets.ssh-newton-pub = { + owner = "julien"; + path = "/home/julien/.ssh/id_ed25519.pub"; + mode = "0644"; + format = "binary"; + sopsFile = ../../secrets/ssh-newton-pub; + }; + + sops.secrets.ssh-newton-priv = { + owner = "julien"; + path = "/home/julien/.ssh/id_ed25519"; + mode = "0600"; + format = "binary"; + sopsFile = ../../secrets/ssh-newton-priv; + }; + + + luj.hmgr.julien = { luj.programs.neovim.enable = true; luj.programs.git.enable = true;