skipper: move virtualisation related config

This commit is contained in:
Adithya 2024-06-30 23:47:35 +05:30
parent f030c079fc
commit e0c007d9e4
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
4 changed files with 18 additions and 11 deletions

View file

@ -5,10 +5,10 @@
./services ./services
./network ./network
./persistence ./persistence
./virtualisation
./plymouth.nix ./plymouth.nix
./secureboot.nix ./secureboot.nix
./security.nix ./security.nix
./virtualisation.nix
]; ];
console.useXkbConfig = true; console.useXkbConfig = true;

View file

@ -0,0 +1,3 @@
_: {
imports = [ ./libvirtd.nix ./docker.nix ];
}

View file

@ -25,15 +25,5 @@
}; };
storageDriver = "btrfs"; storageDriver = "btrfs";
}; };
libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_kvm;
ovmf = {
enable = true;
packages = [ pkgs.OVMFFull.fd ];
};
};
};
}; };
} }

View file

@ -0,0 +1,14 @@
{ pkgs, ... }: {
virtualisation = {
libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_kvm;
ovmf = {
enable = true;
packages = [ pkgs.OVMFFull.fd ];
};
};
};
};
}