mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
chore: only enable virtualisation for hosts that require it
This commit is contained in:
parent
34cf53a509
commit
fa9bff88da
1 changed files with 11 additions and 3 deletions
|
|
@ -1,9 +1,17 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, host, ... }:
|
||||||
{
|
{
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
# vmware.host.enable = true; # Causes issues for now :p
|
# vmware.host.enable = true; # Causes issues for now :p
|
||||||
waydroid.enable = true;
|
waydroid.enable = if (host == "sakura") then true else false;
|
||||||
libvirtd.enable = true;
|
libvirtd.enable =
|
||||||
|
if (host == "violet") then
|
||||||
|
true
|
||||||
|
else if (host == "sakura") then
|
||||||
|
true
|
||||||
|
else if (host == "yoshino") then
|
||||||
|
true
|
||||||
|
else
|
||||||
|
false;
|
||||||
spiceUSBRedirection.enable = true;
|
spiceUSBRedirection.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue