feat: Added mcfly and direnv to vagrant.

This commit is contained in:
Spencer Brower
2022-11-01 11:03:56 -04:00
parent 0902eb0cb7
commit 3dacf5844a
2 changed files with 12 additions and 1 deletions

View File

@@ -44,6 +44,17 @@ in
workstation = false;
};
};
environment.systemPackages = with pkgs; [
direnv
mcfly
];
programs.bash.shellInit = ''
eval "$(direnv hook bash)";
eval "$(mcfly init bash)";
cd /vagrant;
'';
}
(lib.mkIf
cfg.enable

View File

@@ -1,6 +1,6 @@
# TODO: Install private shell key?
# TODO: git config via HomeManager?
{ config, hostName, lib, pkgs, nixpkgs, ... }:
{ config, hostName ? "nixos", lib, pkgs, nixpkgs, ... }:
let
cfg = config.services.laravel;