Remove vagrant
This commit is contained in:
parent
ee96c22b0f
commit
39f50d0655
|
@ -21,7 +21,6 @@
|
|||
./programs/starship
|
||||
./programs/telegram
|
||||
./programs/tmux
|
||||
./programs/vagrant-wsl
|
||||
./programs/work-desktop
|
||||
./programs/yt-dlp
|
||||
./services/desktop-base
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.programs.az-vagrant-wsl;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
programs.az-vagrant-wsl.enable = lib.mkEnableOption "Enable Vagrant in WSL.";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ vagrant ];
|
||||
|
||||
programs.bash = {
|
||||
sessionVariables = {
|
||||
VAGRANT_WSL_ENABLE_WINDOWS_ACCESS = 1;
|
||||
PATH = "$PATH:/mnt/c/Program Files/Oracle/VirtualBox";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -12,10 +12,5 @@ in
|
|||
programs.az-work-desktop.enable = lib.mkEnableOption "Applications and config required for work.";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
dbeaver
|
||||
vagrant
|
||||
];
|
||||
};
|
||||
config = lib.mkIf cfg.enable { home.packages = with pkgs; [ dbeaver ]; };
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue