From b98c7b1acf76feff3c846f7c44cb1ec46546017c Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Fri, 3 Dec 2021 12:05:19 +0100 Subject: move the source of venv-manager to the ./config dir --- home/config/environment.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'home/config/environment.nix') diff --git a/home/config/environment.nix b/home/config/environment.nix index 82b6a18..9261502 100644 --- a/home/config/environment.nix +++ b/home/config/environment.nix @@ -32,7 +32,9 @@ programs.bash = { enable = true; - shellAliases = let nix-code-path = "~/code/nix"; + shellAliases = let + nix-code-path = "~/code/nix"; + venv-manager-path = "~/.config/venv-manager"; in { amimullvad = "curl -Ls https://am.i.mullvad.net/connected"; nixos-update-config = @@ -40,7 +42,7 @@ rm = "rm -f"; ssh = "TERM=xterm-256color ssh"; mkenv = '' - cp ${nix-code-path}/shells/shell.nix . ; + cp ${venv-manager-path}/shells/template-shell.nix . ; echo "use_nix" >> .envrc ; direnv allow ; $EDITOR shell.nix ; @@ -66,4 +68,5 @@ }; home.file.".config/latexmkrc".source = ./dotfiles/latexmkrc; + home.file.".config/venv-manager/config/default.nix".source = ./dotfiles/venv-manager.nix; } -- cgit v1.2.3