Add a REPOS environment variable

This commit is contained in:
Oliver Davies 2024-04-17 00:24:41 +01:00
parent c0fabc4f20
commit 51b6d6b8c5
3 changed files with 3 additions and 1 deletions

View file

@ -41,6 +41,7 @@ in {
LC_CTYPE = "en_GB.UTF-8";
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
PULUMI_SKIP_UPDATE_CHECK = "true";
REPOS = "$HOME/Code";
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
};
}

View file

@ -35,7 +35,7 @@
repo_name="''${user_and_repo_name##*/}"
repo_name="''${repo_name%.git}"
user_path="''${HOME}/Code/''${domain}/''${user}"
user_path="''${REPOS}/''${domain}/''${user}"
repo_path="''${user_path}/''${repo_name}"

View file

@ -24,6 +24,7 @@ in inputs.home-manager.lib.homeManagerConfiguration {
EDITOR = "nvim";
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
PULUMI_SKIP_UPDATE_CHECK = "true";
REPOS = "$HOME/Code";
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
};
}];