diff --git a/flake.nix b/flake.nix index d112aa7..19bf43f 100644 --- a/flake.nix +++ b/flake.nix @@ -46,7 +46,13 @@ useGlobalPkgs = true; useUserPackages = true; extraSpecialArgs = { inherit user; }; - users.${user} = import ./users/${user}.nix; + users.${user} = { + imports = [ + (import ./users/${user}.nix) + # Add nixvim to the homemanager + inputs.nixvim.homeManagerModules.nixvim + ]; + }; }; } ]; @@ -69,7 +75,13 @@ useGlobalPkgs = true; useUserPackages = true; extraSpecialArgs = { inherit user; }; - users.${user} = import ./users/${user}.nix; + users.${user} = { + imports = [ + (import ./users/${user}.nix) + # Add nixvim to the homemanager + inputs.nixvim.homeManagerModules.nixvim + ]; + }; }; } ];