diff --git a/flake.nix b/flake.nix index a0d1393..0e38bf0 100644 --- a/flake.nix +++ b/flake.nix @@ -191,5 +191,24 @@ }; }; + + 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 b1cde0f..fb232cc 100644 --- a/modules/virtualization.nix +++ b/modules/virtualization.nix @@ -3,12 +3,13 @@ lib, ... }: { - environment.systemPackages = with pkgs; [ - virt-manager - ]; - virtualisation = { - libvirtd.enable = true; + libvirtd = { + enable = true; + qemu.swtpm.enable = true; + }; spiceUSBRedirection.enable = true; }; + + programs.virt-manager.enable = true; }