mirror of
https://github.com/sbrow/nix.git
synced 2026-02-27 21:31:45 -05:00
feat: Added mcfly and direnv to vagrant.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user