diff --git a/flake.nix b/flake.nix index 0e38bf0..a0d1393 100644 --- a/flake.nix +++ b/flake.nix @@ -191,24 +191,5 @@ }; }; - - homeConfigurations = { - jufr2 = let - username = "jufr2"; - system = "x86_64-linux"; - pkgs = nixpkgs.legacyPackages.${system}; - in - home-manager.lib.homeManagerConfiguration { - inherit pkgs; - - modules = [ - home/core.nix - home/neovim/default.nix - home/zsh/default.nix - ]; - - }; - }; - }; } diff --git a/modules/virtualization.nix b/modules/virtualization.nix index fb232cc..b1cde0f 100644 --- a/modules/virtualization.nix +++ b/modules/virtualization.nix @@ -3,13 +3,12 @@ lib, ... }: { + environment.systemPackages = with pkgs; [ + virt-manager + ]; + virtualisation = { - libvirtd = { - enable = true; - qemu.swtpm.enable = true; - }; + libvirtd.enable = true; spiceUSBRedirection.enable = true; }; - - programs.virt-manager.enable = true; }