mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Rename virtualisation module
This commit is contained in:
parent
28e299b453
commit
0630cf387c
4 changed files with 5 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./flatpak.nix
|
||||
./vm.nix
|
||||
./virtualisation.nix
|
||||
./wlan.nix
|
||||
./comma.nix
|
||||
./sops.nix
|
||||
|
|
|
|||
|
|
@ -5,11 +5,10 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
options.myConfig.vm.qemu.enable = lib.mkEnableOption "";
|
||||
options.myConfig.virtualisation.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.myConfig.vm.qemu.enable {
|
||||
config = lib.mkIf config.myConfig.virtualisation.enable {
|
||||
virtualisation.libvirtd.enable = true;
|
||||
|
||||
programs.virt-manager.enable = true;
|
||||
|
||||
environment.systemPackages = [ pkgs.quickemu ];
|
||||
Loading…
Add table
Add a link
Reference in a new issue