diff --git a/hosts/yodaNas/configuration.nix b/hosts/yodaNas/configuration.nix index eb54174..ff6dbea 100644 --- a/hosts/yodaNas/configuration.nix +++ b/hosts/yodaNas/configuration.nix @@ -19,6 +19,7 @@ #../../modules/gnome-fractional-scaling.nix #../../modules/programs.nix + #../../modules/boxes.nix #../../modules/autostart.nix #../../modules/wallpaper.nix #../../modules/fwupd-gnome.nix diff --git a/hosts/yodaTab/configuration.nix b/hosts/yodaTab/configuration.nix index 1511093..d129784 100644 --- a/hosts/yodaTab/configuration.nix +++ b/hosts/yodaTab/configuration.nix @@ -18,6 +18,7 @@ #../../modules/gnome-fractional-scaling.nix ../../modules/programs.nix + #../../modules/boxes.nix ../../modules/autostart.nix ../../modules/wallpaper.nix ../../modules/fwupd-gnome.nix diff --git a/hosts/yodaTux/configuration.nix b/hosts/yodaTux/configuration.nix index e2272b4..fe5934a 100644 --- a/hosts/yodaTux/configuration.nix +++ b/hosts/yodaTux/configuration.nix @@ -18,6 +18,7 @@ ../../modules/gnome-fractional-scaling.nix ../../modules/programs.nix + ../../modules/boxes.nix ../../modules/autostart.nix ../../modules/wallpaper.nix ../../modules/fwupd-gnome.nix diff --git a/hosts/yodaYoga/configuration.nix b/hosts/yodaYoga/configuration.nix index df54eed..2bb6ad3 100644 --- a/hosts/yodaYoga/configuration.nix +++ b/hosts/yodaYoga/configuration.nix @@ -19,6 +19,7 @@ #../../modules/gnome-fractional-scaling.nix #../../modules/programs.nix + #../../modules/boxes.nix #../../modules/autostart.nix #../../modules/wallpaper.nix #../../modules/fwupd-gnome.nix diff --git a/modules/boxes.nix b/modules/boxes.nix new file mode 100644 index 0000000..ef0852a --- /dev/null +++ b/modules/boxes.nix @@ -0,0 +1,14 @@ +{ config, pkgs, ... }: +{ + # https://nixos.wiki/wiki/Libvirt + + # libvirt is a dependency of GNOME Boxes + virtualisation.libvirtd.enable = true; + users.users.yoda = { + extraGroups = [ "libvirtd" ]; + + packages = with pkgs; [ + gnome.gnome-boxes # Virtual machines + ]; + }; +}