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;
|
workstation = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
direnv
|
||||||
|
mcfly
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.bash.shellInit = ''
|
||||||
|
eval "$(direnv hook bash)";
|
||||||
|
eval "$(mcfly init bash)";
|
||||||
|
cd /vagrant;
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
(lib.mkIf
|
(lib.mkIf
|
||||||
cfg.enable
|
cfg.enable
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# TODO: Install private shell key?
|
# TODO: Install private shell key?
|
||||||
# TODO: git config via HomeManager?
|
# TODO: git config via HomeManager?
|
||||||
{ config, hostName, lib, pkgs, nixpkgs, ... }:
|
{ config, hostName ? "nixos", lib, pkgs, nixpkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.services.laravel;
|
cfg = config.services.laravel;
|
||||||
|
|||||||
Reference in New Issue
Block a user