From 8d93c529dc747aee361b868521a7d76a7414b556 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 20 Jun 2022 08:53:37 +0200 Subject: [PATCH] feat: enable home-manager on nixos-vm --- flake.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/flake.nix b/flake.nix index c2c1103..1aaa4c6 100644 --- a/flake.nix +++ b/flake.nix @@ -22,6 +22,15 @@ ./users.nix ./machines/nixos-vm/configuration.nix ./machines/nixos-vm/hardware-configuration.nix + + home-manager.nixosModules.home-manager { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.extraSpecialArgs = { inherit user; }; + home-manager.users.${user} = { + imports = [ ./home-${user}.nix ]; + }; + } ]; };