change nvf flake.nix

Signed-off-by: Hadi <hadi@example.com>
This commit is contained in:
Hadi
2026-04-28 14:34:00 +02:00
parent f6d056deb3
commit 3478a9a0a5
3 changed files with 6 additions and 16 deletions
+1 -7
View File
@@ -23,16 +23,10 @@ Then import the home-manager module in your home configuration:
```nix
{ inputs, ... }: {
imports = [
inputs.nixy.inputs.nvf.homeManagerModules.default
inputs.nixy.homeManagerModules.nvim
];
imports = [ inputs.nixy.homeManagerModules.nvim ];
}
```
> [!NOTE]
> The `nvf` home-manager module is required. It is re-exported via `inputs.nixy.inputs.nvf` so you don't need to declare it separately in your own flake.
## What's included
| File | Description |
+1 -7
View File
@@ -1,10 +1,4 @@
{
inputs,
pkgs,
...
}: {
imports = [inputs.nvf.homeManagerModules.default];
{pkgs, ...}: {
# Packages needed by snacks image preview
home.packages = with pkgs; [
imagemagick
+4 -2
View File
@@ -29,7 +29,9 @@ in {
};
homeManagerModules.nvim = {
_module.args.inputs = inputs;
imports = [./default.nix];
imports = [
inputs.nvf.homeManagerModules.default
./default.nix
];
};
}