mirror of
https://github.com/sbrow/nix.git
synced 2026-02-27 21:31:45 -05:00
feat: Added defaults to vagrant.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
{ config, hostName ? "nixos", ... }: {
|
{ config, hostName ? "nixos", ... }: {
|
||||||
config = {
|
config = mkMerge [
|
||||||
|
{
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
virtualisation.virtualbox.guest.enable = true;
|
virtualisation.virtualbox.guest.enable = true;
|
||||||
@@ -40,8 +41,12 @@
|
|||||||
workstation = false;
|
workstation = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
} /*// (mkIf services.laravel.enable {
|
}
|
||||||
|
mkIf
|
||||||
|
services.laravel.enable
|
||||||
|
{
|
||||||
services.laravel.root = mkDefault /vagrant;
|
services.laravel.root = mkDefault /vagrant;
|
||||||
services.laravel.domain = mkDefault (config.networking.hostName + ".local");
|
services.laravel.domain = mkDefault (config.networking.hostName + ".local");
|
||||||
})*/;
|
}
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user