migrate nixos-container to microvm #28

Merged
kalipso merged 18 commits from microvm into master 2024-11-21 15:59:01 +01:00
Showing only changes of commit c8f562f477 - Show all commits

View File

@@ -29,9 +29,8 @@ in
inputs.microvm.nixosModules.host inputs.microvm.nixosModules.host
]; ];
config = mkIf cfg.enableHostBridge config = {
{ systemd.network = mkIf cfg.enableHostBridge {
systemd.network = {
enable = true; enable = true;
# create a bride device that all the microvms will be connected to # create a bride device that all the microvms will be connected to
netdevs."10-microvm".netdevConfig = { netdevs."10-microvm".netdevConfig = {