From 7f587564de76b1199954e880d0ec27ac4589f977 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Tue, 17 May 2022 01:37:01 +0100 Subject: [PATCH] porcorosso-wsl: don't try to load ed25519, use genie --- ops/nixos/lib/home-manager/porcorosso-wsl.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ops/nixos/lib/home-manager/porcorosso-wsl.nix b/ops/nixos/lib/home-manager/porcorosso-wsl.nix index ff968faab8..7f42fc1273 100644 --- a/ops/nixos/lib/home-manager/porcorosso-wsl.nix +++ b/ops/nixos/lib/home-manager/porcorosso-wsl.nix @@ -5,7 +5,15 @@ config = { programs.keychain = { enable = true; - keys = [ "id_ed25519" ]; + }; + + programs.bash = { + initExtra = lib.mkBefore '' + if [[ ! -v INSIDE_GENIE ]]; then + echo "Starting genie:" + exec /usr/bin/genie -s + fi + ''; }; home.sessionVariables = {