From b26fe96dc6cfe865c0b65a88c8d0e3f29283e570 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Mon, 15 Feb 2021 22:54:36 -0500 Subject: [PATCH] Add qemu and virtmanager --- machines/hephaestus/configuration.nix | 4 ++++ main/general.nix | 2 +- main/packages.nix | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/machines/hephaestus/configuration.nix b/machines/hephaestus/configuration.nix index 35dc15b..d2ce75f 100644 --- a/machines/hephaestus/configuration.nix +++ b/machines/hephaestus/configuration.nix @@ -41,6 +41,10 @@ virtualisation.docker.enable = true; + # Virtualization + virtualisation.libvirtd.enable = true; + systemd.services.libvirtd.enable = true; + programs.gnupg.agent = { enable = true; enableSSHSupport = true; diff --git a/main/general.nix b/main/general.nix index 3aaac06..4209f15 100644 --- a/main/general.nix +++ b/main/general.nix @@ -16,7 +16,7 @@ # Define a user account. Don't forget to set a password with ‘passwd’. users.users.dave = { isNormalUser = true; - extraGroups = [ "wheel" "docker" ]; + extraGroups = [ "wheel" "docker" "libvirtd" ]; shell = pkgs.zsh; }; diff --git a/main/packages.nix b/main/packages.nix index 20532cb..a673f66 100644 --- a/main/packages.nix +++ b/main/packages.nix @@ -87,6 +87,10 @@ postman tailscale + # virtualization + qemu + virtmanager + # terraform terraform-ls terraform_0_14