From f7e0933345da318cae0a5f6d34eecacdad024fea Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Fri, 7 Oct 2022 21:34:25 -0400 Subject: [PATCH] "Add libvirt and qemu/kvm stuff" --- home/seanomik/default.nix | 3 ++- hosts/smallinux.nix | 2 ++ modules/virtualisation/default.nix | 4 ++++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 modules/virtualisation/default.nix diff --git a/home/seanomik/default.nix b/home/seanomik/default.nix index 6fad4fc..a20b663 100755 --- a/home/seanomik/default.nix +++ b/home/seanomik/default.nix @@ -19,7 +19,7 @@ programs.steam = { enable = true; -# remotePlay.openFirewall = true; + remotePlay.openFirewall = true; }; home-manager.users.seanomik = { pkgs, ... }: { @@ -70,6 +70,7 @@ (libsForQt5.callPackage ../../modules/pkgs/jellyfin-media-player.nix { }) jetbrains.idea-community renderdoc + virt-manager ]; }; } diff --git a/hosts/smallinux.nix b/hosts/smallinux.nix index b7015a1..ee2a6f2 100755 --- a/hosts/smallinux.nix +++ b/hosts/smallinux.nix @@ -27,6 +27,8 @@ ../modules/desktop/gnome.nix ../modules/desktop_manager/gdm.nix + ../modules/virtualisation + # Applications ../modules/cli-tools.nix ../modules/applications diff --git a/modules/virtualisation/default.nix b/modules/virtualisation/default.nix new file mode 100755 index 0000000..84b1eeb --- /dev/null +++ b/modules/virtualisation/default.nix @@ -0,0 +1,4 @@ +{pkgs, ... }: +{ + virtualisation.libvirtd.enable = true; +}