diff options
author | Alan Pearce | 2023-08-24 05:54:19 +0200 |
---|---|---|
committer | Alan Pearce | 2023-08-24 05:54:19 +0200 |
commit | 22a921a71ee318221a61a6bfb72bb7015239fa9e (patch) | |
tree | 12cab19a3e04672002e24d4859cd9171e2f3e052 /user | |
parent | b18616fb8a7c05c6cc90fa034fafec1843b3abcc (diff) | |
download | nixfiles-22a921a71ee318221a61a6bfb72bb7015239fa9e.tar.lz nixfiles-22a921a71ee318221a61a6bfb72bb7015239fa9e.tar.zst nixfiles-22a921a71ee318221a61a6bfb72bb7015239fa9e.zip |
lima: copy basic environment variables from mba
Diffstat (limited to 'user')
-rw-r--r-- | user/lima.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/user/lima.nix b/user/lima.nix index 67103ffe..1bcf2647 100644 --- a/user/lima.nix +++ b/user/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 = { |