all repos — nixfiles @ 22a921a71ee318221a61a6bfb72bb7015239fa9e

System and user configuration, managed by nix and home-manager

lima: copy basic environment variables from mba

Alan Pearce
commit

22a921a71ee318221a61a6bfb72bb7015239fa9e

parent

b18616fb8a7c05c6cc90fa034fafec1843b3abcc

1 file changed, 8 insertions(+), 1 deletion(-)

jump to
M user/lima.nixuser/lima.nix
@@ -1,4 +1,4 @@
-{ pkgs, ... }: +{ config, pkgs, ... }: { imports = [ ./modules/tabnine.nix
@@ -12,8 +12,15 @@ ];
home = { username = "alan"; homeDirectory = "/home/alan.linux"; + sessionVariables = { + GHQ_ROOT = "/Users/alan/projects"; + SSH_AUTH_SOCK = "/Users/alan/.strongbox/agent.sock"; + }; stateVersion = "22.11"; }; + programs.ssh.extraConfig = '' + IdentityAgent ${config.home.sessionVariables.SSH_AUTH_SOCK} + ''; # home-manager complains when setting nix.conf otherwise nix.package = pkgs.nix; nix.settings = {