Remove vagrant

This commit is contained in:
Andreas Zweili 2024-04-02 12:31:57 +02:00
parent ee96c22b0f
commit 39f50d0655
3 changed files with 1 additions and 32 deletions

View File

@ -21,7 +21,6 @@
./programs/starship
./programs/telegram
./programs/tmux
./programs/vagrant-wsl
./programs/work-desktop
./programs/yt-dlp
./services/desktop-base

View File

@ -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";
};
};
};
}

View File

@ -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 ]; };
}